#include <msegala/ClusterSummary/src/ClusterSummary.cc>
Public Types | |
enum | CMSTracker { STRIP = 0, TIB = 1, TOB = 2, TID = 3, TEC = 4, PIXEL = 5, FPIX = 6, BPIX = 7, NVALIDENUMS = 8, NTRACKERENUMS = 100 } |
enum | VariablePlacement { NCLUSTERS, CLUSTERSIZE, CLUSTERCHARGE, NVARIABLES } |
Public Member Functions | |
void | addClusCharge (const CMSTracker mod, const float val) |
void | addClusChargeByIndex (const int mod, const float val) |
void | addClusSize (const CMSTracker mod, const int val) |
void | addClusSizeByIndex (const int mod, const int val) |
void | addNClus (const CMSTracker mod, const int val) |
void | addNClusByIndex (const int mod, const int val) |
ClusterSummary () | |
ClusterSummary (const int nSelections) | |
ClusterSummary (const ClusterSummary &src) | |
ClusterSummary (ClusterSummary &&other) | |
void | copyNonEmpty (const ClusterSummary &src) |
float | getClusCharge (const CMSTracker mod) const |
float | getClusChargeByIndex (const int mod) const |
const std::vector< float > & | getClusChargeVector () const |
int | getClusSize (const CMSTracker mod) const |
int | getClusSizeByIndex (const int mod) const |
const std::vector< int > & | getClusSizeVector () const |
int | getModule (const int index) const |
int | getModuleLocation (int mod, bool warn=true) const |
const std::vector< int > & | getModules () const |
int | getNClus (const CMSTracker mod) const |
int | getNClusByIndex (const int mod) const |
const std::vector< int > & | getNClusVector () const |
unsigned int | getNumberOfModules () const |
ClusterSummary & | operator= (const ClusterSummary &rhs) |
void | reset () |
~ClusterSummary () | |
Static Public Attributes | |
static const std::vector < std::string > | subDetNames {"STRIP","TOB","TIB","TID","TEC","PIXEL","BPIX","FPIX"} |
static const std::vector < std::vector< std::string > > | subDetSelections |
static const std::vector < std::string > | variableNames {"NCLUSTERS","CLUSTERSIZE","CLUSTERCHARGE"} |
Private Attributes | |
std::vector< float > | clusCharge |
std::vector< int > | clusSize |
std::vector< int > | modules |
std::vector< int > | nClus |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 69 of file ClusterSummary.h.
Enumerator | |
---|---|
STRIP | |
TIB | |
TOB | |
TID | |
TEC | |
PIXEL | |
FPIX | |
BPIX | |
NVALIDENUMS | |
NTRACKERENUMS |
Definition at line 85 of file ClusterSummary.h.
Enumerator | |
---|---|
NCLUSTERS | |
CLUSTERSIZE | |
CLUSTERCHARGE | |
NVARIABLES |
Definition at line 90 of file ClusterSummary.h.
ClusterSummary::ClusterSummary | ( | ) |
Definition at line 13 of file ClusterSummary.cc.
ClusterSummary::ClusterSummary | ( | const int | nSelections | ) |
Definition at line 15 of file ClusterSummary.cc.
|
inline |
Definition at line 75 of file ClusterSummary.h.
ClusterSummary::ClusterSummary | ( | const ClusterSummary & | src | ) |
Definition at line 35 of file ClusterSummary.cc.
ClusterSummary::ClusterSummary | ( | ClusterSummary && | other | ) |
Definition at line 30 of file ClusterSummary.cc.
|
inline |
Definition at line 122 of file ClusterSummary.h.
References clusCharge, and getModuleLocation().
|
inline |
Definition at line 118 of file ClusterSummary.h.
References clusCharge.
Referenced by ClusterSummaryProducer::produce().
|
inline |
Definition at line 121 of file ClusterSummary.h.
References clusSize, and getModuleLocation().
|
inline |
Definition at line 117 of file ClusterSummary.h.
References clusSize.
Referenced by ClusterSummaryProducer::produce().
|
inline |
Definition at line 120 of file ClusterSummary.h.
References getModuleLocation(), and nClus.
|
inline |
Definition at line 116 of file ClusterSummary.h.
References nClus.
Referenced by ClusterSummaryProducer::produce().
void ClusterSummary::copyNonEmpty | ( | const ClusterSummary & | src | ) |
Definition at line 52 of file ClusterSummary.cc.
References clusCharge, clusSize, getClusChargeVector(), getClusSizeVector(), getModules(), getNClusVector(), modules, and nClus.
|
inline |
Definition at line 110 of file ClusterSummary.h.
References clusCharge, and getModuleLocation().
|
inline |
Definition at line 106 of file ClusterSummary.h.
References clusCharge.
Referenced by ClusterSummaryProducer::produce().
|
inline |
Definition at line 114 of file ClusterSummary.h.
References clusCharge.
Referenced by copyNonEmpty().
|
inline |
Definition at line 109 of file ClusterSummary.h.
References clusSize, and getModuleLocation().
|
inline |
Definition at line 105 of file ClusterSummary.h.
References clusSize.
Referenced by ClusterSummaryProducer::produce().
|
inline |
|
inline |
int ClusterSummary::getModuleLocation | ( | int | mod, |
bool | warn = true |
||
) | const |
Definition at line 42 of file ClusterSummary.cc.
References visualization-live-secondInstance_cfg::m, and modules.
Referenced by addClusCharge(), addClusSize(), addNClus(), getClusCharge(), getClusSize(), and getNClus().
|
inline |
|
inline |
Definition at line 108 of file ClusterSummary.h.
References getModuleLocation(), and nClus.
|
inline |
Definition at line 104 of file ClusterSummary.h.
References nClus.
Referenced by ClusterSummaryProducer::produce().
|
inline |
|
inline |
ClusterSummary & ClusterSummary::operator= | ( | const ClusterSummary & | rhs | ) |
Definition at line 20 of file ClusterSummary.cc.
References clusCharge, clusSize, modules, and nClus.
void ClusterSummary::reset | ( | void | ) |
Definition at line 78 of file ClusterSummary.cc.
References clusCharge, clusSize, modules, and nClus.
Referenced by ClusterSummaryProducer::produce().
|
private |
Definition at line 139 of file ClusterSummary.h.
Referenced by addClusCharge(), addClusChargeByIndex(), copyNonEmpty(), getClusCharge(), getClusChargeByIndex(), getClusChargeVector(), operator=(), and reset().
|
private |
Definition at line 138 of file ClusterSummary.h.
Referenced by addClusSize(), addClusSizeByIndex(), copyNonEmpty(), getClusSize(), getClusSizeByIndex(), getClusSizeVector(), operator=(), and reset().
|
private |
Definition at line 136 of file ClusterSummary.h.
Referenced by ClusterSummary(), copyNonEmpty(), getModule(), getModuleLocation(), getModules(), getNumberOfModules(), operator=(), and reset().
|
private |
Definition at line 137 of file ClusterSummary.h.
Referenced by addNClus(), addNClusByIndex(), copyNonEmpty(), getNClus(), getNClusByIndex(), getNClusVector(), operator=(), and reset().
|
static |
Definition at line 86 of file ClusterSummary.h.
Referenced by ClusterSummaryProducer::ClusterSummaryProducer().
|
static |
Definition at line 87 of file ClusterSummary.h.
Referenced by ClusterSummaryProducer::ClusterSummaryProducer().
|
static |
Definition at line 91 of file ClusterSummary.h.