CMS 3D CMS Logo

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 
16 
19 
21 
24 
26 
29 
30 // DT trigger
33 
34 #include <vector>
35 #include <string>
36 #include <map>
37 
38 class DTGeometry;
39 class DTChamberId;
40 class DTRecSegment4D;
41 class DTTTrigBaseSync;
42 class DTLocalTrigger;
43 class L1MuDTChambPhDigi;
45 
46 typedef std::array<std::array<std::array<int, 13>, 5>, 6> DTArr3int;
47 typedef std::array<std::array<std::array<std::array<int, 3>, 13>, 5>, 6> DTArr4int;
48 
50  friend class DTMonitorModule;
51 
52 public:
55 
57  ~DTLocalTriggerSynchTask() override;
58 
59 protected:
61  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
62 
64  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
65 
67  void bookHistos(DQMStore::IBooker&, const DTChamberId& dtCh);
68 
70  void analyze(const edm::Event& event, const edm::EventSetup& context) override;
71 
73 
74  const int wheelArrayShift = 3;
75 
76 private:
77  int nevents;
78 
82 
83  float bxTime;
84  bool rangeInBX;
85  int nBXLow;
86  int nBXHigh;
87  float angleRange;
88  float minHitsPhi;
89  int fineDelay;
90  std::unique_ptr<DTTTrigBaseSync> tTrigSync;
91 
93 
95  std::map<uint32_t, std::map<std::string, MonitorElement*> > triggerHistos;
97 
100 };
101 
102 #endif
103 
104 /* Local Variables: */
105 /* show-trailing-whitespace: t */
106 /* truncate-lines: t */
107 /* 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.
std::array< std::array< std::array< std::array< int, 3 >, 13 >, 5 >, 6 > DTArr4int
std::unique_ptr< DTTTrigBaseSync > tTrigSync
edm::ESHandle< DTGeometry > muonGeom
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.