CMS 3D CMS Logo

TPTask.h
Go to the documentation of this file.
1 #ifndef TPTask_h
2 #define TPTask_h
3 
21 
22 class TPTask : public hcaldqm::DQTask
23 {
24  public:
25  TPTask(edm::ParameterSet const&);
26  ~TPTask() override {}
27 
29  edm::Run const&, edm::EventSetup const&) override;
31  edm::EventSetup const&) override;
33  edm::EventSetup const&) override;
34 
35  protected:
36  void _process(edm::Event const&, edm::EventSetup const&) override;
37  void _resetMonitors(hcaldqm::UpdateFreq) override;
38 
47 
48  // flag vector
49  std::vector<hcaldqm::flag::Flag> _vflags;
50  enum TPFlag
51  {
52  fEtMsm=0,
58  };
59 
60  // switches/cuts/etc...
61  bool _skip1x1;
62  int _cutEt;
66  std::vector<bool> _vFGBitsReady;
67 
68  // hashes/FEDs vectors
69  std::vector<uint32_t> _vhashFEDs;
70 
71  // emap
73 
74  // Filters
78 
79  // Et/FG
89 
94 
95  // depth like
100 
101  // Et Correlation Ratio
107 
108  // Occupancies
113 
118 
119  // depth like
124 
125  // 2x3 occupancies just in case
128 
129  // Mismatches: Et and FG
140 
141  // Mismatches: data sent vs received
144 
145  // Missing Data w.r.t. Emulator
153 
154  // Missing Emulator w.r.t. Data
162 
163  // Occupancy vs BX and LS
172 
173  // track unknown ids
176 
181 
182  // Temporary storage for occupancy with and without HF TDC cut
185 
186  // Container storing matched sent-received TPs
187  std::vector<std::pair<HcalTriggerPrimitiveDigi, HcalTriggerPrimitiveDigi> > _vTPDigis_SentRec;
188 
189 };
190 
191 #endif
hcaldqm::ContainerProf1D _cEtCorrRatiovsBX_TTSubdet
Definition: TPTask.h:106
hcaldqm::ContainerXXX< uint32_t > _xDataTotal
Definition: TPTask.h:179
bool _skip1x1
Definition: TPTask.h:61
hcaldqm::ContainerProf1D _cMsnCutEmulvsBX_TTSubdet
Definition: TPTask.h:161
hcaldqm::Container2D _cMsnData_ElectronicsVME
Definition: TPTask.h:146
hcaldqm::Container1D _cEtEmul_TTSubdet
Definition: TPTask.h:81
hcaldqm::ContainerSingleProf2D _cEtData_depthlike
Definition: TPTask.h:96
edm::InputTag _tagData
Definition: TPTask.h:39
hcaldqm::ContainerProf1D _cMsnDatavsBX_TTSubdet
Definition: TPTask.h:151
double _thresh_FGMsmRate_high
Definition: TPTask.h:63
hcaldqm::ContainerSingle2D _cOccupancyCutEmul_depthlike
Definition: TPTask.h:123
hcaldqm::ContainerProf1D _cMsnDatavsLS_TTSubdet
Definition: TPTask.h:149
edm::InputTag _tagDataL1Rec
Definition: TPTask.h:40
std::vector< uint32_t > _vhashFEDs
Definition: TPTask.h:69
hcaldqm::ContainerProf1D _cEtMsmvsLS_TTSubdet
Definition: TPTask.h:136
hcaldqm::Container2D _cOccupancyData_ElectronicsVME
Definition: TPTask.h:109
hcaldqm::ContainerProf1D _cEtCutEmulvsLS_TTSubdet
Definition: TPTask.h:86
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: TPTask.h:72
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokData
Definition: TPTask.h:43
std::vector< std::pair< HcalTriggerPrimitiveDigi, HcalTriggerPrimitiveDigi > > _vTPDigis_SentRec
Definition: TPTask.h:187
UpdateFreq
Definition: DQTask.h:17
MonitorElement * meUnknownIds1LS
Definition: TPTask.h:174
hcaldqm::ContainerSingleProf2D _cEtCorrRatio_depthlike
Definition: TPTask.h:104
hcaldqm::ContainerProf1D _cMsnCutDatavsBX_TTSubdet
Definition: TPTask.h:152
int _cutEt
Definition: TPTask.h:62
hcaldqm::ContainerProf1D _cMsnCutDatavsLS_TTSubdet
Definition: TPTask.h:150
hcaldqm::ContainerSingle2D _cOccupancyCutData_depthlike
Definition: TPTask.h:122
double _thresh_FGMsmRate_low
Definition: TPTask.h:63
hcaldqm::ContainerProf1D _cOccupancyDatavsLS_TTSubdet
Definition: TPTask.h:168
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokEmulNoTDCCut
Definition: TPTask.h:46
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokDataL1Rec
Definition: TPTask.h:44
hcaldqm::Container2D _cOccupancyEmul_ElectronicsVME
Definition: TPTask.h:111
hcaldqm::ContainerProf1D _cEtMsmRatiovsLS_TTSubdet
Definition: TPTask.h:137
hcaldqm::ContainerSingle2D _cOccupancyEmul2x3_depthlike
Definition: TPTask.h:127
hcaldqm::ContainerProf1D _cMsnEmulvsBX_TTSubdet
Definition: TPTask.h:160
double _thresh_EtMsmRate_low
Definition: TPTask.h:63
hcaldqm::ContainerProf2D _cEtCorrRatio_ElectronicsuTCA
Definition: TPTask.h:103
hcaldqm::Container2D _cFGCorr_TTSubdet[hcaldqm::constants::NUM_FGBITS]
Definition: TPTask.h:84
hcaldqm::ContainerXXX< uint32_t > _xDataMsn
Definition: TPTask.h:179
hcaldqm::filter::HashFilter _filter_uTCA
Definition: TPTask.h:76
double _thresh_EmulMsn
Definition: TPTask.h:63
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: TPTask.h:177
edm::InputTag _tagEmulNoTDCCut
Definition: TPTask.h:42
hcaldqm::Container2D _cOccupancyCutData_ElectronicsVME
Definition: TPTask.h:114
std::vector< hcaldqm::flag::Flag > _vflags
Definition: TPTask.h:49
hcaldqm::ContainerSingle1D _cEtMsm_uHTR_L1T_LS
Definition: TPTask.h:143
~TPTask() override
Definition: TPTask.h:26
hcaldqm::ContainerXXX< uint32_t > _xEmulMsn
Definition: TPTask.h:179
void _resetMonitors(hcaldqm::UpdateFreq) override
Definition: TPTask.cc:602
hcaldqm::ContainerProf2D _cEtData_ElectronicsVME
Definition: TPTask.h:90
hcaldqm::ContainerProf1D _cEtMsmvsBX_TTSubdet
Definition: TPTask.h:138
TPTask(edm::ParameterSet const &)
Definition: TPTask.cc:7
hcaldqm::ContainerProf1D _cOccupancyDatavsBX_TTSubdet
Definition: TPTask.h:164
hcaldqm::ContainerProf2D _cEtEmul_ElectronicsuTCA
Definition: TPTask.h:93
hcaldqm::ContainerProf1D _cEtCorrRatiovsLS_TTSubdet
Definition: TPTask.h:105
hcaldqm::ContainerSingle2D _cOccupancyData2x3_depthlike
Definition: TPTask.h:126
hcaldqm::ContainerSingle2D _cFGMsm_depthlike
Definition: TPTask.h:135
hcaldqm::ContainerProf2D _cEtEmul_ElectronicsVME
Definition: TPTask.h:92
hcaldqm::filter::HashFilter _filter_depth0
Definition: TPTask.h:77
hcaldqm::ContainerProf2D _cEtCorrRatio_ElectronicsVME
Definition: TPTask.h:102
hcaldqm::ContainerXXX< uint32_t > _xEtMsm
Definition: TPTask.h:179
hcaldqm::Container2D _cEtMsm_ElectronicsuTCA
Definition: TPTask.h:131
hcaldqm::Container2D _cOccupancyCutEmul_ElectronicsuTCA
Definition: TPTask.h:117
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: TPTask.cc:51
hcaldqm::ContainerSingle2D _cOccupancy_HF_depth
Definition: TPTask.h:183
double _thresh_EtMsmRate_high
Definition: TPTask.h:63
hcaldqm::ContainerProf1D _cOccupancyCutDatavsLS_TTSubdet
Definition: TPTask.h:170
hcaldqm::Container2D _cOccupancyCutData_ElectronicsuTCA
Definition: TPTask.h:115
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: TPTask.h:178
hcaldqm::ContainerSingle2D _cOccupancyData_depthlike
Definition: TPTask.h:120
hcaldqm::Container2D _cOccupancyCutEmul_ElectronicsVME
Definition: TPTask.h:116
hcaldqm::ContainerSingle2D _cEtMsm_depthlike
Definition: TPTask.h:134
hcaldqm::ContainerProf1D _cEtCutDatavsLS_TTSubdet
Definition: TPTask.h:85
hcaldqm::Container2D _cMsnData_ElectronicsuTCA
Definition: TPTask.h:147
hcaldqm::Container2D _cFGMsm_ElectronicsVME
Definition: TPTask.h:132
hcaldqm::Container2D _cMsnEmul_ElectronicsuTCA
Definition: TPTask.h:156
hcaldqm::ContainerProf1D _cOccupancyEmulvsBX_TTSubdet
Definition: TPTask.h:165
hcaldqm::ContainerXXX< uint32_t > _xEmulTotal
Definition: TPTask.h:179
double _thresh_DataMsn
Definition: TPTask.h:63
hcaldqm::ContainerXXX< uint32_t > _xSentRecL1Msm
Definition: TPTask.h:179
hcaldqm::Container2D _cFGMsm_ElectronicsuTCA
Definition: TPTask.h:133
hcaldqm::ContainerProf1D _cEtCutDatavsBX_TTSubdet
Definition: TPTask.h:87
hcaldqm::ContainerSingle2D _cEtMsm_uHTR_L1T_depthlike
Definition: TPTask.h:142
std::vector< bool > _vFGBitsReady
Definition: TPTask.h:66
hcaldqm::ContainerProf1D _cOccupancyCutEmulvsBX_TTSubdet
Definition: TPTask.h:167
hcaldqm::ContainerXXX< uint32_t > _xFGMsm
Definition: TPTask.h:179
hcaldqm::Container2D _cOccupancyEmul_ElectronicsuTCA
Definition: TPTask.h:112
hcaldqm::ContainerProf1D _cOccupancyCutDatavsBX_TTSubdet
Definition: TPTask.h:166
hcaldqm::ContainerSingle1D _cOccupancyNoTDC_HF_ieta
Definition: TPTask.h:184
hcaldqm::ContainerSingle2D _cOccupancyEmul_depthlike
Definition: TPTask.h:121
hcaldqm::Container2D _cOccupancyData_ElectronicsuTCA
Definition: TPTask.h:110
int const NUM_FGBITS
Definition: Constants.h:228
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokEmul
Definition: TPTask.h:45
hcaldqm::ContainerProf1D _cEtCutEmulvsBX_TTSubdet
Definition: TPTask.h:88
hcaldqm::Container2D _cEtMsm_ElectronicsVME
Definition: TPTask.h:130
hcaldqm::Container2D _cEtCorr2x3_TTSubdet
Definition: TPTask.h:83
hcaldqm::Container2D _cEtCorr_TTSubdet
Definition: TPTask.h:82
hcaldqm::ContainerSingle2D _cOccupancyNoTDC_HF_depth
Definition: TPTask.h:183
hcaldqm::ContainerSingleProf2D _cEtEmul_depthlike
Definition: TPTask.h:97
Definition: TPTask.py:1
hcaldqm::ContainerXXX< uint32_t > _xNumCorr
Definition: TPTask.h:179
bool _unknownIdsPresent
Definition: TPTask.h:175
hcaldqm::filter::HashFilter _filter_VME
Definition: TPTask.h:75
void _process(edm::Event const &, edm::EventSetup const &) override
Definition: TPTask.cc:615
hcaldqm::ContainerProf1D _cOccupancyEmulvsLS_TTSubdet
Definition: TPTask.h:169
TPFlag
Definition: TPTask.h:50
hcaldqm::ContainerProf1D _cOccupancyCutEmulvsLS_TTSubdet
Definition: TPTask.h:171
hcaldqm::ContainerProf1D _cEtMsmRatiovsBX_TTSubdet
Definition: TPTask.h:139
edm::InputTag _tagEmul
Definition: TPTask.h:41
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: TPTask.cc:1130
hcaldqm::ContainerSingleProf2D _cEtCutEmul_depthlike
Definition: TPTask.h:99
hcaldqm::ContainerProf2D _cEtData_ElectronicsuTCA
Definition: TPTask.h:91
hcaldqm::ContainerProf1D _cMsnEmulvsLS_TTSubdet
Definition: TPTask.h:158
hcaldqm::ContainerSingle1D _cOccupancy_HF_ieta
Definition: TPTask.h:184
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: TPTask.cc:1124
hcaldqm::ContainerSingle2D _cMsnData_depthlike
Definition: TPTask.h:148
hcaldqm::ContainerSingleProf2D _cEtCutData_depthlike
Definition: TPTask.h:98
Definition: Run.h:44
hcaldqm::Container1D _cEtData_TTSubdet
Definition: TPTask.h:80
hcaldqm::ContainerSingle2D _cMsnEmul_depthlike
Definition: TPTask.h:157
hcaldqm::ContainerProf1D _cMsnCutEmulvsLS_TTSubdet
Definition: TPTask.h:159
hcaldqm::Container2D _cMsnEmul_ElectronicsVME
Definition: TPTask.h:155