CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Macros | Enumerations | Functions | Variables
SiPixelPayloadInspectorHelper.h File Reference
#include <vector>
#include <numeric>
#include <fstream>
#include <string>
#include <bitset>
#include "TGraph.h"
#include "TH1.h"
#include "TH2.h"
#include "TLatex.h"
#include "TLine.h"
#include "TPave.h"
#include "TPaveStats.h"
#include "TPaveText.h"
#include "TStyle.h"
#include "TCanvas.h"
#include "CondCore/CondDB/interface/Time.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/FileInPath.h"
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
#include "DataFormats/TrackerCommon/interface/PixelBarrelName.h"
#include "DataFormats/TrackerCommon/interface/PixelEndcapName.h"

Go to the source code of this file.

Classes

struct  SiPixelPI::PhaseInfo
 
struct  SiPixelPI::topolInfo
 

Namespaces

 SiPixelPI
 

Macros

#define COUT   edm::LogVerbatim("")
 

Enumerations

enum  SiPixelPI::DetType { SiPixelPI::t_barrel = 0, SiPixelPI::t_forward = 1, SiPixelPI::t_all = 2 }
 
enum  SiPixelPI::phase { SiPixelPI::zero = 0, SiPixelPI::one = 1, SiPixelPI::two = 2 }
 
enum  SiPixelPI::regions {
  SiPixelPI::BPixL1o, SiPixelPI::BPixL1i, SiPixelPI::BPixL2o, SiPixelPI::BPixL2i,
  SiPixelPI::BPixL3o, SiPixelPI::BPixL3i, SiPixelPI::BPixL4o, SiPixelPI::BPixL4i,
  SiPixelPI::FPixmL1, SiPixelPI::FPixmL2, SiPixelPI::FPixmL3, SiPixelPI::FPixpL1,
  SiPixelPI::FPixpL2, SiPixelPI::FPixpL3, SiPixelPI::NUM_OF_REGIONS
}
 

Functions

void SiPixelPI::adjustCanvasMargins (TVirtualPad *pad, float top, float bottom, float left, float right)
 
void SiPixelPI::adjustStats (TPaveStats *stats, float X1, float Y1, float X2, float Y2)
 
bool SiPixelPI::checkAnswerOK (std::string &answer, bool &result)
 
void SiPixelPI::displayNotSupported (TCanvas &canv, const unsigned int size)
 
void SiPixelPI::draw_line (double x1, double x2, double y1, double y2, int width=2, int style=1, int color=1)
 
void SiPixelPI::dress_occup_plot (TCanvas &canv, TH2 *h, int lay, int ring=0, int phase=0, bool half_shift=true, bool mark_zero=true, bool standard_palette=true)
 
template<typename T >
std::pair< T, TSiPixelPI::findMinMaxInMap (const std::map< unsigned int, T > &theMap)
 
std::pair< float, float > SiPixelPI::getExtrema (TH1 *h1, TH1 *h2)
 
std::string SiPixelPI::getStringFromRegionEnum (SiPixelPI::regions e)
 
bool SiPixelPI::isBPixOuterLadder (const DetId &detid, const TrackerTopology &tTopo, bool isPhase0)
 
void SiPixelPI::makeNicePlotStyle (TH1 *hist)
 
int SiPixelPI::quadrant (const DetId &detid, const TrackerTopology *tTopo_, bool phase_)
 
int SiPixelPI::ring (const DetId &detid, const TrackerTopology &tTopo_, bool phase_)
 
int SiPixelPI::signed_blade (const DetId &detid, const TrackerTopology &tTopo_, bool phase_)
 
int SiPixelPI::signed_blade_panel (const DetId &detid, const TrackerTopology &tTopo_, bool phase_)
 
int SiPixelPI::signed_disk (const DetId &detid, const TrackerTopology &tTopo_, bool phase_)
 
int SiPixelPI::signed_ladder (const DetId &detid, const TrackerTopology &tTopo_, bool phase_)
 
int SiPixelPI::signed_module (const DetId &detid, const TrackerTopology &tTopo_, bool phase_)
 
std::pair< unsigned int,
unsigned int > 
SiPixelPI::unpack (cond::Time_t since)
 

Variables

const std::array< std::string, 3 > SiPixelPI::DetNames = {{"Barrel", "End Caps", "Whole"}}
 
static const unsigned int SiPixelPI::mismatched = 9999
 
static const unsigned int SiPixelPI::phase0size = 1440
 
static const unsigned int SiPixelPI::phase1size = 1856
 
static const unsigned int SiPixelPI::phase2size = 3892
 

Macro Definition Documentation

#define COUT   edm::LogVerbatim("")

Definition at line 34 of file SiPixelPayloadInspectorHelper.h.