CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 
16 
19 
21 
24 
26 
30 
31 // DT trigger
34 
35 #include <vector>
36 #include <string>
37 #include <map>
38 
39 class DTGeometry;
40 class DTChamberId;
41 class DTRecSegment4D;
42 class DTTTrigBaseSync;
43 class DTLocalTrigger;
44 class L1MuDTChambPhDigi;
46 
47 typedef std::array<std::array<std::array<int, 13>, 5>, 6> DTArr3int;
48 typedef std::array<std::array<std::array<std::array<int, 3>, 13>, 5>, 6> DTArr4int;
49 
51  friend class DTMonitorModule;
52 
53 public:
56 
58  ~DTLocalTriggerSynchTask() override;
59 
60 protected:
62  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
63 
65  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
66 
68  void bookHistos(DQMStore::IBooker&, const DTChamberId& dtCh);
69 
71  void analyze(const edm::Event& event, const edm::EventSetup& context) override;
72 
74 
75  const int wheelArrayShift = 3;
76 
77 private:
78  int nevents;
79 
83 
84  float bxTime;
85  bool rangeInBX;
86  int nBXLow;
87  int nBXHigh;
88  float angleRange;
89  float minHitsPhi;
90  int fineDelay;
91  std::unique_ptr<DTTTrigBaseSync> tTrigSync;
92 
94 
97  std::map<uint32_t, std::map<std::string, MonitorElement*> > triggerHistos;
99 
102 };
103 
104 #endif
105 
106 /* Local Variables: */
107 /* show-trailing-whitespace: t */
108 /* truncate-lines: t */
109 /* End: */
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: Run.h:45
~DTLocalTriggerSynchTask() override
Destructor.