CMS 3D CMS Logo

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

#include <SiPixelInformationExtractor.h>

Public Member Functions

void bookNoisyPixels (DQMStore::IBooker &iBooker, float noiseRate, bool Tier0Flag)
 
void computeStatus (MonitorElement *mE, double &colorValue, std::pair< double, double > &norm)
 (Documentation under construction). More...
 
void findNoisyPixels (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, bool init, float noiseRate, int noiseRateDenominator, edm::ESHandle< SiPixelFedCablingMap > theCablingMap)
 
int getDetId (MonitorElement *mE)
 (Documentation under construction). More...
 
std::string getMEType (MonitorElement *mE)
 
void getNormalization (MonitorElement *mE, std::pair< double, double > &norm, std::string theMEType)
 (Documentation under construction). More...
 
void getNormalization2D (MonitorElement *mE, std::pair< double, double > &normX, std::pair< double, double > &normY, std::string theMEType)
 (Documentation under construction). More...
 
void readConfiguration ()
 Read Configuration File. More...
 
bool readConfiguration (std::map< std::string, std::vector< std::string > > &layoutMap, std::map< std::string, std::map< std::string, std::string > > &qtestsMap, std::map< std::string, std::vector< std::string > > &meQTestsMap)
 
 SiPixelInformationExtractor (bool offlineXMLfile)
 Constructor of the SiPixelInformationExtractor class. More...
 
 ~SiPixelInformationExtractor ()
 Destructor of the SiPixelInformationExtractor class. More...
 

Private Member Functions

void createDummiesFromLayout ()
 
void getItemList (const std::multimap< std::string, std::string > &req_map, std::string item_name, std::vector< std::string > &items)
 (Documentation under construction). More...
 
std::string getItemValue (const std::multimap< std::string, std::string > &req_map, std::string item_name)
 (Documentation under construction). More...
 
std::string getItemValue (std::multimap< std::string, std::string > &req_map, std::string item_name)
 
bool hasItem (std::multimap< std::string, std::string > &req_map, std::string item_name)
 (Documentation under construction). More...
 
void selectColor (std::string &col, int status)
 
void selectColor (std::string &col, std::vector< QReport * > &reports)
 
void selectImage (std::string &name, int status)
 
void selectImage (std::string &name, std::vector< QReport * > &reports)
 

Private Attributes

SiPixelActionExecutoractionExecutor_
 
int alarmCounter_
 
MonitorElementBarrelNdigisFREQProjection
 
SiPixelConfigParserconfigParser_
 
SiPixelConfigWriterconfigWriter_
 
int count
 
MonitorElementEndcapNdigisFREQProjection
 
bool endOfModules_
 
int errcount
 
MonitorElementEventRateBarrelPixels
 
MonitorElementEventRateEndcapPixels
 
bool flagHotModule_
 
bool gotDigis
 
std::map< std::string,
std::vector< std::string > > 
layoutMap
 
SiPixelLayoutParserlayoutParser_
 
std::map< std::string,
std::vector< std::string > > 
meQTestsMap
 
std::ofstream myfile_
 
int nevents_
 
std::map< uint32_t,
std::vector< std::pair
< std::pair< int, int >, float > > > 
noisyDetIds_
 
bool offlineXMLfile_
 
std::map< std::string,
std::map< std::string,
std::string > > 
qtestsMap
 
bool readMeMap_
 
bool readQTestMap_
 
bool readReference_
 

Detailed Description

Definition at line 40 of file SiPixelInformationExtractor.h.

Constructor & Destructor Documentation

SiPixelInformationExtractor::SiPixelInformationExtractor ( bool  offlineXMLfile)

Constructor of the SiPixelInformationExtractor class.

Definition at line 68 of file SiPixelInformationExtractor.cc.

SiPixelInformationExtractor::~SiPixelInformationExtractor ( )

Destructor of the SiPixelInformationExtractor class.

Definition at line 79 of file SiPixelInformationExtractor.cc.

Member Function Documentation

void SiPixelInformationExtractor::bookNoisyPixels ( DQMStore::IBooker iBooker,
float  noiseRate,
bool  Tier0Flag 
)

Definition at line 331 of file SiPixelInformationExtractor.cc.

void SiPixelInformationExtractor::computeStatus ( MonitorElement theME,
double &  colorValue,
std::pair< double, double > &  norm 
)

(Documentation under construction).

Definition at line 213 of file SiPixelInformationExtractor.cc.

void SiPixelInformationExtractor::createDummiesFromLayout ( )
private
void SiPixelInformationExtractor::findNoisyPixels ( DQMStore::IBooker iBooker,
DQMStore::IGetter iGetter,
bool  init,
float  noiseRate,
int  noiseRateDenominator,
edm::ESHandle< SiPixelFedCablingMap theCablingMap 
)

Definition at line 350 of file SiPixelInformationExtractor.cc.

int SiPixelInformationExtractor::getDetId ( MonitorElement mE)

(Documentation under construction).

Given a pointer to ME returns the associated detId

Definition at line 312 of file SiPixelInformationExtractor.cc.

void SiPixelInformationExtractor::getItemList ( const std::multimap< std::string, std::string > &  req_map,
std::string  item_name,
std::vector< std::string > &  items 
)
private

(Documentation under construction).

This method

Definition at line 114 of file SiPixelInformationExtractor.cc.

std::string SiPixelInformationExtractor::getItemValue ( const std::multimap< std::string, std::string > &  req_map,
std::string  item_name 
)
private

