CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes | Friends
SiPixelPerformanceSummary Class Reference

#include <SiPixelPerformanceSummary.h>

Classes

struct  DetSummary
 
class  MatchDetSummaryDetId
 
class  StrictWeakOrdering
 

Public Member Functions

void clear ()
 
std::vector< uint32_t > getAllDetIds () const
 
std::vector< DetSummarygetAllDetSummaries () const
 
std::vector< float > getDetSummary (uint32_t detId) const
 
unsigned int getLuminosityBlock () const
 
unsigned int getNumberOfEvents () const
 
unsigned int getRunNumber () const
 
unsigned long long getTimeStamp () const
 
void print () const
 
void print (const uint32_t detId) const
 
void printAll () const
 
bool setADC (uint32_t detId, float mean, float rms, float emPtn)
 
bool setClusterCharge (uint32_t detId, float mean, float rms, float emPtn)
 
bool setClusterChargeOffTrack (uint32_t detId, float mean, float rms)
 
bool setClusterChargeOnTrack (uint32_t detId, float mean, float rms)
 
bool setClusterSize (uint32_t detId, float mean, float rms, float emPtn)
 
bool setClusterSizeOffTrack (uint32_t detId, float mean, float rms)
 
bool setClusterSizeOnTrack (uint32_t detId, float mean, float rms)
 
bool setClusterSizeX (uint32_t detId, float mean, float rms, float emPtn)
 
bool setClusterSizeY (uint32_t detId, float mean, float rms, float emPtn)
 
bool setFractionOfTracks (uint32_t detId, float mean, float rms)
 
void setLuminosityBlock (unsigned int lumBlock)
 
bool setNumberOfClusters (uint32_t detId, float mean, float rms, float emPtn)
 
bool setNumberOfDeadCells (uint32_t detId, float nNpixCells)
 
bool setNumberOfDigis (uint32_t detId, float mean, float rms, float emPtn)
 
void setNumberOfEvents (unsigned int numberOfEvents)
 
bool setNumberOfNoisCells (uint32_t detId, float nNpixCells)
 
bool setNumberOfOffTrackClusters (uint32_t detId, float nClusters)
 
bool setNumberOfOnTrackClusters (uint32_t detId, float nClusters)
 
bool setNumberOfPixelHitsInTrackFit (uint32_t detId, float nPixelHits)
 
bool setNumberOfRecHits (uint32_t detId, float mean, float rms, float emPtn)
 
bool setRawDataErrorType (uint32_t detId, int bin, float nErrors)
 
bool setResidualX (uint32_t detId, float mean, float rms, float emPtn)
 
bool setResidualY (uint32_t detId, float mean, float rms, float emPtn)
 
void setRunNumber (unsigned int runNumber)
 
void setTimeStamp (unsigned long long timeStamp)
 
 SiPixelPerformanceSummary (const SiPixelPerformanceSummary &)
 
 SiPixelPerformanceSummary ()
 
unsigned int size ()
 
 ~SiPixelPerformanceSummary ()
 

Private Member Functions

float getValue (uint32_t detId, int index)
 
std::pair< bool, std::vector
< DetSummary >::iterator > 
initDet (const uint32_t detId)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
std::pair< bool, std::vector
< DetSummary >::iterator > 
setDet (const uint32_t detId, const std::vector< float > &performanceValues)
 
bool setValue (uint32_t detId, int index, float performanceValue)
 

Private Attributes

std::vector< DetSummaryallDetSummaries_
 
unsigned int luminosityBlock_
 
unsigned int numberOfEvents_
 
unsigned int runNumber_
 
unsigned long long timeStamp_
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 17 of file SiPixelPerformanceSummary.h.

Constructor & Destructor Documentation

SiPixelPerformanceSummary::SiPixelPerformanceSummary ( const SiPixelPerformanceSummary performanceSummary)

Definition at line 15 of file SiPixelPerformanceSummary.cc.

SiPixelPerformanceSummary::SiPixelPerformanceSummary ( )

Definition at line 11 of file SiPixelPerformanceSummary.cc.

SiPixelPerformanceSummary::~SiPixelPerformanceSummary ( )

