CMS 3D CMS Logo

Classes | Namespaces | Typedefs | Enumerations | Functions
SiStripPayloadInspectorHelper.h File Reference
#include <numeric>
#include <string>
#include <vector>
#include "CalibFormats/SiStripObjects/interface/SiStripQuality.h"
#include "CalibTracker/SiStripCommon/interface/SiStripDetInfoFileReader.h"
#include "CalibTracker/StandaloneTrackerTopology/interface/StandaloneTrackerTopology.h"
#include "CondCore/Utilities/interface/PayloadInspector.h"
#include "CondFormats/SiStripObjects/interface/SiStripDetSummary.h"
#include "CondFormats/SiStripObjects/interface/SiStripNoises.h"
#include "CondFormats/SiStripObjects/interface/SiStripSummary.h"
#include "DataFormats/SiStripCommon/interface/ConstantsForHardwareSystems.h"
#include "DataFormats/SiStripDetId/interface/StripSubdetector.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/FileInPath.h"
#include "TH1.h"
#include "TH2.h"
#include "TObjArray.h"
#include "TPaveText.h"
#include "TStyle.h"

Go to the source code of this file.

Classes

class  SiStripPI::Entry
 
class  SiStripPI::Monitor1D
 
class  SiStripPI::Monitor2D
 

Namespaces

 SiStripPI
 

Typedefs

using SiStripPI::MetaData = std::tuple< cond::Time_t, cond::Hash >
 

Enumerations

enum  SiStripPI::estimator { SiStripPI::min, SiStripPI::max, SiStripPI::mean, SiStripPI::rms }
 
enum  SiStripPI::OpMode { SiStripPI::STRIP_BASED, SiStripPI::APV_BASED, SiStripPI::MODULE_BASED }
 
enum  SiStripPI::palette {
  SiStripPI::HALFGRAY, SiStripPI::GRAY, SiStripPI::BLUES, SiStripPI::REDS,
  SiStripPI::ANTIGRAY, SiStripPI::FIRE, SiStripPI::ANTIFIRE, SiStripPI::LOGREDBLUE,
  SiStripPI::BLUERED, SiStripPI::LOGBLUERED, SiStripPI::DEFAULT
}
 
enum  SiStripPI::TrackerRegion {
  SiStripPI::TIB1r = 1010, SiStripPI::TIB1s = 1011, SiStripPI::TIB2r = 1020, SiStripPI::TIB2s = 1021,
  SiStripPI::TIB3r = 1030, SiStripPI::TIB4r = 1040, SiStripPI::TOB1r = 2010, SiStripPI::TOB1s = 2011,
  SiStripPI::TOB2r = 2020, SiStripPI::TOB2s = 2021, SiStripPI::TOB3r = 2030, SiStripPI::TOB4r = 2040,
  SiStripPI::TOB5r = 2050, SiStripPI::TOB6r = 2060, SiStripPI::TEC1r = 3010, SiStripPI::TEC1s = 3011,
  SiStripPI::TEC2r = 3020, SiStripPI::TEC2s = 3021, SiStripPI::TEC3r = 3030, SiStripPI::TEC3s = 3031,
  SiStripPI::TEC4r = 3040, SiStripPI::TEC4s = 3041, SiStripPI::TEC5r = 3050, SiStripPI::TEC5s = 3051,
  SiStripPI::TEC6r = 3060, SiStripPI::TEC6s = 3061, SiStripPI::TEC7r = 3070, SiStripPI::TEC7s = 3071,
  SiStripPI::TEC8r = 3080, SiStripPI::TEC8s = 3081, SiStripPI::TEC9r = 3090, SiStripPI::TEC9s = 3091,
  SiStripPI::TID1r = 4010, SiStripPI::TID1s = 4011, SiStripPI::TID2r = 4020, SiStripPI::TID2s = 4021,
  SiStripPI::TID3r = 4030, SiStripPI::TID3s = 4031, SiStripPI::END_OF_REGIONS
}
 

Functions

void SiStripPI::drawStatBox (std::map< std::string, std::shared_ptr< TH1F >> histos, std::map< std::string, int > colormap, std::vector< std::string > legend, double X=0.15, double Y=0.93, double W=0.15, double H=0.10)
 
std::string SiStripPI::estimatorType (SiStripPI::estimator e)
 
void SiStripPI::fillBCArrays (const SiStripQuality *siStripQuality_, int NTkBadComponent[4], int NBadComponent[4][19][4], const TrackerTopology m_trackerTopo)
 
void SiStripPI::fillNoiseDetSummary (SiStripDetSummary &summaryNoise, std::shared_ptr< SiStripNoises > payload, SiStripPI::estimator est)
 
void SiStripPI::fillTotalComponents (int NTkComponents[4], int NComponents[4][19][4], const TrackerTopology m_trackerTopo)
 
std::pair< float, float > SiStripPI::getExtrema (TH1 *h1, TH1 *h2)
 
double SiStripPI::getMaximum (TObjArray *array)
 
std::string SiStripPI::getStringFromSubdet (StripSubdetector::SubDetector sub)
 
std::pair< float, float > SiStripPI::getTheRange (std::map< uint32_t, float > values, const float nsigma)
 
void SiStripPI::makeNicePlotStyle (TH1 *hist)
 
template<class T >
void SiStripPI::makeNiceStyle (T *hist)
 
void SiStripPI::printBCDebug (int NTkBadComponent[4], int NBadComponent[4][19][4])
 
void SiStripPI::printSummary (const std::map< unsigned int, SiStripDetSummary::Values > &map)
 
std::pair< int, const char * > SiStripPI::regionType (int index)
 
void SiStripPI::setBadComponents (int i, int component, const SiStripQuality::BadComponent &BC, int NBadComponent[4][19][4])
 
void SiStripPI::setPaletteStyle (SiStripPI::palette palette)