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
SiPixelQuality Class Reference

#include <SiPixelQuality.h>

Classes

class  BadComponentStrictWeakOrdering
 
struct  disabledModuleType
 

Public Member Functions

void add (const SiStripDetVOff *)
 
void addDisabledModule (disabledModuleType module)
 
void addDisabledModule (std::vector< disabledModuleType > &idVector)
 
int BadModuleNumber ()
 
const std::vector
< disabledModuleType
getBadComponentList () const
 
const std::vector< LocalPointgetBadRocPositions (const uint32_t &detid, const TrackerGeometry &theTracker, const SiPixelFedCabling *map) const
 
short getBadRocs (const uint32_t &detid) const
 
bool IsAreaBad (uint32_t detid, sipixelobjects::GlobalPixel global, const edm::EventSetup &es, const SiPixelFedCabling *map) const
 
bool IsModuleBad (const uint32_t &detid) const
 
bool IsModuleUsable (const uint32_t &detid) const
 
bool IsRocBad (const uint32_t &detid, const short &rocNb) const
 
void setDisabledModuleList (std::vector< disabledModuleType > &disabledModules)
 
 SiPixelQuality ()
 
 SiPixelQuality (std::vector< disabledModuleType > &disabledModules)
 
virtual ~SiPixelQuality ()
 

Private Member Functions

bool IsFedBad (const uint32_t &detid) const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::vector< disabledModuleTypetheDisabledModules
 

Friends

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

Detailed Description

Definition at line 31 of file SiPixelQuality.h.

Constructor & Destructor Documentation

SiPixelQuality::SiPixelQuality ( )
inline

Definition at line 71 of file SiPixelQuality.h.

71 : theDisabledModules(0) {;}
std::vector< disabledModuleType > theDisabledModules
SiPixelQuality::SiPixelQuality ( std::vector< disabledModuleType > &  disabledModules)
inline

Definition at line 74 of file SiPixelQuality.h.

74 : theDisabledModules(disabledModules) {;}
std::vector< disabledModuleType > theDisabledModules
virtual SiPixelQuality::~SiPixelQuality ( )
inlinevirtual

Definition at line 76 of file SiPixelQuality.h.

76 {;}

Member Function Documentation

void SiPixelQuality::add ( const SiStripDetVOff Voff)

Definition at line 57 of file SiPixelQuality.cc.

Referenced by counter.Counter::register().

void SiPixelQuality::addDisabledModule ( disabledModuleType  module)
inline

Definition at line 83 of file SiPixelQuality.h.

References theDisabledModules.

Referenced by SiPixelFakeQualityESSource::produce().

84  { theDisabledModules.push_back(module); }
std::vector< disabledModuleType > theDisabledModules
Definition: vlib.h:208
void SiPixelQuality::addDisabledModule ( std::vector< disabledModuleType > &  idVector)

Definition at line 50 of file SiPixelQuality.cc.

int SiPixelQuality::BadModuleNumber ( )

Definition at line 98 of file SiPixelQuality.cc.

const std::vector<disabledModuleType> SiPixelQuality::getBadComponentList ( ) const
inline

Definition at line 115 of file SiPixelQuality.h.

References theDisabledModules.

116  { return theDisabledModules; }
std::vector< disabledModuleType > theDisabledModules
const std::vector< LocalPoint > SiPixelQuality::getBadRocPositions ( const uint32_t &  detid,
const TrackerGeometry theTracker,
const SiPixelFedCabling map 
) const

Definition at line 150 of file SiPixelQuality.cc.

short SiPixelQuality::getBadRocs ( const uint32_t &  detid) const

Definition at line 141 of file SiPixelQuality.cc.

bool SiPixelQuality::IsAreaBad ( uint32_t  detid,
sipixelobjects::GlobalPixel  global,
const edm::EventSetup es,
const SiPixelFedCabling map 
) const

Definition at line 128 of file SiPixelQuality.cc.

bool SiPixelQuality::IsFedBad ( const uint32_t &  detid) const
private

Definition at line 181 of file SiPixelQuality.cc.

bool SiPixelQuality::IsModuleBad ( const uint32_t &  detid) const

Definition at line 105 of file SiPixelQuality.cc.

bool SiPixelQuality::IsModuleUsable ( const uint32_t &  detid) const

Definition at line 87 of file SiPixelQuality.cc.

bool SiPixelQuality::IsRocBad ( const uint32_t &  detid,
const short &  rocNb 
) const

Definition at line 117 of file SiPixelQuality.cc.

template<class Archive >
void SiPixelQuality::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void SiPixelQuality::setDisabledModuleList ( std::vector< disabledModuleType > &  disabledModules)
inline

Definition at line 79 of file SiPixelQuality.h.

References theDisabledModules.

80  { theDisabledModules = disabledModules; }
std::vector< disabledModuleType > theDisabledModules

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 127 of file SiPixelQuality.h.

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

Definition at line 127 of file SiPixelQuality.h.

Member Data Documentation

std::vector<disabledModuleType> SiPixelQuality::theDisabledModules
private

Definition at line 123 of file SiPixelQuality.h.

Referenced by addDisabledModule(), getBadComponentList(), and setDisabledModuleList().