Definition at line 24 of file SiPixelPerformanceSummary.cc.

Member Function Documentation

void SiPixelPerformanceSummary::clear ( void  )
vector< uint32_t > SiPixelPerformanceSummary::getAllDetIds ( ) const

Definition at line 181 of file SiPixelPerformanceSummary.cc.

std::vector<DetSummary> SiPixelPerformanceSummary::getAllDetSummaries ( ) const
inline

Definition at line 67 of file SiPixelPerformanceSummary.h.

References allDetSummaries_.

67 { return allDetSummaries_; }
std::vector< DetSummary > allDetSummaries_
vector< float > SiPixelPerformanceSummary::getDetSummary ( uint32_t  detId) const

Definition at line 189 of file SiPixelPerformanceSummary.cc.

unsigned int SiPixelPerformanceSummary::getLuminosityBlock ( ) const
inline

Definition at line 60 of file SiPixelPerformanceSummary.h.

References luminosityBlock_.

60 { return luminosityBlock_; };
unsigned int SiPixelPerformanceSummary::getNumberOfEvents ( ) const
inline

Definition at line 57 of file SiPixelPerformanceSummary.h.

References numberOfEvents_.

57 { return numberOfEvents_; }
unsigned int SiPixelPerformanceSummary::getRunNumber ( ) const
inline

Definition at line 54 of file SiPixelPerformanceSummary.h.

References runNumber_.

54 { return runNumber_; }
unsigned long long SiPixelPerformanceSummary::getTimeStamp ( ) const
inline

Definition at line 51 of file SiPixelPerformanceSummary.h.

References timeStamp_.

51 { return timeStamp_; }
float SiPixelPerformanceSummary::getValue ( uint32_t  detId,
int  index 
)
private

Definition at line 81 of file SiPixelPerformanceSummary.cc.

pair< bool, vector< SiPixelPerformanceSummary::DetSummary >::iterator > SiPixelPerformanceSummary::initDet ( const uint32_t  detId)
private

Definition at line 33 of file SiPixelPerformanceSummary.cc.

void SiPixelPerformanceSummary::print ( void  ) const

Definition at line 210 of file SiPixelPerformanceSummary.cc.

void SiPixelPerformanceSummary::print ( const uint32_t  detId) const

Definition at line 202 of file SiPixelPerformanceSummary.cc.

void SiPixelPerformanceSummary::printAll ( ) const

Definition at line 219 of file SiPixelPerformanceSummary.cc.

template<class Archive >
void SiPixelPerformanceSummary::serialize ( Archive &  ar,
const unsigned int  version 
)
private
bool SiPixelPerformanceSummary::setADC ( uint32_t  detId,
float  mean,
float  rms,
float  emPtn 
)

Definition at line 101 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setClusterCharge ( uint32_t  detId,
float  mean,
float  rms,
float  emPtn 
)

Definition at line 110 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setClusterChargeOffTrack ( uint32_t  detId,
float  mean,
float  rms 
)

Definition at line 169 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setClusterChargeOnTrack ( uint32_t  detId,
float  mean,
float  rms 
)

Definition at line 165 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setClusterSize ( uint32_t  detId,
float  mean,
float  rms,
float  emPtn 
)

Definition at line 114 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setClusterSizeOffTrack ( uint32_t  detId,
float  mean,
float  rms 
)

Definition at line 177 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setClusterSizeOnTrack ( uint32_t  detId,
float  mean,
float  rms 
)

Definition at line 173 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setClusterSizeX ( uint32_t  detId,
float  mean,
float  rms,
float  emPtn 
)

Definition at line 118 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setClusterSizeY ( uint32_t  detId,
float  mean,
float  rms,
float  emPtn 
)

Definition at line 122 of file SiPixelPerformanceSummary.cc.

pair< bool, vector< SiPixelPerformanceSummary::DetSummary >::iterator > SiPixelPerformanceSummary::setDet ( const uint32_t  detId,
const std::vector< float > &  performanceValues 
)
private

Definition at line 41 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setFractionOfTracks ( uint32_t  detId,
float  mean,
float  rms 
)

