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