#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 (ClusterSummary &&other) | |
ClusterSummary (const ClusterSummary &src) | |
ClusterSummary (const int nSelections) | |
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 |
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 59 of file ClusterSummary.h.
Enumerator | |
---|---|
STRIP | |
TIB | |
TOB | |
TID | |
TEC | |
PIXEL | |
FPIX | |
BPIX | |
NVALIDENUMS | |
NTRACKERENUMS |
Definition at line 83 of file ClusterSummary.h.
Enumerator | |
---|---|
NCLUSTERS | |
CLUSTERSIZE | |
CLUSTERCHARGE | |
NVARIABLES |
Definition at line 99 of file ClusterSummary.h.
ClusterSummary::ClusterSummary | ( | ) |
Definition at line 17 of file ClusterSummary.cc.
ClusterSummary::ClusterSummary | ( | const int | nSelections | ) |
|
inline |
ClusterSummary::ClusterSummary | ( | const ClusterSummary & | src | ) |
Definition at line 36 of file ClusterSummary.cc.
ClusterSummary::ClusterSummary | ( | ClusterSummary && | other | ) |
|
inline |
Definition at line 139 of file ClusterSummary.h.
|
inline |
|
inline |
Definition at line 138 of file ClusterSummary.h.
|
inline |
Definition at line 134 of file ClusterSummary.h.
References modules.
Referenced by ClusterSummaryProducer::produce().
|
inline |
Definition at line 137 of file ClusterSummary.h.
|
inline |
Definition at line 133 of file ClusterSummary.h.
Referenced by ClusterSummaryProducer::produce().
void ClusterSummary::copyNonEmpty | ( | const ClusterSummary & | src | ) |
Definition at line 57 of file ClusterSummary.cc.
References clusCharge, clusSize, nClus, and TrackRefitter_38T_cff::src.
|
inline |
Definition at line 124 of file ClusterSummary.h.
References clusCharge.
Referenced by ClusterSummarySingleMultiplicity::getEvent(), and FromClusterSummaryMultiplicityProducer::produce().
|
inline |
Definition at line 114 of file ClusterSummary.h.
Referenced by ClusterSummaryProducer::produce().
|
inline |
Definition at line 131 of file ClusterSummary.h.
References clusSize, getModuleLocation(), mod(), and heppy_batch::val.
|
inline |
Definition at line 120 of file ClusterSummary.h.
Referenced by ClusterSummarySingleMultiplicity::getEvent(), and FromClusterSummaryMultiplicityProducer::produce().
|
inline |
Definition at line 113 of file ClusterSummary.h.
Referenced by ClusterSummaryProducer::produce().
|
inline |
Definition at line 130 of file ClusterSummary.h.
References getModuleLocation(), mod(), nClus, and heppy_batch::val.
|
inline |
Definition at line 145 of file ClusterSummary.h.
int ClusterSummary::getModuleLocation | ( | int | mod, |
bool | warn = true |
||
) | const |
Definition at line 42 of file ClusterSummary.cc.
References visualization-live-secondInstance_cfg::m, mod(), and python::warn().
Referenced by getClusChargeVector(), getClusSizeVector(), and FromClusterSummaryMultiplicityProducer::produce().
|
inline |
Definition at line 141 of file ClusterSummary.h.
|
inline |
Definition at line 116 of file ClusterSummary.h.
Referenced by ClusterSummarySingleMultiplicity::getEvent(), and FromClusterSummaryMultiplicityProducer::produce().
|
inline |
Definition at line 112 of file ClusterSummary.h.
Referenced by ClusterSummaryProducer::produce().
|
inline |
Definition at line 129 of file ClusterSummary.h.
|
inline |
Definition at line 144 of file ClusterSummary.h.
ClusterSummary & ClusterSummary::operator= | ( | const ClusterSummary & | rhs | ) |
Definition at line 25 of file ClusterSummary.cc.
References clusCharge, clusSize, modules, and nClus.
void ClusterSummary::reset | ( | void | ) |
Definition at line 83 of file ClusterSummary.cc.
References clusCharge, clusSize, and nClus.
Referenced by ClusterSummaryProducer::produce().
|
private |
Definition at line 156 of file ClusterSummary.h.
Referenced by copyNonEmpty(), getClusCharge(), operator=(), and reset().
|
private |
Definition at line 155 of file ClusterSummary.h.
Referenced by copyNonEmpty(), getClusChargeVector(), operator=(), and reset().
|
private |
Definition at line 153 of file ClusterSummary.h.
Referenced by addClusSizeByIndex(), SequenceVisitors.NodeVisitor::enter(), and operator=().
|
private |
Definition at line 154 of file ClusterSummary.h.
Referenced by copyNonEmpty(), getClusSizeVector(), operator=(), and reset().
|
static |
Definition at line 95 of file ClusterSummary.h.
Referenced by ClusterSummaryProducer::ClusterSummaryProducer().
|
static |
Definition at line 96 of file ClusterSummary.h.
Referenced by ClusterSummaryProducer::ClusterSummaryProducer().
|
static |
Definition at line 100 of file ClusterSummary.h.