test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DQMProvInfo.h
Go to the documentation of this file.
1 #ifndef DQMPROVINFO_H
2 #define DQMPROVINFO_H
3 
10 
14 
19 
20 #include <string>
21 #include <vector>
22 
23 class DQMProvInfo : public DQMEDAnalyzer {
24  public:
25  // Constructor
26  DQMProvInfo(const edm::ParameterSet& ps);
27  // Destructor
28  virtual ~DQMProvInfo();
29 
30  protected:
31  void dqmBeginRun(const edm::Run& r, const edm::EventSetup& c) ;
32  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
34  const edm::EventSetup& c);
35  void analyze(const edm::Event& e, const edm::EventSetup& c);
37  const edm::EventSetup& c);
38 
39  private:
43 
44  void analyzeLhcInfo(const edm::Event& e);
45  void analyzeEventInfo(const edm::Event& e);
46  void analyzeProvInfo(const edm::Event& e);
47 
48  void endLuminosityBlockLhcInfo(const int currentLSNumber);
49  void endLuminosityBlockEventInfo(const int currentLSNumber);
50  void blankPreviousLumiSections(const int currentLSNumber);
51 
52  // To max amount of lumisections we foresee for the plots
53  // DQM GUI renderplugins provide scaling to actual amount
54  const static int MAX_LUMIS = 2500;
55 
56  // Numbers of each of the vertical bins
57  const static int VBIN_CSC_P = 1;
58  const static int VBIN_CSC_M = 2;
59  const static int VBIN_DT_0 = 3;
60  const static int VBIN_DT_P = 4;
61  const static int VBIN_DT_M = 5;
62  const static int VBIN_EB_P = 6;
63  const static int VBIN_EB_M = 7;
64  const static int VBIN_EE_P = 8;
65  const static int VBIN_EE_M = 9;
66  const static int VBIN_ES_P = 10;
67  const static int VBIN_ES_M = 11;
68  const static int VBIN_HBHE_A = 12;
69  const static int VBIN_HBHE_B = 13;
70  const static int VBIN_HBHE_C = 14;
71  const static int VBIN_HF = 15;
72  const static int VBIN_HO = 16;
73  const static int VBIN_BPIX = 17;
74  const static int VBIN_FPIX = 18;
75  const static int VBIN_RPC = 19;
76  const static int VBIN_TIBTID = 20;
77  const static int VBIN_TOB = 21;
78  const static int VBIN_TEC_P = 22;
79  const static int VBIN_TE_M = 23;
80  const static int VBIN_CASTOR = 24;
81  const static int VBIN_ZDC = 25;
82 
83  // Highest DCS bin, used for the length of the corresponding array.
84  // We will have the indexes to this array the same as the vbins numbers.
85  // (I.e. value at index 0 will not be used.)
86  const static int MAX_DCS_VBINS = 25;
87 
88  const static int VBIN_PHYSICS_DECLARED = 26;
91  const static int VBIN_VALID = 27;
92 
93  const static int MAX_VBINS = 27;
94 
95  // Process parameters
98 
104 
105  // MonitorElements for LhcInfo and corresponding variables
113  int lhcFill_;
116 
117  // MonitorElements for EventInfo and corresponding variables
125 
126  // MonitorElements for ProvInfo and corresponding variables
137  MonitorElement* processId_; // The PID associated with this job
139 };
140 
141 #endif
void endLuminosityBlockEventInfo(const int currentLSNumber)
Definition: DQMProvInfo.cc:403
MonitorElement * hBeamMode_
Definition: DQMProvInfo.h:106
int previousLSNumber_
Definition: DQMProvInfo.h:120
MonitorElement * hIntensity2_
Definition: DQMProvInfo.h:110
MonitorElement * reportSummary_
Definition: DQMProvInfo.h:118
void analyzeEventInfo(const edm::Event &e)
Definition: DQMProvInfo.cc:285
MonitorElement * hMomentum_
Definition: DQMProvInfo.h:114
static const int VBIN_EE_P
Definition: DQMProvInfo.h:64
MonitorElement * workingDir_
Definition: DQMProvInfo.h:138
edm::EDGetTokenT< DcsStatusCollection > dcsStatusCollection_
Definition: DQMProvInfo.h:99
bool foundFirstDcsBits_
Definition: DQMProvInfo.h:124
void endLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c)
Definition: DQMProvInfo.cc:379
static const int VBIN_VALID
Definition: DQMProvInfo.h:91
MonitorElement * processId_
Definition: DQMProvInfo.h:137
MonitorElement * hHltKey_
Definition: DQMProvInfo.h:133
MonitorElement * versGlobaltag_
Definition: DQMProvInfo.h:128
static const int VBIN_CASTOR
Definition: DQMProvInfo.h:80
static const int VBIN_HBHE_B
Definition: DQMProvInfo.h:69
static const int VBIN_EE_M
Definition: DQMProvInfo.h:65
static const int VBIN_HBHE_C
Definition: DQMProvInfo.h:70
bool globalTagRetrieved_
Definition: DQMProvInfo.h:130
static const int VBIN_HO
Definition: DQMProvInfo.h:72
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: DQMProvInfo.cc:254
std::string globalTag_
Definition: DQMProvInfo.h:129
static const int VBIN_DT_0
Definition: DQMProvInfo.h:59
static const int VBIN_TEC_P
Definition: DQMProvInfo.h:78
void bookHistogramsEventInfo(DQMStore::IBooker &)
Definition: DQMProvInfo.cc:163
static const int VBIN_CSC_M
Definition: DQMProvInfo.h:58
MonitorElement * versRuntype_
Definition: DQMProvInfo.h:131
static const int VBIN_TOB
Definition: DQMProvInfo.h:77
static const int VBIN_FPIX
Definition: DQMProvInfo.h:74
static const int MAX_LUMIS
Definition: DQMProvInfo.h:54
static const int VBIN_DT_M
Definition: DQMProvInfo.h:61
void bookHistogramsProvInfo(DQMStore::IBooker &)
Definition: DQMProvInfo.cc:206
void bookHistogramsLhcInfo(DQMStore::IBooker &)
Definition: DQMProvInfo.cc:104
bool foundFirstPhysicsDeclared_
Definition: DQMProvInfo.h:122
void analyzeProvInfo(const edm::Event &e)
Definition: DQMProvInfo.cc:360
static const int MAX_VBINS
Definition: DQMProvInfo.h:93
std::string subsystemname_
Definition: DQMProvInfo.h:96
MonitorElement * hLhcFill_
Definition: DQMProvInfo.h:112
void blankPreviousLumiSections(const int currentLSNumber)
Definition: DQMProvInfo.cc:455
static const int VBIN_TIBTID
Definition: DQMProvInfo.h:76
virtual ~DQMProvInfo()
Definition: DQMProvInfo.cc:62
static const int VBIN_EB_P
Definition: DQMProvInfo.h:62
void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c)
Definition: DQMProvInfo.cc:64
static const int VBIN_BPIX
Definition: DQMProvInfo.h:73
void analyzeLhcInfo(const edm::Event &e)
Definition: DQMProvInfo.cc:265
MonitorElement * hIntensity1_
Definition: DQMProvInfo.h:108
void beginLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c)
Definition: DQMProvInfo.cc:237
static const int VBIN_TE_M
Definition: DQMProvInfo.h:79
static const int VBIN_RPC
Definition: DQMProvInfo.h:75
MonitorElement * versCMSSW_
Definition: DQMProvInfo.h:127
MonitorElement * hIsCollisionsRun_
Definition: DQMProvInfo.h:136
std::string runType_
Definition: DQMProvInfo.h:132
edm::EDGetTokenT< edm::ConditionsInLumiBlock > CondInLumi_
Definition: DQMProvInfo.h:103
static const int MAX_DCS_VBINS
Definition: DQMProvInfo.h:86
static const int VBIN_ZDC
Definition: DQMProvInfo.h:81
DQMProvInfo(const edm::ParameterSet &ps)
Definition: DQMProvInfo.cc:32
static const int VBIN_ES_P
Definition: DQMProvInfo.h:66
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: DQMProvInfo.cc:84
std::string hltKey_
Definition: DQMProvInfo.h:134
static const int VBIN_CSC_P
Definition: DQMProvInfo.h:57
static const int VBIN_DT_P
Definition: DQMProvInfo.h:60
static const int VBIN_ES_M
Definition: DQMProvInfo.h:67
std::string provinfofolder_
Definition: DQMProvInfo.h:97
bool physicsDeclared_
Definition: DQMProvInfo.h:121
static const int VBIN_HF
Definition: DQMProvInfo.h:71
void endLuminosityBlockLhcInfo(const int currentLSNumber)
Definition: DQMProvInfo.cc:394
MonitorElement * hostName_
Definition: DQMProvInfo.h:135
static const int VBIN_HBHE_A
Definition: DQMProvInfo.h:68
static const int VBIN_EB_M
Definition: DQMProvInfo.h:63
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > L1gt_
Definition: DQMProvInfo.h:100
bool dcsBits_[MAX_DCS_VBINS+1]
Definition: DQMProvInfo.h:123
Definition: Run.h:43
MonitorElement * reportSummaryMap_
Definition: DQMProvInfo.h:119
static const int VBIN_PHYSICS_DECLARED
Definition: DQMProvInfo.h:88
edm::EDGetTokenT< edm::ConditionsInRunBlock > CondInRun_
Definition: DQMProvInfo.h:102