CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DigiTask.h
Go to the documentation of this file.
1 #ifndef DigiTask_h
2 #define DigiTask_h
3 
4 /*
5  * file: DigiTask.h
6  * Author: Viktor Khristenko
7  * Date: 16.10.2015
8  */
9 
19 
20 using namespace hcaldqm;
21 class DigiTask : public DQTask
22 {
23  public:
25  virtual ~DigiTask()
26  {}
27 
28  virtual void bookHistograms(DQMStore::IBooker&,
29  edm::Run const&, edm::EventSetup const&);
30  virtual void endLuminosityBlock(edm::LuminosityBlock const&,
31  edm::EventSetup const&);
32 
33  enum DigiFlag
34  {
35  fLowOcp = 0,
36  fDigiSize = 1,
37  fUniphi = 2,
38  fMsn1LS = 3,
39  fCapIdRot = 4,
40 
41  nDigiFlag = 5
42  };
43 
44  protected:
45  // funcs
46  virtual void _process(edm::Event const&, edm::EventSetup const&);
47  virtual void _resetMonitors(UpdateFreq);
48 
49  // Tags and corresponding Tokens
56 
57  // Flag Names
58  std::vector<std::string> _fNames;
59 
60  // Counters
61  int _numDigis[constants::SUBDET_NUM];
62  int _numDigisCut[constants::SUBDET_NUM];
64  int _nCapIdRots[constants::SUBDET_NUM];
69 
70  // Cuts
71  double _cutSumQ_HBHE, _cutSumQ_HO, _cutSumQ_HF;
72 
73  // Containers by quantities
74 
75  // Signal, ADC, fC, SumQ
81 
82  // Shape
87 
88  // Timing
94 
95  // Specific
101 
102  // Occupancy
109 // ContainerProf2D _cOccupancyCutiphivsLS_SubDet;
114 
115  // Summaries
118 };
119 
120 #endif
121 
122 
123 
124 
125 
126 
127 
Container1D _cfCperTS_SubDet
Definition: DigiTask.h:76
int const IPHI_NUM
Definition: Constants.h:100
int const SUBDET_NUM
Definition: Constants.h:87
edm::InputTag _tagHO
Definition: DigiTask.h:51
int const IETA_NUM
Definition: Constants.h:111
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
Definition: DigiTask.h:53
Container2D _cSummaryvsLS_SubDet
Definition: DigiTask.h:117
ContainerSingle2D _cSummary
Definition: DigiTask.h:116
ContainerSingleProf1D _cQ2Q12CutvsLS_p3em41d2
Definition: DigiTask.h:98
ContainerProf1D _cOccupancyvsLS_SubDet
Definition: DigiTask.h:105
edm::EDGetTokenT< HFDigiCollection > _tokHF
Definition: DigiTask.h:55
double _cutSumQ_HO
Definition: DigiTask.h:71
Container2D _cOccupancyCut_depth
Definition: DigiTask.h:108
Container2D _cOccupancyOnce_depth
Definition: DigiTask.h:110
UpdateFreq
Definition: DQTask.h:16
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: DigiTask.h:54
Container1D _cShape_SubDetPM_iphi
Definition: DigiTask.h:83
ContainerSingle1D _cShapeCut_p3em41d2
Definition: DigiTask.h:86
Container1D _cShapeCut_SubDetPM_iphi
Definition: DigiTask.h:84
Container1D _cOccupancyCutvsiphi_SubDetPM
Definition: DigiTask.h:104
void bookHistograms(fwlite::EventContainer &eventCont)
Container1D _cTimingCut_SubDetPM_iphi
Definition: DigiTask.h:89
ContainerProf1D _cQ2Q12CutvsLS_HFPM_iphi
Definition: DigiTask.h:96
ContainerProf2D _cTimingCut_depth
Definition: DigiTask.h:93
ContainerProf2D _cSumQ_depth
Definition: DigiTask.h:79
ContainerProf1D _cTimingCutvsiphi_SubDet_ieta
Definition: DigiTask.h:91
edm::InputTag _tagHBHE
Definition: DigiTask.h:50
Container1D _cADCperTS_SubDet
Definition: DigiTask.h:77
Container2D _cMsn1LS_depth
Definition: DigiTask.h:111
ContainerProf1D _cTimingCutvsLS_SubDetPM_iphi
Definition: DigiTask.h:92
ContainerSingleProf1D _cQ2Q12CutvsLS_p3e41d2
Definition: DigiTask.h:97
virtual ~DigiTask()
Definition: DigiTask.h:25
ContainerProf1D _cOccupancyCutvsLS_SubDet
Definition: DigiTask.h:106
ContainerSingle1D _cShapeCut_p3e41d2
Definition: DigiTask.h:85
ContainerProf1D _cSumQvsLS_SubDetPM_iphi
Definition: DigiTask.h:80
Container2D _cOccupancy_depth
Definition: DigiTask.h:107
edm::InputTag _tagHF
Definition: DigiTask.h:52
std::vector< std::string > _fNames
Definition: DigiTask.h:58
int const DEPTH_NUM
Definition: Constants.h:128
Container1D _cOccupancyvsiphi_SubDetPM
Definition: DigiTask.h:103
ContainerProf1D _cMsn1LSvsLS_SubDet
Definition: DigiTask.h:113
Container1D _cSumQ_SubDetPM_iphi
Definition: DigiTask.h:78
Container2D _cMsn10LS_depth
Definition: DigiTask.h:112
Container2D _cCapIdRots_depth
Definition: DigiTask.h:100
ContainerProf1D _cDigiSizevsLS_SubDet
Definition: DigiTask.h:99
ContainerProf1D _cTimingCutvsieta_SubDet_iphi
Definition: DigiTask.h:90
Definition: Run.h:43