6 using namespace EVENT ;
11 ClusterImpl::ClusterImpl() :
18 for( ParticleIDVec::iterator iter =
_pid.
begin() ; iter !=
_pid.
end() ; iter++){
69 for(
int i=0;i<3;i++) {
_position[i] = position[i] ; }
void setEnergyError(float energyError)
EVENT::FloatVec _subdetectorEnergies
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.
Helper class to sort ParticleIDs wrt.
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
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 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)
virtual const EVENT::FloatVec & getShape() const
Shape parameters - check/set collection parameter ClusterShapeParameters for size and names of parame...
void setPosition(const float *position)