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 
25 
27 
30 
31 // DT trigger
34 
35 
36 #include <vector>
37 #include <string>
38 #include <map>
39 
40 class DTGeometry;
41 class DTChamberId;
42 class DTRecSegment4D;
43 class DTTTrigBaseSync;
44 class DTLocalTrigger;
45 class L1MuDTChambPhDigi;
47 
48 typedef std::array<std::array<std::array<int,13>, 5 > ,6> DTArr3int;
49 typedef std::array<std::array<std::array<std::array<int, 3>, 13 >, 5 > ,6> DTArr4int;
50 
52 
53  friend class DTMonitorModule;
54 
55  public:
56 
59 
61  ~DTLocalTriggerSynchTask() override;
62 
63  protected:
64 
66  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
67 
69  void dqmBeginRun(const edm::Run& , const edm::EventSetup&) override;
70 
72  void bookHistos(DQMStore::IBooker &, const DTChamberId& dtCh );
73 
75  void analyze(const edm::Event& event, const edm::EventSetup& context) override;
76 
78 
79  const int wheelArrayShift = 3;
80 
81  private:
82 
83  int nevents;
84 
90 
91  float bxTime;
92  bool rangeInBX;
93  bool processDDU;
94  int nBXLow;
95  int nBXHigh;
96  float angleRange;
97  float minHitsPhi;
98  int fineDelay;
99  std::unique_ptr<DTTTrigBaseSync> tTrigSync;
100 
102 
104  std::map<uint32_t, std::map<std::string, MonitorElement*> > triggerHistos;
106 
110 };
111 
112 #endif
113 
114 /* Local Variables: */
115 /* show-trailing-whitespace: t */
116 /* truncate-lines: t */
117 /* End: */
void analyze(const edm::Event &event, const edm::EventSetup &context) override
Analyze.
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Beginrun.
std::unique_ptr< DTTTrigBaseSync > tTrigSync
edm::EDGetTokenT< DTLocalTriggerCollection > ddu_Token_
edm::ESHandle< DTGeometry > muonGeom
std::array< std::array< std::array< std::array< int, 3 >, 13 >, 5 >,6 > DTArr4int
std::array< std::array< std::array< int, 13 >, 5 >,6 > DTArr3int
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.