19 #ifndef CLUSTERSUMMARY 20 #define CLUSTERSUMMARY 23 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__) 71 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__) 111 return pos < 0 ? 0. :
nClus[pos];
115 return pos < 0 ? 0. :
clusSize[pos];
int getModule(const int index) const
void addClusChargeByIndex(const int mod, const float val)
float getClusCharge(const CMSTracker mod) const
void addClusSizeByIndex(const int mod, const int val)
const std::vector< int > & getClusSizeVector() const
static const std::vector< std::string > subDetNames
void addClusSize(const CMSTracker mod, const int val)
static const std::vector< std::string > variableNames
void copyNonEmpty(const ClusterSummary &src)
const std::vector< float > & getClusChargeVector() const
std::vector< float > clusCharge
int getClusSizeByIndex(const int mod) const
unsigned int getNumberOfModules() const
int getNClusByIndex(const int mod) const
int getModuleLocation(int mod, bool warn=true) const
int getClusSize(const CMSTracker mod) const
std::vector< int > modules
int getNClus(const CMSTracker mod) const
float getClusChargeByIndex(const int mod) const
static const std::vector< std::vector< std::string > > subDetSelections
const std::vector< int > & getNClusVector() const
ClusterSummary & operator=(const ClusterSummary &rhs)
void addClusCharge(const CMSTracker mod, const float val)
const std::vector< int > & getModules() const
T mod(const T &a, const T &b)
std::vector< int > clusSize
void addNClusByIndex(const int mod, const int val)
void addNClus(const CMSTracker mod, const int val)