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 
25 
26 using namespace hcaldqm;
27 using namespace hcaldqm::filter;
28 class RecHitTask : public DQTask
29 {
30  public:
32  virtual ~RecHitTask() {}
33 
34  virtual void bookHistograms(DQMStore::IBooker&,
35  edm::Run const&, edm::EventSetup const&);
36  virtual void beginLuminosityBlock(edm::LuminosityBlock const&,
37  edm::EventSetup const&);
38  virtual void endLuminosityBlock(edm::LuminosityBlock const&,
39  edm::EventSetup const&);
40 
41  protected:
42  virtual void _process(edm::Event const&, edm::EventSetup const&);
43  virtual void _resetMonitors(UpdateFreq);
44 
51 
52  double _cutE_HBHE, _cutE_HO, _cutE_HF;
53  double _thresh_unihf;
54 
55  // hashes/FED vectors
56  std::vector<uint32_t> _vhashFEDs;
57 
58  // flag vectors
59  std::vector<flag::Flag> _vflags;
60  enum RecoFlag
61  {
62  fUni=0,
63  fTCDS=1,
64  nRecoFlag=2
65  };
66 
67  // emap
70 
71  // Filters
76 
77  // Energy. Just filling. No Summary Generation
84 
85  // Timing vs Energy. No Summary Generation
87 
88  // Timing. HBHE Partition is used for TCDS shift monitoring
100 
101  // Occupancy w/o a cut. Used for checking missing channels
110 
111  // Occupancy w/ a Cut.
123 
124  std::vector<HcalGenericDetId> _gids; // online only
127 };
128 
129 #endif
ContainerProf1D _cOccupancyvsLS_Subdet
Definition: RecHitTask.h:107
ContainerProf1D _cTimingCutvsBX_SubdetPM
Definition: RecHitTask.h:99
ContainerProf1D _cTimingCutvsieta_Subdet
Definition: RecHitTask.h:97
std::vector< uint32_t > _vhashFEDs
Definition: RecHitTask.h:56
ContainerProf2D _cTimingCut_ElectronicsuTCA
Definition: RecHitTask.h:94
edm::EDGetTokenT< HBHERecHitCollection > _tokHBHE
Definition: RecHitTask.h:48
ContainerProf1D _cEnergyvsiphi_SubdetPM
Definition: RecHitTask.h:80
double _cutE_HO
Definition: RecHitTask.h:52
HashFilter _filter_FEDsVME
Definition: RecHitTask.h:74
Container2D _cOccupancy_ElectronicsVME
Definition: RecHitTask.h:105
ContainerProf1D _cOccupancyCutvsLS_Subdet
Definition: RecHitTask.h:116
edm::EDGetTokenT< HFRecHitCollection > _tokHF
Definition: RecHitTask.h:50
std::vector< HcalGenericDetId > _gids
Definition: RecHitTask.h:124
Container2D _cOccupancy_depth
Definition: RecHitTask.h:102
ContainerProf2D _cTimingCut_FEDVME
Definition: RecHitTask.h:91
UpdateFreq
Definition: DQTask.h:17
ContainerProf2D _cTimingCut_FEDuTCA
Definition: RecHitTask.h:92
Container1D _cOccupancyvsiphi_SubdetPM
Definition: RecHitTask.h:108
Container2D _cOccupancyCutvsiphivsLS_SubdetPM
Definition: RecHitTask.h:121
ContainerProf2D _cTimingCut_ElectronicsVME
Definition: RecHitTask.h:93
ContainerProf1D _cTimingCutvsLS_FED
Definition: RecHitTask.h:96
ContainerXXX< uint32_t > _xUniHF
Definition: RecHitTask.h:122
Container1D _cTimingCut_HBHEPartition
Definition: RecHitTask.h:90
Container2D _cOccupancy_FEDVME
Definition: RecHitTask.h:103
Container1D _cOccupancyvsieta_Subdet
Definition: RecHitTask.h:109
Container2D _cOccupancy_FEDuTCA
Definition: RecHitTask.h:104
ContainerProf1D _cEnergyvsieta_Subdet
Definition: RecHitTask.h:79
void bookHistograms(fwlite::EventContainer &eventCont)
std::vector< flag::Flag > _vflags
Definition: RecHitTask.h:59
Container2D _cOccupancyCut_FEDVME
Definition: RecHitTask.h:112
Container1D _cTimingCut_SubdetPM
Definition: RecHitTask.h:89
ContainerSingle2D _cSummaryvsLS
Definition: RecHitTask.h:126
electronicsmap::ElectronicsMap _ehashmap
Definition: RecHitTask.h:69
Container2D _cOccupancyCut_depth
Definition: RecHitTask.h:117
Container1D _cOccupancyCutvsiphi_SubdetPM
Definition: RecHitTask.h:118
Container2D _cOccupancyCut_FEDuTCA
Definition: RecHitTask.h:113
Container2D _cOccupancy_ElectronicsuTCA
Definition: RecHitTask.h:106
ContainerProf2D _cEnergy_depth
Definition: RecHitTask.h:81
double _thresh_unihf
Definition: RecHitTask.h:53
ContainerProf1D _cEnergyvsBX_SubdetPM
Definition: RecHitTask.h:83
HashFilter _filter_FEDsuTCA
Definition: RecHitTask.h:75
HashFilter _filter_VME
Definition: RecHitTask.h:72
ContainerProf1D _cEnergyvsLS_SubdetPM
Definition: RecHitTask.h:82
virtual ~RecHitTask()
Definition: RecHitTask.h:32
edm::InputTag _tagHO
Definition: RecHitTask.h:46
ContainerProf2D _cTimingCut_depth
Definition: RecHitTask.h:95
Container1D _cEnergy_Subdet
Definition: RecHitTask.h:78
Container1D _cOccupancyCutvsieta_Subdet
Definition: RecHitTask.h:119
edm::InputTag _tagHF
Definition: RecHitTask.h:47
ContainerProf1D _cOccupancyCutvsBX_SubdetPM
Definition: RecHitTask.h:120
HashFilter _filter_uTCA
Definition: RecHitTask.h:73
HcalElectronicsMap const * _emap
Definition: RecHitTask.h:68
Container2D _cSummaryvsLS_FED
Definition: RecHitTask.h:125
edm::EDGetTokenT< HORecHitCollection > _tokHO
Definition: RecHitTask.h:49
edm::InputTag _tagHBHE
Definition: RecHitTask.h:45
ContainerProf1D _cTimingCutvsiphi_SubdetPM
Definition: RecHitTask.h:98
Container2D _cTimingvsEnergy_SubdetPM
Definition: RecHitTask.h:86
Container2D _cOccupancyCut_ElectronicsVME
Definition: RecHitTask.h:114
Definition: Run.h:43
Container2D _cOccupancyCut_ElectronicsuTCA
Definition: RecHitTask.h:115