#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 63 of file ClusterSummary.h.
Enumerator | |
---|---|
STRIP | |
TIB | |
TOB | |
TID | |
TEC | |
PIXEL | |
FPIX | |
BPIX | |
NVALIDENUMS | |
NTRACKERENUMS |
Definition at line 79 of file ClusterSummary.h.
Enumerator | |
---|---|
NCLUSTERS | |
CLUSTERSIZE | |
CLUSTERCHARGE | |
NVARIABLES |
Definition at line 84 of file ClusterSummary.h.
ClusterSummary::ClusterSummary | ( | ) |
Definition at line 13 of file ClusterSummary.cc.
Referenced by ~ClusterSummary().
ClusterSummary::ClusterSummary | ( | const int | nSelections | ) |
Definition at line 15 of file ClusterSummary.cc.
References mps_fire::i.
|
inline |
Definition at line 69 of file ClusterSummary.h.
References ClusterSummary(), operator=(), trackingPlots::other, and TrackRefitter_38T_cff::src.
ClusterSummary::ClusterSummary | ( | const ClusterSummary & | src | ) |
Definition at line 35 of file ClusterSummary.cc.
ClusterSummary::ClusterSummary | ( | ClusterSummary && | other | ) |
|
inline |
Definition at line 116 of file ClusterSummary.h.
References clusCharge, getModuleLocation(), and heppy_batch::val.
|
inline |
Definition at line 112 of file ClusterSummary.h.
References clusCharge, and heppy_batch::val.
Referenced by ClusterSummaryProducer::produce().
|
inline |
Definition at line 115 of file ClusterSummary.h.
References clusSize, getModuleLocation(), and heppy_batch::val.
|
inline |
Definition at line 111 of file ClusterSummary.h.
References clusSize, and heppy_batch::val.
Referenced by ClusterSummaryProducer::produce().
|
inline |
Definition at line 114 of file ClusterSummary.h.
References getModuleLocation(), nClus, and heppy_batch::val.
|
inline |
Definition at line 110 of file ClusterSummary.h.
References nClus, and heppy_batch::val.
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(), and nClus.
Referenced by getModule().
|
inline |
Definition at line 104 of file ClusterSummary.h.
References clusCharge, and getModuleLocation().
Referenced by ClusterSummarySingleMultiplicity::getEvent(), and FromClusterSummaryMultiplicityProducer::produce().
|
inline |
Definition at line 100 of file ClusterSummary.h.
References clusCharge.
Referenced by ClusterSummaryProducer::produce().
|
inline |
Definition at line 108 of file ClusterSummary.h.
References clusCharge.
Referenced by copyNonEmpty().
|
inline |
Definition at line 103 of file ClusterSummary.h.
References clusSize, and getModuleLocation().
Referenced by ClusterSummarySingleMultiplicity::getEvent(), and FromClusterSummaryMultiplicityProducer::produce().
|
inline |
Definition at line 99 of file ClusterSummary.h.
References clusSize.
Referenced by ClusterSummaryProducer::produce().
|
inline |
|
inline |
Definition at line 122 of file ClusterSummary.h.
References copyNonEmpty(), and reset().
int ClusterSummary::getModuleLocation | ( | int | mod, |
bool | warn = true |
||
) | const |
Definition at line 42 of file ClusterSummary.cc.
References funct::m.
Referenced by addClusCharge(), addClusSize(), addNClus(), getClusCharge(), getClusSize(), getModules(), getNClus(), and FromClusterSummaryMultiplicityProducer::produce().
|
inline |
Definition at line 118 of file ClusterSummary.h.
References getModuleLocation(), mod(), modules, and matplotRender::warn.
Referenced by copyNonEmpty().
|
inline |
Definition at line 102 of file ClusterSummary.h.
References getModuleLocation(), and nClus.
Referenced by ClusterSummarySingleMultiplicity::getEvent(), and FromClusterSummaryMultiplicityProducer::produce().
|
inline |
Definition at line 98 of file ClusterSummary.h.
References nClus.
Referenced by ClusterSummaryProducer::produce().
|
inline |
|
inline |
Definition at line 121 of file ClusterSummary.h.
ClusterSummary & ClusterSummary::operator= | ( | const ClusterSummary & | rhs | ) |
Definition at line 20 of file ClusterSummary.cc.
References clusCharge, clusSize, modules, and nClus.
Referenced by ~ClusterSummary().
void ClusterSummary::reset | ( | void | ) |
Definition at line 78 of file ClusterSummary.cc.
References clusCharge, clusSize, and nClus.
Referenced by getModule(), and ClusterSummaryProducer::produce().
|
private |
Definition at line 133 of file ClusterSummary.h.
Referenced by addClusCharge(), addClusChargeByIndex(), copyNonEmpty(), getClusCharge(), getClusChargeByIndex(), getClusChargeVector(), operator=(), and reset().
|
private |
Definition at line 132 of file ClusterSummary.h.
Referenced by addClusSize(), addClusSizeByIndex(), copyNonEmpty(), getClusSize(), getClusSizeByIndex(), getClusSizeVector(), operator=(), and reset().
|
private |
Definition at line 130 of file ClusterSummary.h.
Referenced by getModules(), and operator=().
|
private |
Definition at line 131 of file ClusterSummary.h.
Referenced by addNClus(), addNClusByIndex(), copyNonEmpty(), getNClus(), getNClusByIndex(), getNClusVector(), operator=(), and reset().
|
static |
Definition at line 80 of file ClusterSummary.h.
Referenced by ClusterSummaryProducer::ClusterSummaryProducer().
|
static |
Definition at line 81 of file ClusterSummary.h.
Referenced by ClusterSummaryProducer::ClusterSummaryProducer().
|
static |
Definition at line 85 of file ClusterSummary.h.