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