4 #ifndef SimDataFormats_CaloAnalysis_MtdSimLayerCluster_h 5 #define SimDataFormats_CaloAnalysis_MtdSimLayerCluster_h 26 for (uint32_t
i = 0;
i <
times_.size();
i++) {
float simLCEnergy() const
returns the accumulated sim energy in the cluster
float computeClusterTime()
computes the time of the cluster
LocalPoint simLCPos() const
returns the local position of the cluster
void addCluIndex(const uint32_t index)
add the index of the simcluster
std::vector< float > times_
void addCluEnergy(float energy)
computes the energy of the cluster
float simLCTime() const
returns the time of the cluster
friend std::ostream & operator<<(std::ostream &s, MtdSimLayerCluster const &tp)
void addCluLocalPos(LocalPoint pos)
computes the position of the cluster
float energy() const
Energy. Note this is taken from the first SimTrack only.
std::vector< float > energies_