1 #ifndef IMPL_CLUSTERIMPL_H
2 #define IMPL_CLUSTERIMPL_H 1
void setEnergyError(float energyError)
EVENT::FloatVec _subdetectorEnergies
virtual int id() const
Returns an object id for internal (debugging) use in LCIO.
EVENT::FloatVec & subdetectorEnergies()
To be used for modifying the subdetector energies, e.g.
virtual ~ClusterImpl()
Destructor.
virtual const EVENT::FloatVec & getSubdetectorEnergies() const
A vector that holds the energy observed in a particular subdetectors.
void setPositionError(const EVENT::FloatVec &errpos)
void setDirectionError(const EVENT::FloatVec &errdir)
EVENT::ParticleIDVec _pid
virtual float getEnergyError() const
Returns the error on the energy of the cluster.
virtual float getIPhi() const
Intrinsic direction of cluster at position: Phi.
void addCluster(EVENT::Cluster *cluster)
virtual int getType() const
Flagword that defines the type of cluster.
virtual const EVENT::ParticleIDVec & getParticleIDs() const
Type hypotheses: 3 Parameters: compatible with EM, HAD, muon cluster.
virtual const EVENT::FloatVec & getDirectionError() const
Covariance matrix of the direction (3 Parameters)
void setEnergy(float energy)
void setTypeBit(int index, bool val=true)
virtual const EVENT::FloatVec & getPositionError() const
Covariance matrix of the position (6 Parameters)
void addParticleID(EVENT::ParticleID *pid)
void addHit(EVENT::CalorimeterHit *hit, float contribution)
EVENT::CalorimeterHitVec _hits
ClusterImpl()
Default constructor, initializes values to 0.
virtual float getITheta() const
Intrinsic direction of cluster at position: Theta.
virtual const EVENT::FloatVec & getHitContributions() const
Returns the energy contribution of the hits Runs parallel to the CalorimeterHitVec from getCalorimete...
virtual const float * getPosition() const
Position of the cluster.
virtual const EVENT::ClusterVec & getClusters() const
The clusters that have been combined to this cluster.
Persistent interface for LCIO ParticleIDs.
virtual int simpleUID() const
Controls access to objects.
virtual float getEnergy() const
Energy of the cluster.
The generic calorimeter hit - created from SimCalorimeterHit or RawCalorimeterHit.
void setShape(const EVENT::FloatVec &shape)
virtual const EVENT::CalorimeterHitVec & getCalorimeterHits() const
The hits that have been combined to this cluster.
EVENT::ClusterVec _clusters
void setITheta(float theta)
Implementation of Cluster.
virtual const EVENT::FloatVec & getShape() const
Shape parameters - check/set collection parameter ClusterShapeParameters for size and names of parame...
void setPosition(const float *position)