CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecHitTask.h
Go to the documentation of this file.
1 #ifndef RecHitTask_h
2 #define RecHitTask_h
3 
4 /*
5  * file: RecHitTask.h
6  * Author: Viktor Khristenko
7  * Date: 13.10.2015
8  */
9 
16 
17  using namespace hcaldqm;
18  class RecHitTask : public DQTask
19  {
20  public:
21  RecHitTask(edm::ParameterSet const& ps);
22  virtual ~RecHitTask()
23  {}
24 
25  virtual void bookHistograms(DQMStore::IBooker &,
26  edm::Run const&, edm::EventSetup const&);
27  virtual void endLuminosityBlock(edm::LuminosityBlock const&,
28  edm::EventSetup const&);
29 
31  {
32  fLowOcp = 0,
33  fUniphi = 1,
34  fTCDS = 2,
35 
36  nRecHitFlag = 3
37  };
38 
39  protected:
40  // protected funcs
41  virtual void _process(edm::Event const&, edm::EventSetup const&);
42  virtual void _resetMonitors(UpdateFreq);
43 
44  // tags and tokens
51 
52  // counters
53  int _nRecHits[constants::SUBDET_NUM];
54  int _nRecHitsCut[constants::SUBDET_NUM];
55 // bool _nDups[constants::SUBDET_NUM][constants::IPHI_NUM][constants::IETA_NUM][constants::DEPTH_NUM];
56 
57  // Flag Names
58  std::vector<std::string> _fNames;
59 
60  // cuts
61  double _cutE_HBHE, _cutE_HO, _cutE_HF;
62 
63  // Energy
70 
74 
75  // Timing
84 
85  // Occupancy
92 
93  // Energy vs Timing
95 
96  // Summaries
99  };
100 
101 #endif
102 
103 
104 
105 
Container1D _cOccupancyCutvsiphi_SubDetPM
Definition: RecHitTask.h:91
edm::EDGetTokenT< HBHERecHitCollection > _tokHBHE
Definition: RecHitTask.h:48
int const SUBDET_NUM
Definition: Constants.h:87
double _cutE_HO
Definition: RecHitTask.h:61
Container1D _cEnergy_SubDetPM_iphi
Definition: RecHitTask.h:66
edm::EDGetTokenT< HFRecHitCollection > _tokHF
Definition: RecHitTask.h:50
Container2D _cOccupancy_depth
Definition: RecHitTask.h:86
UpdateFreq
Definition: DQTask.h:16
void bookHistograms(fwlite::EventContainer &eventCont)
ContainerProf1D _cTimingCutvsLS_SubDetPM_iphi
Definition: RecHitTask.h:78
ContainerProf1D _cTimingvsietaCut_SubDet_iphi
Definition: RecHitTask.h:80
Container1D _cTimingCut_HBHEPrt
Definition: RecHitTask.h:83
ContainerProf2D _cEnergyCut_depth
Definition: RecHitTask.h:73
Container1D _cEnergy_SubDet_ieta
Definition: RecHitTask.h:65
ContainerSingle2D _cSummary
Definition: RecHitTask.h:97
Container2D _cOccupancyCut_depth
Definition: RecHitTask.h:89
Container1D _cTimingCut_SubDet
Definition: RecHitTask.h:76
ContainerProf1D _cTimingvsiphiCut_SubDet_ieta
Definition: RecHitTask.h:81
ContainerProf2D _cEnergy_depth
Definition: RecHitTask.h:69
Container1D _cEnergy_SubDet
Definition: RecHitTask.h:64
Container2D _cTimingvsEnergyCut_SubDetPM_iphi
Definition: RecHitTask.h:94
Container2D _cSummaryvsLS_SubDet
Definition: RecHitTask.h:98
virtual ~RecHitTask()
Definition: RecHitTask.h:22
edm::InputTag _tagHO
Definition: RecHitTask.h:46
ContainerProf2D _cTimingCut_depth
Definition: RecHitTask.h:82
ContainerProf1D _cEnergyvsietaCut_SubDet
Definition: RecHitTask.h:71
edm::InputTag _tagHF
Definition: RecHitTask.h:47
std::vector< std::string > _fNames
Definition: RecHitTask.h:58
ContainerProf1D _cEnergyvsieta_SubDet
Definition: RecHitTask.h:67
ContainerProf1D _cOccupancyvsLS_SubDet
Definition: RecHitTask.h:87
Container1D _cTimingCut_SubDetPM_iphi
Definition: RecHitTask.h:77
edm::EDGetTokenT< HORecHitCollection > _tokHO
Definition: RecHitTask.h:49
edm::InputTag _tagHBHE
Definition: RecHitTask.h:45
ContainerProf1D _cOccupancyCutvsLS_SubDet
Definition: RecHitTask.h:88
ContainerProf1D _cEnergyvsiphiCut_SubDet
Definition: RecHitTask.h:72
Container1D _cOccupancyvsiphi_SubDetPM
Definition: RecHitTask.h:90
ContainerProf1D _cEnergyvsiphi_SubDet
Definition: RecHitTask.h:68
Definition: Run.h:43
Container1D _cTimingCut_SubDet_ieta
Definition: RecHitTask.h:79