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: */
DTGeometry
Definition: DTGeometry.h:28
DTRecSegment4D
Definition: DTRecSegment4D.h:23
Handle.h
DTLocalTriggerSynchTask::analyze
void analyze(const edm::Event &event, const edm::EventSetup &context) override
Analyze.
Definition: DTLocalTriggerSynchTask.cc:86
DTLocalTriggerSynchTask::baseDirectory
std::string baseDirectory
Definition: DTLocalTriggerSynchTask.h:92
DTLocalTriggerCollection.h
DTLocalTriggerSynchTask::nBXLow
int nBXLow
Definition: DTLocalTriggerSynchTask.h:85
ESHandle.h
edm::Run
Definition: Run.h:45
DTTTrigBaseSync
Definition: DTTTrigBaseSync.h:19
edm::EDGetTokenT< L1MuDTChambPhContainer >
DTLocalTriggerSynchTask::phCodeBXTM
DTArr4int phCodeBXTM
Definition: DTLocalTriggerSynchTask.h:80
LuminosityBlock.h
DTLocalTriggerSynchTask
Definition: DTLocalTriggerSynchTask.h:49
DTLocalTriggerSynchTask::dqmBeginRun
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Beginrun.
Definition: DTLocalTriggerSynchTask.cc:82
DTArr3int
std::array< std::array< std::array< int, 13 >, 5 >, 6 > DTArr3int
Definition: DTLocalTriggerSynchTask.h:44
DTLocalTriggerSynchTask::muonGeom
edm::ESHandle< DTGeometry > muonGeom
Definition: DTLocalTriggerSynchTask.h:94
DQMStore.h
DTLocalTriggerSynchTask::minHitsPhi
float minHitsPhi
Definition: DTLocalTriggerSynchTask.h:88
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
EDAnalyzer.h
DTLocalTrigger
Definition: DTLocalTrigger.h:15
L1MuDTChambThContainer.h
DTLocalTriggerSynchTask::tTrigSync
std::unique_ptr< DTTTrigBaseSync > tTrigSync
Definition: DTLocalTriggerSynchTask.h:90
MakerMacros.h
Service.h
edm::ESHandle< DTGeometry >
DTLocalTriggerSynchTask::nBXHigh
int nBXHigh
Definition: DTLocalTriggerSynchTask.h:86
DTLocalTriggerSynchTask::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Book the histograms.
Definition: DTLocalTriggerSynchTask.cc:62
DTLocalTriggerSynchTask::DTMonitorModule
friend class DTMonitorModule
Definition: DTLocalTriggerSynchTask.h:50
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
DTLocalTriggerSynchTask::baseDir
std::string & baseDir()
Definition: DTLocalTriggerSynchTask.h:72
edm::ParameterSet
Definition: ParameterSet.h:47
DTLocalTriggerSynchTask::seg_Token_
edm::EDGetTokenT< DTRecSegment4DCollection > seg_Token_
Definition: DTLocalTriggerSynchTask.h:99
DTLocalTriggerSynchTask::DTLocalTriggerSynchTask
DTLocalTriggerSynchTask(const edm::ParameterSet &ps)
Constructor.
Definition: DTLocalTriggerSynchTask.cc:41
Event.h
DTLocalTriggerSynchTask::angleRange
float angleRange
Definition: DTLocalTriggerSynchTask.h:87
edm::EventSetup
Definition: EventSetup.h:57
L1MuDTChambPhContainer.h
DTArr4int
std::array< std::array< std::array< std::array< int, 3 >, 13 >, 5 >, 6 > DTArr4int
Definition: DTLocalTriggerSynchTask.h:47
DTLocalTriggerSynchTask::rangeInBX
bool rangeInBX
Definition: DTLocalTriggerSynchTask.h:84
DTLocalTriggerSynchTask::tm_IDDataErrorPlot
MonitorElement * tm_IDDataErrorPlot
Definition: DTLocalTriggerSynchTask.h:96
DTLocalTriggerSynchTask::tm_Token_
edm::EDGetTokenT< L1MuDTChambPhContainer > tm_Token_
Definition: DTLocalTriggerSynchTask.h:98
DTLocalTriggerSynchTask::phCodeBestTM
DTArr3int phCodeBestTM
Definition: DTLocalTriggerSynchTask.h:79
L1MuDTChambThDigi
Definition: L1MuDTChambThDigi.h:33
Frameworkfwd.h
DTLocalTriggerSynchTask::nevents
int nevents
Definition: DTLocalTriggerSynchTask.h:77
DTLocalTriggerSynchTask::bookHistos
void bookHistos(DQMStore::IBooker &, const DTChamberId &dtCh)
Book the histograms.
Definition: DTLocalTriggerSynchTask.cc:177
DTLocalTriggerSynchTask::segHitBest
DTArr3int segHitBest
Definition: DTLocalTriggerSynchTask.h:81
DTLocalTriggerSynchTask::bxTime
float bxTime
Definition: DTLocalTriggerSynchTask.h:83
dqm::implementation::IBooker
Definition: DQMStore.h:43
DTLocalTriggerSynchTask::wheelArrayShift
const int wheelArrayShift
Definition: DTLocalTriggerSynchTask.h:74
DTChamberId
Definition: DTChamberId.h:14
ParameterSet.h
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
DTLocalTriggerSynchTask::~DTLocalTriggerSynchTask
~DTLocalTriggerSynchTask() override
Destructor.
Definition: DTLocalTriggerSynchTask.cc:58
DTLocalTriggerSynchTask::fineDelay
int fineDelay
Definition: DTLocalTriggerSynchTask.h:89
DTLocalTriggerSynchTask::triggerHistos
std::map< uint32_t, std::map< std::string, MonitorElement * > > triggerHistos
Definition: DTLocalTriggerSynchTask.h:95
L1MuDTChambPhDigi
Definition: L1MuDTChambPhDigi.h:31
DTRecSegment4DCollection.h
DTArr3int
std::array< std::array< std::array< int, 13 >, 5 >, 6 > DTArr3int
Definition: DTLocalTriggerLutTask.h:38