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