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