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 
4 /*
5  * file: TPTask.h
6  * Author: Viktor Khristenko
7  * Date: 13.10.2015
8  */
9 
16 
17  using namespace hcaldqm;
18  class TPTask : public DQTask
19  {
20  public:
21  TPTask(edm::ParameterSet const& ps);
22  virtual ~TPTask()
23  {}
24 
25  virtual void bookHistograms(DQMStore::IBooker &,
26  edm::Run const&, edm::EventSetup const&);
27  virtual void endLuminosityBlock(edm::LuminosityBlock const&,
28  edm::EventSetup const&);
29 
30  enum TPFlag
31  {
32  fOccUniphi_Data = 0,
33  fOccUniphi_Emul = 1,
34  fLowOcp_Emul = 2,
35  fCorrRatio = 3,
36  fCorrUniphi = 4,
37  fMsmEtUniphi = 5,
38  fMsmEtNum = 6,
39  fMsnUniphi_Data = 7,
40 
41  nTPFlag = 9
42  };
43 
44  protected:
45  // protected funcs
46  virtual void _process(edm::Event const&, edm::EventSetup const&);
47  virtual void _resetMonitors(UpdateFreq);
48 
49  // tags and tokens
54 
55  // counters
58  int _nTPs_Data[constants::TPSUBDET_NUM];
59  int _nTPs_Emul[constants::TPSUBDET_NUM];
60 
61  // some tmp flags
62  bool _skip1x1;
63 
64  // dqm flags
65  std::vector<std::string> _fNames;
66 
67  // Et
80 
83 
84  // FG
87 
88  // Occupancy
98 
99  // Special
102 
103  // Summaries
106  };
107 
108 #endif
109 
110 
111 
112 
Container1D _cSumdEt_TPSubDet
Definition: TPTask.h:79
Container1D _cNumEtMsmvsiphi_TPSubDetPM
Definition: TPTask.h:77
bool _skip1x1
Definition: TPTask.h:62
edm::InputTag _tagData
Definition: TPTask.h:50
Container1D _cEtData_SubDetPM_iphi
Definition: TPTask.h:81
ContainerSingle2D _cMsData
Definition: TPTask.h:95
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokData
Definition: TPTask.h:52
Container1D _cOccupancyEmulvsiphi_TPSubDetPM
Definition: TPTask.h:92
std::vector< std::string > _fNames
Definition: TPTask.h:65
virtual ~TPTask()
Definition: TPTask.h:22
ContainerProf1D _cNumEtMsmvsLS_TPSubDet
Definition: TPTask.h:75
UpdateFreq
Definition: DQTask.h:16
Container1D _cEtEmul_SubDet
Definition: TPTask.h:69
void bookHistograms(fwlite::EventContainer &eventCont)
ContainerSingle2D _cOccupancyEmul
Definition: TPTask.h:90
ContainerSingle2D _cFGMsm
Definition: TPTask.h:86
Container1D _cMsDatavsiphi_TPSubDetPM
Definition: TPTask.h:96
Container1D _cEtData_SubDet
Definition: TPTask.h:68
ContainerProf1D _cOccupancyDatavsLS_TPSubDet
Definition: TPTask.h:93
ContainerSingle2D _cEtMsm
Definition: TPTask.h:74
ContainerProf1D _cOccupancyEmulvsLS_TPSubDet
Definition: TPTask.h:94
Container1D _cNumEtMsm_TPSubDet
Definition: TPTask.h:76
Container1D _cEtCorrRatio_TPSubDet
Definition: TPTask.h:72
Container2D _cSummaryvsLS_TPSubDet
Definition: TPTask.h:105
ContainerProf1D _cEtCorrRatiovsiphi_TPSubDetPM
Definition: TPTask.h:73
ContainerProf1D _cDigiSizeDatavsLS_TPSubDet
Definition: TPTask.h:100
ContainerProf1D _cDigiSizeEmulvsLS_TPSubDet
Definition: TPTask.h:101
Container1D _cOccupancyDatavsiphi_TPSubDetPM
Definition: TPTask.h:91
Container2D _cFGCorr_SubDet
Definition: TPTask.h:85
ContainerProf1D _cSumdEtvsLS_TPSubDet
Definition: TPTask.h:78
ContainerProf1D _cEtCorrRatiovsLS_TPSubDet
Definition: TPTask.h:71
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokEmul
Definition: TPTask.h:53
int const TPSUBDET_NUM
Definition: Constants.h:88
Container1D _cEtData_SubDet_ieta
Definition: TPTask.h:82
Definition: TPTask.h:18
Container2D _cEtCorr_TPSubDet
Definition: TPTask.h:70
TPFlag
Definition: TPTask.h:30
ContainerSingle2D _cOccupancyData
Definition: TPTask.h:89
edm::InputTag _tagEmul
Definition: TPTask.h:51
ContainerSingle2D _cSummary
Definition: TPTask.h:104
Definition: Run.h:43
ContainerSingle2D _cMsEmul
Definition: TPTask.h:97