CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RawTask.h
Go to the documentation of this file.
1 #ifndef RawTask_h
2 #define RawTask_h
3 
4 /*
5  * file: RawTask.h
6  * Author: Viktor Khristenko
7  * Date: 16.10.2015
8  */
9 
17 
18 using namespace hcaldqm;
19 class RawTask : public DQTask
20 {
21  public:
22  RawTask(edm::ParameterSet const&);
23  virtual ~RawTask()
24  {}
25 
26  virtual void bookHistograms(DQMStore::IBooker&,
27  edm::Run const&, edm::EventSetup const&);
28  virtual void endLuminosityBlock(edm::LuminosityBlock const&,
29  edm::EventSetup const&);
30 
31  enum RawFlag
32  {
33  fEvnMsm = 0,
34  fOrnMsm = 1,
35  fBcnMsm = 2,
36 
37  nRawFlag = 3
38  };
39 
40  protected:
41  // funcs
42  virtual void _process(edm::Event const&, edm::EventSetup const&);
43  virtual void _resetMonitors(UpdateFreq);
44 
45  // FED Skip List
46  std::vector<int> _vSkipFEDList;
47 
48  // Tags and Tokens
51 
52  // Flag Names
53  std::vector<std::string> _fNames;
54 
55  // Counters
56  int _nEvnMsm[constants::FED_VME_NUM+
58  int _nOrnMsm[constants::FED_VME_NUM+
60  int _nBcnMsm[constants::FED_VME_NUM+
62 
63  // Cuts
64 
65  // Containers by quantities
66 
67  // Evn/Bcn/Orn Mismatch
74 
75  // Occupancy
78 
79  // Summary Containers
82 };
83 
84 #endif
85 
86 
87 
88 
89 
90 
91 
ContainerSingle2D _cVMEBcnMsm
Definition: RawTask.h:69
RawFlag
Definition: RawTask.h:31
ContainerSingle2D _cVMEEvnMsm
Definition: RawTask.h:68
ContainerSingle2D _cuTCABcnMsm
Definition: RawTask.h:72
ContainerSingle2D _cVMEOccupancy
Definition: RawTask.h:76
ContainerSingle2D _cuTCAOccupancy
Definition: RawTask.h:77
UpdateFreq
Definition: DQTask.h:16
void bookHistograms(fwlite::EventContainer &eventCont)
std::vector< int > _vSkipFEDList
Definition: RawTask.h:46
ContainerSingle2D _cuTCAEvnMsm
Definition: RawTask.h:71
ContainerSingle2D _cSummary
Definition: RawTask.h:80
ContainerSingle2D _cuTCAOrnMsm
Definition: RawTask.h:73
edm::EDGetTokenT< FEDRawDataCollection > _tokFEDs
Definition: RawTask.h:50
virtual ~RawTask()
Definition: RawTask.h:23
Container2D _cSummaryvsLS_FED
Definition: RawTask.h:81
int const FED_uTCA_NUM
Definition: Constants.h:33
ContainerSingle2D _cVMEOrnMsm
Definition: RawTask.h:70
int const FED_VME_NUM
Definition: Constants.h:29
edm::InputTag _tagFEDs
Definition: RawTask.h:49
std::vector< std::string > _fNames
Definition: RawTask.h:53
Definition: Run.h:43