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 
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: */
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:93
DTLocalTriggerCollection.h
DTLocalTriggerSynchTask::nBXLow
int nBXLow
Definition: DTLocalTriggerSynchTask.h:86
ESHandle.h
edm::Run
Definition: Run.h:45
DTTTrigBaseSync
Definition: DTTTrigBaseSync.h:19
edm::EDGetTokenT< L1MuDTChambPhContainer >
DTLocalTriggerSynchTask::phCodeBXTM
DTArr4int phCodeBXTM
Definition: DTLocalTriggerSynchTask.h:81
LuminosityBlock.h
DTLocalTriggerSynchTask
Definition: DTLocalTriggerSynchTask.h:50
DTLocalTriggerSynchTask::dqmBeginRun
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Beginrun.
Definition: DTLocalTriggerSynchTask.cc:82
DTLocalTriggerSynchTask::muonGeomToken_
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
Definition: DTLocalTriggerSynchTask.h:95
DTArr3int
std::array< std::array< std::array< int, 13 >, 5 >, 6 > DTArr3int
Definition: DTLocalTriggerSynchTask.h:45
DQMStore.h
DTLocalTriggerSynchTask::minHitsPhi
float minHitsPhi
Definition: DTLocalTriggerSynchTask.h:89
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
EDAnalyzer.h
DTLocalTrigger
Definition: DTLocalTrigger.h:15
L1MuDTChambThContainer.h
DTLocalTriggerSynchTask::tTrigSync
std::unique_ptr< DTTTrigBaseSync > tTrigSync
Definition: DTLocalTriggerSynchTask.h:91
visDQMUpload.context
context
Definition: visDQMUpload.py:37
MakerMacros.h
Service.h
DTLocalTriggerSynchTask::nBXHigh
int nBXHigh
Definition: DTLocalTriggerSynchTask.h:87
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:51
DQMEDAnalyzer.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
DTLocalTriggerSynchTask::baseDir
std::string & baseDir()
Definition: DTLocalTriggerSynchTask.h:73
edm::ParameterSet
Definition: ParameterSet.h:47
DTLocalTriggerSynchTask::seg_Token_
edm::EDGetTokenT< DTRecSegment4DCollection > seg_Token_
Definition: DTLocalTriggerSynchTask.h:101
DTLocalTriggerSynchTask::DTLocalTriggerSynchTask
DTLocalTriggerSynchTask(const edm::ParameterSet &ps)
Constructor.
Definition: DTLocalTriggerSynchTask.cc:40
Event.h
DTLocalTriggerSynchTask::angleRange
float angleRange
Definition: DTLocalTriggerSynchTask.h:88
edm::EventSetup
Definition: EventSetup.h:58
DTLocalTriggerSynchTask::muonGeom
const DTGeometry * muonGeom
Definition: DTLocalTriggerSynchTask.h:96
L1MuDTChambPhContainer.h
edm::ESGetToken< DTGeometry, MuonGeometryRecord >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTArr4int
std::array< std::array< std::array< std::array< int, 3 >, 13 >, 5 >, 6 > DTArr4int
Definition: DTLocalTriggerSynchTask.h:48
DTLocalTriggerSynchTask::rangeInBX
bool rangeInBX
Definition: DTLocalTriggerSynchTask.h:85
DTLocalTriggerSynchTask::tm_IDDataErrorPlot
MonitorElement * tm_IDDataErrorPlot
Definition: DTLocalTriggerSynchTask.h:98
DTLocalTriggerSynchTask::tm_Token_
edm::EDGetTokenT< L1MuDTChambPhContainer > tm_Token_
Definition: DTLocalTriggerSynchTask.h:100
DTLocalTriggerSynchTask::phCodeBestTM
DTArr3int phCodeBestTM
Definition: DTLocalTriggerSynchTask.h:80
L1MuDTChambThDigi
Definition: L1MuDTChambThDigi.h:33
Frameworkfwd.h
DTLocalTriggerSynchTask::nevents
int nevents
Definition: DTLocalTriggerSynchTask.h:78
DTLocalTriggerSynchTask::bookHistos
void bookHistos(DQMStore::IBooker &, const DTChamberId &dtCh)
Book the histograms.
Definition: DTLocalTriggerSynchTask.cc:177
DTLocalTriggerSynchTask::segHitBest
DTArr3int segHitBest
Definition: DTLocalTriggerSynchTask.h:82
DTLocalTriggerSynchTask::bxTime
float bxTime
Definition: DTLocalTriggerSynchTask.h:84
dqm::implementation::IBooker
Definition: DQMStore.h:43
DTLocalTriggerSynchTask::wheelArrayShift
const int wheelArrayShift
Definition: DTLocalTriggerSynchTask.h:75
DTChamberId
Definition: DTChamberId.h:14
ParameterSet.h
MuonGeometryRecord.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:90
DTLocalTriggerSynchTask::triggerHistos
std::map< uint32_t, std::map< std::string, MonitorElement * > > triggerHistos
Definition: DTLocalTriggerSynchTask.h:97
L1MuDTChambPhDigi
Definition: L1MuDTChambPhDigi.h:31
DTRecSegment4DCollection.h
DTArr3int
std::array< std::array< std::array< int, 13 >, 5 >, 6 > DTArr3int
Definition: DTLocalTriggerLutTask.h:39