(Documentation under construction).

This method

Definition at line 143 of file SiPixelInformationExtractor.cc.

std::string SiPixelInformationExtractor::getItemValue ( std::multimap< std::string, std::string > &  req_map,
std::string  item_name 
)
private

Definition at line 152 of file SiPixelInformationExtractor.cc.

std::string SiPixelInformationExtractor::getMEType ( MonitorElement mE)

Definition at line 95 of file SiPixelInformationExtractor.cc.

void SiPixelInformationExtractor::getNormalization ( MonitorElement theME,
std::pair< double, double > &  norm,
std::string  theMEType 
)

(Documentation under construction).

Definition at line 269 of file SiPixelInformationExtractor.cc.

void SiPixelInformationExtractor::getNormalization2D ( MonitorElement theME,
std::pair< double, double > &  normX,
std::pair< double, double > &  normY,
std::string  theMEType 
)

(Documentation under construction).

Definition at line 288 of file SiPixelInformationExtractor.cc.

bool SiPixelInformationExtractor::hasItem ( std::multimap< std::string, std::string > &  req_map,
std::string  item_name 
)
private

(Documentation under construction).

This method

Definition at line 131 of file SiPixelInformationExtractor.cc.

void SiPixelInformationExtractor::readConfiguration ( )

Read Configuration File.

Definition at line 89 of file SiPixelInformationExtractor.cc.

bool SiPixelInformationExtractor::readConfiguration ( std::map< std::string, std::vector< std::string > > &  layoutMap,
std::map< std::string, std::map< std::string, std::string > > &  qtestsMap,
std::map< std::string, std::vector< std::string > > &  meQTestsMap 
)
void SiPixelInformationExtractor::selectColor ( std::string &  col,
int  status 
)
private
void SiPixelInformationExtractor::selectColor ( std::string &  col,
std::vector< QReport * > &  reports 
)
private
void SiPixelInformationExtractor::selectImage ( std::string &  name,
int  status 
)
private
void SiPixelInformationExtractor::selectImage ( std::string &  name,
std::vector< QReport * > &  reports 
)
private

Member Data Documentation

SiPixelActionExecutor* SiPixelInformationExtractor::actionExecutor_
private

Definition at line 101 of file SiPixelInformationExtractor.h.

int SiPixelInformationExtractor::alarmCounter_
private

Definition at line 97 of file SiPixelInformationExtractor.h.

MonitorElement* SiPixelInformationExtractor::BarrelNdigisFREQProjection
private

Definition at line 132 of file SiPixelInformationExtractor.h.

SiPixelConfigParser* SiPixelInformationExtractor::configParser_
private

Definition at line 99 of file SiPixelInformationExtractor.h.

SiPixelConfigWriter* SiPixelInformationExtractor::configWriter_
private

Definition at line 100 of file SiPixelInformationExtractor.h.

int SiPixelInformationExtractor::count
private

Definition at line 119 of file SiPixelInformationExtractor.h.

MonitorElement* SiPixelInformationExtractor::EndcapNdigisFREQProjection
private

Definition at line 131 of file SiPixelInformationExtractor.h.

bool SiPixelInformationExtractor::endOfModules_
private

Definition at line 126 of file SiPixelInformationExtractor.h.

int SiPixelInformationExtractor::errcount
private

Definition at line 120 of file SiPixelInformationExtractor.h.

MonitorElement* SiPixelInformationExtractor::EventRateBarrelPixels
private

Definition at line 128 of file SiPixelInformationExtractor.h.

MonitorElement* SiPixelInformationExtractor::EventRateEndcapPixels
private

Definition at line 129 of file SiPixelInformationExtractor.h.

bool SiPixelInformationExtractor::flagHotModule_
private

Definition at line 116 of file SiPixelInformationExtractor.h.

bool SiPixelInformationExtractor::gotDigis
private

Definition at line 121 of file SiPixelInformationExtractor.h.

std::map<std::string, std::vector< std::string> > SiPixelInformationExtractor::layoutMap
private

Definition at line 105 of file SiPixelInformationExtractor.h.

SiPixelLayoutParser* SiPixelInformationExtractor::layoutParser_
private

Definition at line 102 of file SiPixelInformationExtractor.h.

std::map<std::string, std::vector<std::string> > SiPixelInformationExtractor::meQTestsMap
private

Definition at line 110 of file SiPixelInformationExtractor.h.

std::ofstream SiPixelInformationExtractor::myfile_
private

Definition at line 123 of file SiPixelInformationExtractor.h.

int SiPixelInformationExtractor::nevents_
private

Definition at line 124 of file SiPixelInformationExtractor.h.

std::map< uint32_t , std::vector< std::pair< std::pair<int,int> , float > > > SiPixelInformationExtractor::noisyDetIds_
private

Definition at line 125 of file SiPixelInformationExtractor.h.

bool SiPixelInformationExtractor::offlineXMLfile_
private

Definition at line 117 of file SiPixelInformationExtractor.h.

std::map<std::string, std::map<std::string, std::string> > SiPixelInformationExtractor::qtestsMap
private

Definition at line 108 of file SiPixelInformationExtractor.h.

bool SiPixelInformationExtractor::readMeMap_
private

Definition at line 115 of file SiPixelInformationExtractor.h.

bool SiPixelInformationExtractor::readQTestMap_
private

Definition at line 114 of file SiPixelInformationExtractor.h.

bool SiPixelInformationExtractor::readReference_
private

Definition at line 113 of file SiPixelInformationExtractor.h.