Definition at line 153 of file SiPixelPerformanceSummary.cc.

void SiPixelPerformanceSummary::setLuminosityBlock ( unsigned int  lumBlock)
inline

Definition at line 59 of file SiPixelPerformanceSummary.h.

References luminosityBlock_.

59 { luminosityBlock_ = lumBlock; }
bool SiPixelPerformanceSummary::setNumberOfClusters ( uint32_t  detId,
float  mean,
float  rms,
float  emPtn 
)

Definition at line 106 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setNumberOfDeadCells ( uint32_t  detId,
float  nNpixCells 
)

Definition at line 145 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setNumberOfDigis ( uint32_t  detId,
float  mean,
float  rms,
float  emPtn 
)

Definition at line 97 of file SiPixelPerformanceSummary.cc.

void SiPixelPerformanceSummary::setNumberOfEvents ( unsigned int  numberOfEvents)
inline

Definition at line 56 of file SiPixelPerformanceSummary.h.

References numberOfEvents_.

56 { numberOfEvents_ = numberOfEvents; }
bool SiPixelPerformanceSummary::setNumberOfNoisCells ( uint32_t  detId,
float  nNpixCells 
)

Definition at line 141 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setNumberOfOffTrackClusters ( uint32_t  detId,
float  nClusters 
)

Definition at line 161 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setNumberOfOnTrackClusters ( uint32_t  detId,
float  nClusters 
)

Definition at line 157 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setNumberOfPixelHitsInTrackFit ( uint32_t  detId,
float  nPixelHits 
)

Definition at line 149 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setNumberOfRecHits ( uint32_t  detId,
float  mean,
float  rms,
float  emPtn 
)

Definition at line 127 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setRawDataErrorType ( uint32_t  detId,
int  bin,
float  nErrors 
)

Definition at line 92 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setResidualX ( uint32_t  detId,
float  mean,
float  rms,
float  emPtn 
)

Definition at line 132 of file SiPixelPerformanceSummary.cc.

bool SiPixelPerformanceSummary::setResidualY ( uint32_t  detId,
float  mean,
float  rms,
float  emPtn 
)

Definition at line 136 of file SiPixelPerformanceSummary.cc.

void SiPixelPerformanceSummary::setRunNumber ( unsigned int  runNumber)
inline
void SiPixelPerformanceSummary::setTimeStamp ( unsigned long long  timeStamp)
inline

Definition at line 50 of file SiPixelPerformanceSummary.h.

References timeStamp_.

50 { timeStamp_ = timeStamp; }
bool SiPixelPerformanceSummary::setValue ( uint32_t  detId,
int  index,
float  performanceValue 
)
private

Definition at line 63 of file SiPixelPerformanceSummary.cc.

unsigned int SiPixelPerformanceSummary::size ( void  )
inline

Definition at line 48 of file SiPixelPerformanceSummary.h.

References allDetSummaries_.

48 { return allDetSummaries_.size(); }
std::vector< DetSummary > allDetSummaries_

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 114 of file SiPixelPerformanceSummary.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 114 of file SiPixelPerformanceSummary.h.

Member Data Documentation

std::vector<DetSummary> SiPixelPerformanceSummary::allDetSummaries_
private

Definition at line 112 of file SiPixelPerformanceSummary.h.

Referenced by getAllDetSummaries(), and size().

unsigned int SiPixelPerformanceSummary::luminosityBlock_
private

Definition at line 109 of file SiPixelPerformanceSummary.h.

Referenced by getLuminosityBlock(), and setLuminosityBlock().

unsigned int SiPixelPerformanceSummary::numberOfEvents_
private

Definition at line 110 of file SiPixelPerformanceSummary.h.

Referenced by getNumberOfEvents(), and setNumberOfEvents().

unsigned int SiPixelPerformanceSummary::runNumber_
private

Definition at line 108 of file SiPixelPerformanceSummary.h.

Referenced by getRunNumber(), and setRunNumber().

unsigned long long SiPixelPerformanceSummary::timeStamp_
private

Definition at line 107 of file SiPixelPerformanceSummary.h.

Referenced by getTimeStamp(), and setTimeStamp().