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