CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1Scalers.h
Go to the documentation of this file.
1 // -*-c++-*-
2 #ifndef L1Scalers_H
3 #define L1Scalers_H
4 
10 
11 #define MAX_LUMI_SEG 2000
12 #define MAX_LUMI_BIN 400
13 
14 class L1Scalers : public DQMEDAnalyzer {
15  public:
16  L1Scalers(const edm::ParameterSet &ps);
17  virtual ~L1Scalers(){};
19  edm::EventSetup const &) override;
20  void analyze(const edm::Event &e, const edm::EventSetup &c);
22  void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg,
23  const edm::EventSetup &c);
24 
25  private:
26  int nev_; // Number of events processed
27 
28  bool verbose_;
30 
32  unsigned int denomBit_;
33  bool tfIsTech_;
34  unsigned int tfBit_;
35  std::vector<unsigned int> algoSelected_;
36  std::vector<unsigned int> techSelected_;
37 
38  std::string folderName_; // dqm folder name
43 
44  // 2d versions
47 
48  // Int
50  MonitorElement *l1AlgoCounter_; // for total Algo Rate
51  MonitorElement *l1TtCounter_; // for total TT Rate
52 
53  // timing plots
54  std::vector<MonitorElement *> algoBxDiff_;
55  std::vector<MonitorElement *> techBxDiff_;
56  std::vector<MonitorElement *> algoBxDiffLumi_;
57  std::vector<MonitorElement *> techBxDiffLumi_;
66 
67  // steal from HLTrigger/special
68  unsigned int threshold_;
69  unsigned int fedStart_, fedStop_;
70  // total Rates
71  unsigned int rateAlgoCounter_; // for total Algo Rate
72  unsigned int rateTtCounter_; // for total TT Rate
73 
75 
76  std::vector<int> maskedList_;
78 
80  std::vector<int> earliestTech_;
81  std::vector<int> earliestAlgo_;
82 };
83 
84 #endif // L1Scalers_H
bool tfIsTech_
Definition: L1Scalers.h:33
MonitorElement * l1scalers_
Definition: L1Scalers.h:39
std::vector< MonitorElement * > techBxDiff_
Definition: L1Scalers.h:55
bool verbose_
Definition: L1Scalers.h:28
std::vector< MonitorElement * > algoBxDiffLumi_
Definition: L1Scalers.h:56
edm::InputTag l1GtDataSource_
Definition: L1Scalers.h:29
std::vector< MonitorElement * > algoBxDiff_
Definition: L1Scalers.h:54
std::string folderName_
Definition: L1Scalers.h:38
unsigned int fedStop_
Definition: L1Scalers.h:69
MonitorElement * rpcfBxDiffLumi_
Definition: L1Scalers.h:65
edm::InputTag HcalRecHitCollection_
Definition: L1Scalers.h:77
L1Scalers(const edm::ParameterSet &ps)
Definition: L1Scalers.cc:37
edm::InputTag fedRawCollection_
Definition: L1Scalers.h:74
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: L1Scalers.cc:73
MonitorElement * rpcbBxDiffLumi_
Definition: L1Scalers.h:63
MonitorElement * dtBxDiffLumi_
Definition: L1Scalers.h:59
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
DQM Client Diagnostic should be performed here:
Definition: L1Scalers.cc:384
std::vector< int > earliestTech_
Definition: L1Scalers.h:80
bool denomIsTech_
Definition: L1Scalers.h:31
virtual ~L1Scalers()
Definition: L1Scalers.h:17
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1Scalers.cc:159
MonitorElement * cscBxDiff_
Definition: L1Scalers.h:60
MonitorElement * l1techScalers_
Definition: L1Scalers.h:40
unsigned int threshold_
Definition: L1Scalers.h:68
MonitorElement * l1scalersBx_
Definition: L1Scalers.h:45
int nev_
Definition: L1Scalers.h:26
unsigned int fedStart_
Definition: L1Scalers.h:69
MonitorElement * l1TtCounter_
Definition: L1Scalers.h:51
std::vector< MonitorElement * > techBxDiffLumi_
Definition: L1Scalers.h:57
std::vector< unsigned int > algoSelected_
Definition: L1Scalers.h:35
std::vector< int > maskedList_
Definition: L1Scalers.h:76
MonitorElement * l1Correlations_
Definition: L1Scalers.h:41
std::vector< unsigned int > techSelected_
Definition: L1Scalers.h:36
MonitorElement * rpcbBxDiff_
Definition: L1Scalers.h:62
MonitorElement * dtBxDiff_
Definition: L1Scalers.h:58
unsigned int rateAlgoCounter_
Definition: L1Scalers.h:71
std::vector< int > earliestAlgo_
Definition: L1Scalers.h:81
int earliestDenom_
Definition: L1Scalers.h:79
MonitorElement * nLumiBlock_
Definition: L1Scalers.h:49
unsigned int tfBit_
Definition: L1Scalers.h:34
MonitorElement * bxNum_
Definition: L1Scalers.h:42
MonitorElement * l1techScalersBx_
Definition: L1Scalers.h:46
MonitorElement * l1AlgoCounter_
Definition: L1Scalers.h:50
unsigned int denomBit_
Definition: L1Scalers.h:32
MonitorElement * rpcfBxDiff_
Definition: L1Scalers.h:64
Definition: Run.h:41
unsigned int rateTtCounter_
Definition: L1Scalers.h:72
MonitorElement * cscBxDiffLumi_
Definition: L1Scalers.h:61