#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 |
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 60 of file ClusterSummary.h.
Enumerator | |
---|---|
STRIP | |
TIB | |
TOB | |
TID | |
TEC | |
PIXEL | |
FPIX | |
BPIX | |
NVALIDENUMS | |
NTRACKERENUMS |
Definition at line 76 of file ClusterSummary.h.
Enumerator | |
---|---|
NCLUSTERS | |
CLUSTERSIZE | |
CLUSTERCHARGE | |
NVARIABLES |
Definition at line 92 of file ClusterSummary.h.
ClusterSummary::ClusterSummary | ( | ) |
Definition at line 17 of file ClusterSummary.cc.
ClusterSummary::ClusterSummary | ( | const int | nSelections | ) |
|
inline |
Definition at line 66 of file ClusterSummary.h.
ClusterSummary::ClusterSummary | ( | const ClusterSummary & | src | ) |
Definition at line 36 of file ClusterSummary.cc.
ClusterSummary::ClusterSummary | ( | ClusterSummary && | other | ) |
|
inline |
Definition at line 132 of file ClusterSummary.h.
References clusCharge, getModuleLocation(), mod(), and heppy_batch::val.
|
inline |
Definition at line 128 of file ClusterSummary.h.
References clusCharge, mod(), and heppy_batch::val.
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 127 of file ClusterSummary.h.
References clusSize, mod(), and heppy_batch::val.
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 126 of file ClusterSummary.h.
References mod(), nClus, and heppy_batch::val.
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 117 of file ClusterSummary.h.
References clusCharge, getModuleLocation(), and mod().
Referenced by sistriptools::algorithm::ClusterSummarySingleMultiplicity::getEvent(), and FromClusterSummaryMultiplicityProducer::produce().
|
inline |
Definition at line 107 of file ClusterSummary.h.
References clusCharge, and mod().
Referenced by ClusterSummaryProducer::produce().
|
inline |
|
inline |
Definition at line 113 of file ClusterSummary.h.
References clusSize, getModuleLocation(), and mod().
Referenced by sistriptools::algorithm::ClusterSummarySingleMultiplicity::getEvent(), and FromClusterSummaryMultiplicityProducer::produce().
|
inline |
Definition at line 106 of file ClusterSummary.h.
References clusSize, and mod().
Referenced by ClusterSummaryProducer::produce().
|
inline |
|
inline |
Definition at line 138 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(), subDetNames, and python::warn().
Referenced by addClusCharge(), addClusSize(), addNClus(), getClusCharge(), getClusSize(), getNClus(), and FromClusterSummaryMultiplicityProducer::produce().
|
inline |
|
inline |
Definition at line 109 of file ClusterSummary.h.
References getModuleLocation(), mod(), and nClus.
Referenced by sistriptools::algorithm::ClusterSummarySingleMultiplicity::getEvent(), and FromClusterSummaryMultiplicityProducer::produce().
|
inline |
|
inline |
|
inline |
Definition at line 137 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 149 of file ClusterSummary.h.
Referenced by addClusCharge(), addClusChargeByIndex(), copyNonEmpty(), getClusCharge(), getClusChargeByIndex(), getClusChargeVector(), operator=(), and reset().
|
private |
Definition at line 148 of file ClusterSummary.h.
Referenced by addClusSize(), addClusSizeByIndex(), copyNonEmpty(), getClusSize(), getClusSizeByIndex(), getClusSizeVector(), operator=(), and reset().
|
private |
Definition at line 146 of file ClusterSummary.h.
Referenced by SequenceVisitors.NodeVisitor::enter(), getModules(), operator=(), and postprocessor.PostProcessor::run().
|
private |
Definition at line 147 of file ClusterSummary.h.
Referenced by addNClus(), addNClusByIndex(), copyNonEmpty(), getNClus(), getNClusByIndex(), getNClusVector(), operator=(), and reset().
|
static |
Definition at line 88 of file ClusterSummary.h.
Referenced by ClusterSummaryProducer::ClusterSummaryProducer(), and getModuleLocation().
|
static |
Definition at line 89 of file ClusterSummary.h.
Referenced by ClusterSummaryProducer::ClusterSummaryProducer().
|
static |
Definition at line 93 of file ClusterSummary.h.