test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TPTask.h
Go to the documentation of this file.
1 #ifndef TPTask_h
2 #define TPTask_h
3 
21 
22 using namespace hcaldqm;
23 using namespace hcaldqm::filter;
24 class TPTask : public DQTask
25 {
26  public:
27  TPTask(edm::ParameterSet const&);
28  virtual ~TPTask() {}
29 
30  virtual void bookHistograms(DQMStore::IBooker&,
31  edm::Run const&, edm::EventSetup const&);
32  virtual void endLuminosityBlock(edm::LuminosityBlock const&,
33  edm::EventSetup const&);
34  virtual void beginLuminosityBlock(edm::LuminosityBlock const&,
35  edm::EventSetup const&);
36 
37  protected:
38  virtual void _process(edm::Event const&, edm::EventSetup const&);
39  virtual void _resetMonitors(UpdateFreq);
40 
45 
46  // flag vector
47  std::vector<flag::Flag> _vflags;
48  enum TPFlag
49  {
50  fEtMsm=0,
51  fFGMsm=1,
52  fDataMsn=2,
53  fEmulMsn=3,
54  nTPFlag=4
55  };
56 
57  // switches/cuts/etc...
58  bool _skip1x1;
59  int _cutEt;
60  double _thresh_EtMsmRate,_thresh_FGMsmRate,_thresh_DataMsn,
61  _thresh_EmulMsn;
62 
63  // hashes/FEDs vectors
64  std::vector<uint32_t> _vhashFEDs;
65 
66  // emap
69 
70  // Filters
74 
75  // Et/FG
85 
90 
91  // depth like
96 
97  // Et Correlation Ratio
103 
104  // Occupancies
109 
114 
115  // depth like
120 
121  // 2x3 occupancies just in case
124 
125  // Mismatches: Et and FG
136 
137  // Missing Data w.r.t. Emulator
145 
146  // Missing Emulator w.r.t. Data
154 
155  // Occupancy vs BX and LS
164 
165 
169  _xDataMsn, _xDataTotal, _xEmulMsn, _xEmulTotal;
170 };
171 
172 #endif
HashFilter _filter_uTCA
Definition: TPTask.h:72
Container2D _cMsnEmul_ElectronicsVME
Definition: TPTask.h:147
ContainerSingle2D _cEtMsm_depthlike
Definition: TPTask.h:130
bool _skip1x1
Definition: TPTask.h:58
HashFilter _filter_depth0
Definition: TPTask.h:73
edm::InputTag _tagData
Definition: TPTask.h:41
ContainerSingleProf2D _cEtEmul_depthlike
Definition: TPTask.h:93
Container2D _cEtMsm_ElectronicsVME
Definition: TPTask.h:126
ContainerProf1D _cEtCutEmulvsBX_TTSubdet
Definition: TPTask.h:84
ContainerSingle2D _cMsnEmul_depthlike
Definition: TPTask.h:149
std::vector< uint32_t > _vhashFEDs
Definition: TPTask.h:64
ContainerProf1D _cOccupancyCutEmulvsLS_TTSubdet
Definition: TPTask.h:163
std::vector< flag::Flag > _vflags
Definition: TPTask.h:47
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokData
Definition: TPTask.h:43
ContainerProf1D _cEtCutEmulvsLS_TTSubdet
Definition: TPTask.h:82
virtual ~TPTask()
Definition: TPTask.h:28
UpdateFreq
Definition: DQTask.h:17
ContainerProf1D _cOccupancyEmulvsLS_TTSubdet
Definition: TPTask.h:161
int _cutEt
Definition: TPTask.h:59
ContainerProf1D _cEtCorrRatiovsLS_TTSubdet
Definition: TPTask.h:101
Container1D _cEtEmul_TTSubdet
Definition: TPTask.h:77
ContainerProf1D _cEtCutDatavsLS_TTSubdet
Definition: TPTask.h:81
ContainerXXX< uint32_t > _xNumCorr
Definition: TPTask.h:168
HashFilter _filter_VME
Definition: TPTask.h:71
ContainerProf2D _cEtEmul_ElectronicsuTCA
Definition: TPTask.h:89
ContainerProf1D _cOccupancyCutEmulvsBX_TTSubdet
Definition: TPTask.h:159
void bookHistograms(fwlite::EventContainer &eventCont)
ContainerProf1D _cMsnCutEmulvsLS_TTSubdet
Definition: TPTask.h:151
Container2D _cFGMsm_ElectronicsuTCA
Definition: TPTask.h:129
ContainerProf1D _cOccupancyCutDatavsLS_TTSubdet
Definition: TPTask.h:162
Container2D _cFGMsm_ElectronicsVME
Definition: TPTask.h:128
Container2D _cOccupancyCutEmul_ElectronicsuTCA
Definition: TPTask.h:113
Container2D _cEtCorr2x3_TTSubdet
Definition: TPTask.h:79
Container2D _cMsnEmul_ElectronicsuTCA
Definition: TPTask.h:148
ContainerProf1D _cMsnCutDatavsBX_TTSubdet
Definition: TPTask.h:144
ContainerSingle2D _cFGMsm_depthlike
Definition: TPTask.h:131
ContainerSingleProf2D _cEtCutEmul_depthlike
Definition: TPTask.h:95
HcalElectronicsMap const * _emap
Definition: TPTask.h:67
Container2D _cEtCorr_TTSubdet
Definition: TPTask.h:78
ContainerSingle2D _cOccupancyData_depthlike
Definition: TPTask.h:116
double _thresh_FGMsmRate
Definition: TPTask.h:60
ContainerProf1D _cEtMsmvsLS_TTSubdet
Definition: TPTask.h:132
ContainerProf1D _cMsnDatavsBX_TTSubdet
Definition: TPTask.h:143
ContainerSingle2D _cSummaryvsLS
Definition: TPTask.h:167
Container2D _cOccupancyEmul_ElectronicsVME
Definition: TPTask.h:107
Container2D _cOccupancyEmul_ElectronicsuTCA
Definition: TPTask.h:108
Container2D _cMsnData_ElectronicsVME
Definition: TPTask.h:138
ContainerProf2D _cEtData_ElectronicsuTCA
Definition: TPTask.h:87
ContainerProf2D _cEtCorrRatio_ElectronicsuTCA
Definition: TPTask.h:99
ContainerProf1D _cOccupancyEmulvsBX_TTSubdet
Definition: TPTask.h:157
ContainerProf1D _cMsnEmulvsLS_TTSubdet
Definition: TPTask.h:150
Container2D _cFGCorr_TTSubdet
Definition: TPTask.h:80
ContainerProf1D _cEtCutDatavsBX_TTSubdet
Definition: TPTask.h:83
ContainerProf2D _cEtEmul_ElectronicsVME
Definition: TPTask.h:88
ContainerProf1D _cMsnEmulvsBX_TTSubdet
Definition: TPTask.h:152
ContainerSingleProf2D _cEtCutData_depthlike
Definition: TPTask.h:94
ContainerSingle2D _cOccupancyCutData_depthlike
Definition: TPTask.h:118
ContainerSingle2D _cOccupancyEmul_depthlike
Definition: TPTask.h:117
Container2D _cSummaryvsLS_FED
Definition: TPTask.h:166
ContainerProf1D _cOccupancyDatavsBX_TTSubdet
Definition: TPTask.h:156
ContainerProf2D _cEtData_ElectronicsVME
Definition: TPTask.h:86
Container2D _cOccupancyCutData_ElectronicsVME
Definition: TPTask.h:110
Container2D _cOccupancyData_ElectronicsuTCA
Definition: TPTask.h:106
ContainerProf1D _cMsnCutDatavsLS_TTSubdet
Definition: TPTask.h:142
ContainerSingleProf2D _cEtData_depthlike
Definition: TPTask.h:92
ContainerProf1D _cMsnCutEmulvsBX_TTSubdet
Definition: TPTask.h:153
ContainerProf1D _cEtMsmvsBX_TTSubdet
Definition: TPTask.h:134
Container1D _cEtData_TTSubdet
Definition: TPTask.h:76
ContainerSingleProf2D _cEtCorrRatio_depthlike
Definition: TPTask.h:100
ContainerSingle2D _cMsnData_depthlike
Definition: TPTask.h:140
ContainerProf2D _cEtCorrRatio_ElectronicsVME
Definition: TPTask.h:98
Container2D _cEtMsm_ElectronicsuTCA
Definition: TPTask.h:127
ContainerSingle2D _cOccupancyEmul2x3_depthlike
Definition: TPTask.h:123
Container2D _cMsnData_ElectronicsuTCA
Definition: TPTask.h:139
ContainerSingle2D _cOccupancyData2x3_depthlike
Definition: TPTask.h:122
ContainerProf1D _cMsnDatavsLS_TTSubdet
Definition: TPTask.h:141
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokEmul
Definition: TPTask.h:44
Definition: TPTask.h:24
ContainerSingle2D _cOccupancyCutEmul_depthlike
Definition: TPTask.h:119
ContainerProf1D _cEtMsmRatiovsLS_TTSubdet
Definition: TPTask.h:133
ContainerProf1D _cEtMsmRatiovsBX_TTSubdet
Definition: TPTask.h:135
TPFlag
Definition: TPTask.h:48
ContainerProf1D _cOccupancyDatavsLS_TTSubdet
Definition: TPTask.h:160
edm::InputTag _tagEmul
Definition: TPTask.h:42
Container2D _cOccupancyData_ElectronicsVME
Definition: TPTask.h:105
ContainerProf1D _cOccupancyCutDatavsBX_TTSubdet
Definition: TPTask.h:158
ContainerProf1D _cEtCorrRatiovsBX_TTSubdet
Definition: TPTask.h:102
Container2D _cOccupancyCutData_ElectronicsuTCA
Definition: TPTask.h:111
electronicsmap::ElectronicsMap _ehashmap
Definition: TPTask.h:68
Definition: Run.h:43
Container2D _cOccupancyCutEmul_ElectronicsVME
Definition: TPTask.h:112