#include <SiPixelQualityProbabilities.h>
Public Types | |
typedef std::map< unsigned int, probabilityVec > | probabilityMap |
typedef std::vector< std::pair< std::string, float > > | probabilityVec |
Public Member Functions | |
std::vector< unsigned int > | getPileUpBins () const |
probabilityVec | getProbabilities (const unsigned int puBin) const |
const probabilityVec & | getProbabilities (const unsigned int puBin) |
const probabilityMap & | getProbability_Map () const |
double | nelements (const int puBin) const |
void | print (std::ostream &os) const |
void | printAll () const |
void | setProbabilities (const unsigned int puBin, const probabilityVec &theProbabilities) |
SiPixelQualityProbabilities () | |
SiPixelQualityProbabilities (const SiPixelQualityProbabilities &rhs) | |
double | size () const |
virtual | ~SiPixelQualityProbabilities () |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
probabilityMap | m_probabilities |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 10 of file SiPixelQualityProbabilities.h.
typedef std::map<unsigned int, probabilityVec> SiPixelQualityProbabilities::probabilityMap |
Definition at line 13 of file SiPixelQualityProbabilities.h.
typedef std::vector<std::pair<std::string, float> > SiPixelQualityProbabilities::probabilityVec |
Definition at line 12 of file SiPixelQualityProbabilities.h.
|
inline |
Definition at line 15 of file SiPixelQualityProbabilities.h.
|
inline |
Definition at line 16 of file SiPixelQualityProbabilities.h.
References getProbability_Map(), and m_probabilities.
|
inlinevirtual |
std::vector< unsigned int > SiPixelQualityProbabilities::getPileUpBins | ( | ) | const |
Definition at line 66 of file SiPixelQualityProbabilities.cc.
References trigObjTnPSource_cfi::bins, and m_probabilities.
Referenced by nelements().
SiPixelQualityProbabilities::probabilityVec SiPixelQualityProbabilities::getProbabilities | ( | const unsigned int | puBin | ) | const |
Definition at line 18 of file SiPixelQualityProbabilities.cc.
References Exception, and m_probabilities.
Referenced by SiPixelDigitizerAlgorithm::chooseScenario(), and getProbability_Map().
const SiPixelQualityProbabilities::probabilityVec & SiPixelQualityProbabilities::getProbabilities | ( | const unsigned int | puBin | ) |
Definition at line 30 of file SiPixelQualityProbabilities.cc.
References Exception, and m_probabilities.
|
inline |
Definition at line 21 of file SiPixelQualityProbabilities.h.
References getProbabilities(), and m_probabilities.
Referenced by SiPixelQualityProbabilities().
|
inline |
Definition at line 27 of file SiPixelQualityProbabilities.h.
References getPileUpBins(), m_probabilities, print(), and printAll().
void SiPixelQualityProbabilities::print | ( | std::ostream & | os | ) | const |
Definition at line 56 of file SiPixelQualityProbabilities.cc.
References mps_splice::entry, and m_probabilities.
Referenced by nelements(), and operator<<().
void SiPixelQualityProbabilities::printAll | ( | ) | const |
Definition at line 42 of file SiPixelQualityProbabilities.cc.
References mps_splice::entry, and m_probabilities.
Referenced by nelements().
|
private |
void SiPixelQualityProbabilities::setProbabilities | ( | const unsigned int | puBin, |
const probabilityVec & | theProbabilities | ||
) |
Definition at line 8 of file SiPixelQualityProbabilities.cc.
References m_probabilities.
Referenced by ~SiPixelQualityProbabilities().
|
inline |
Definition at line 26 of file SiPixelQualityProbabilities.h.
References m_probabilities.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
friend |
Definition at line 38 of file SiPixelQualityProbabilities.h.
|
friend |
Definition at line 38 of file SiPixelQualityProbabilities.h.
|
private |
Definition at line 36 of file SiPixelQualityProbabilities.h.
Referenced by getPileUpBins(), getProbabilities(), getProbability_Map(), nelements(), print(), printAll(), setProbabilities(), SiPixelQualityProbabilities(), and size().