CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
DTLocalTriggerSynchTask.h
Go to the documentation of this file.
1 #ifndef DTLocalTriggerSynchTask_H
2 #define DTLocalTriggerSynchTask_H
3 
4 /*
5  * \file DTLocalTriggerSynchTask.h
6  *
7  * \author C. Battilana - CIEMAT
8  *
9 */
10 
14 
17 
19 
21 
23 
27 
28 // DT trigger
31 
32 #include <vector>
33 #include <string>
34 #include <map>
35 
36 class DTGeometry;
37 class DTChamberId;
38 class DTRecSegment4D;
39 class DTTTrigBaseSync;
40 class DTLocalTrigger;
41 class L1MuDTChambPhDigi;
43 
44 typedef std::array<std::array<std::array<int, 13>, 5>, 6> DTArr3int;
45 typedef std::array<std::array<std::array<std::array<int, 3>, 13>, 5>, 6> DTArr4int;
46 
48  friend class DTMonitorModule;
49 
50 public:
53 
55  ~DTLocalTriggerSynchTask() override;
56 
57 protected:
59  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
60 
62  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
63 
65  void bookHistos(DQMStore::IBooker&, const DTChamberId& dtCh);
66 
68  void analyze(const edm::Event& event, const edm::EventSetup& context) override;
69 
71 
72  const int wheelArrayShift = 3;
73 
74 private:
75  int nevents;
76 
80 
81  float bxTime;
82  bool rangeInBX;
83  int nBXLow;
84  int nBXHigh;
85  float angleRange;
86  float minHitsPhi;
87  int fineDelay;
88  std::unique_ptr<DTTTrigBaseSync> tTrigSync;
89 
91 
94  std::map<uint32_t, std::map<std::string, MonitorElement*> > triggerHistos;
96 
99 };
100 
101 #endif
102 
103 /* Local Variables: */
104 /* show-trailing-whitespace: t */
105 /* truncate-lines: t */
106 /* End: */
std::array< std::array< std::array< int, 13 >, 5 >, 6 > DTArr3int
void analyze(const edm::Event &event, const edm::EventSetup &context) override
Analyze.
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Beginrun.
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
std::array< std::array< std::array< std::array< int, 3 >, 13 >, 5 >, 6 > DTArr4int
std::unique_ptr< DTTTrigBaseSync > tTrigSync
DTLocalTriggerSynchTask(const edm::ParameterSet &ps)
Constructor.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Book the histograms.
edm::EDGetTokenT< DTRecSegment4DCollection > seg_Token_
std::map< uint32_t, std::map< std::string, MonitorElement * > > triggerHistos
std::array< std::array< std::array< int, 13 >, 5 >, 6 > DTArr3int
void bookHistos(DQMStore::IBooker &, const DTChamberId &dtCh)
Book the histograms.
edm::EDGetTokenT< L1MuDTChambPhContainer > tm_Token_
Definition: event.py:1
Definition: Run.h:45
~DTLocalTriggerSynchTask() override
Destructor.