CMS 3D CMS Logo

DTTriggerEfficiencyTask.h
Go to the documentation of this file.
1 #ifndef DTTriggerEfficiencyTask_H
2 #define DTTriggerEfficiencyTask_H
3 
4 /*
5  * \file DTTriggerEfficiencyTask.h
6  *
7  * \author C. Battilana - CIEMAT
8  *
9 */
10 
16 
19 
21 
23 
27 
35 
36 #include <vector>
37 #include <string>
38 #include <map>
39 
40 class DTGeometry;
41 class DTChamberId;
42 class DTTrigGeomUtils;
43 
45 public:
48 
50  ~DTTriggerEfficiencyTask() override;
51 
52 protected:
54  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
55 
56  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
57 
60  const DTChamberId& dtCh,
62  std::string folder = "");
63 
66 
68  bool hasRPCTriggers(const edm::Event& e);
69 
72  return "DT/03-LocalTrigger-TM/"; //DDU no longer existing, leaving folder here for past references
73  }
74 
76  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
77 
79 
80 private:
81  int nevents;
82 
84 
86  std::vector<std::string> processTags;
87 
88  float phiAccRange;
90 
95 
99  std::map<uint32_t, std::map<std::string, MonitorElement*> > chamberHistos;
100  std::map<int, std::map<std::string, MonitorElement*> > wheelHistos;
101 };
102 
103 #endif
104 
105 /* Local Variables: */
106 /* show-trailing-whitespace: t */
107 /* truncate-lines: t */
108 /* End: */
DTGeometry
Definition: DTGeometry.h:28
DTTriggerEfficiencyTask::detailedPlots
bool detailedPlots
Definition: DTTriggerEfficiencyTask.h:85
Handle.h
DTLocalTriggerCollection.h
ESHandle.h
edm::Run
Definition: Run.h:45
printsummarytable.folder
folder
Definition: printsummarytable.py:7
edm::EDGetTokenT< reco::MuonCollection >
LuminosityBlock.h
L1MuGMTReadoutCollection.h
DTTriggerEfficiencyTask::tm_Token_
edm::EDGetTokenT< L1MuDTChambPhContainer > tm_Token_
Definition: DTTriggerEfficiencyTask.h:92
DQMStore.h
DTTriggerEfficiencyTask::wheelHistos
std::map< int, std::map< std::string, MonitorElement * > > wheelHistos
Definition: DTTriggerEfficiencyTask.h:100
EDAnalyzer.h
DTTriggerEfficiencyTask::gmt_Token_
edm::EDGetTokenT< L1MuGMTReadoutCollection > gmt_Token_
Definition: DTTriggerEfficiencyTask.h:94
DTTriggerEfficiencyTask::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: DTTriggerEfficiencyTask.cc:79
L1MuDTChambThContainer.h
L1MuRegionalCand.h
DTTriggerEfficiencyTask::muons_Token_
edm::EDGetTokenT< reco::MuonCollection > muons_Token_
Definition: DTTriggerEfficiencyTask.h:91
MakerMacros.h
DTTriggerEfficiencyTask::topFolder
std::string topFolder()
return the top folder
Definition: DTTriggerEfficiencyTask.h:71
DTTriggerEfficiencyTask::processTM
bool processTM
Definition: DTTriggerEfficiencyTask.h:85
DTTriggerEfficiencyTask::dqmBeginRun
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
BeginRun.
Definition: DTTriggerEfficiencyTask.cc:73
DTTriggerEfficiencyTask::bookWheelHistos
void bookWheelHistos(DQMStore::IBooker &ibooker, int wheel, std::string histoTag, std::string folder="")
Book wheel granularity histograms.
Definition: DTTriggerEfficiencyTask.cc:299
DTTriggerEfficiencyTask::bookChamberHistos
void bookChamberHistos(DQMStore::IBooker &ibooker, const DTChamberId &dtCh, std::string histoTag, std::string folder="")
Book chamber granularity histograms.
Definition: DTTriggerEfficiencyTask.cc:252
Service.h
MuonFwd.h
edm::ESHandle< DTGeometry >
DTTriggerEfficiencyTask::trigGeomUtils
DTTrigGeomUtils * trigGeomUtils
Definition: DTTriggerEfficiencyTask.h:98
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
DTTriggerEfficiencyTask::muonGeom
edm::ESHandle< DTGeometry > muonGeom
Definition: DTTriggerEfficiencyTask.h:97
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
dtResolutionTest_cfi.histoTag
histoTag
Definition: dtResolutionTest_cfi.py:21
makeMuonMisalignmentScenario.wheel
wheel
Definition: makeMuonMisalignmentScenario.py:319
DTTriggerEfficiencyTask::phiAccRange
float phiAccRange
Definition: DTTriggerEfficiencyTask.h:88
edm::EventSetup
Definition: EventSetup.h:57
DTTriggerEfficiencyTask
Definition: DTTriggerEfficiencyTask.h:44
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
L1MuDTChambPhContainer.h
InputTag.h
DTTriggerEfficiencyTask::DTTriggerEfficiencyTask
DTTriggerEfficiencyTask(const edm::ParameterSet &ps)
Constructor.
Definition: DTTriggerEfficiencyTask.cc:42
Frameworkfwd.h
DTTrigGeomUtils
Definition: DTTrigGeomUtils.h:21
DTTriggerEfficiencyTask::hasRPCTriggers
bool hasRPCTriggers(const edm::Event &e)
checks for RPC Triggers
Definition: DTTriggerEfficiencyTask.cc:227
DTTriggerEfficiencyTask::~DTTriggerEfficiencyTask
~DTTriggerEfficiencyTask() override
Destructor.
Definition: DTTriggerEfficiencyTask.cc:68
DTTriggerEfficiencyTask::nevents
int nevents
To reset the MEs.
Definition: DTTriggerEfficiencyTask.h:81
DTTriggerEfficiencyTask::parameters
edm::ParameterSet parameters
Definition: DTTriggerEfficiencyTask.h:96
dqm::implementation::IBooker
Definition: DQMStore.h:43
DTTriggerEfficiencyTask::nMinHitsPhi
int nMinHitsPhi
Definition: DTTriggerEfficiencyTask.h:89
DTChamberId
Definition: DTChamberId.h:14
ParameterSet.h
DTTriggerEfficiencyTask::processTags
std::vector< std::string > processTags
Definition: DTTriggerEfficiencyTask.h:86
edm::Event
Definition: Event.h:73
DTTriggerEfficiencyTask::chamberHistos
std::map< uint32_t, std::map< std::string, MonitorElement * > > chamberHistos
Definition: DTTriggerEfficiencyTask.h:99
DTTriggerEfficiencyTask::checkRPCtriggers
bool checkRPCtriggers
Definition: DTTriggerEfficiencyTask.h:85
DTTriggerEfficiencyTask::inputTagSEG
edm::InputTag inputTagSEG
Definition: DTTriggerEfficiencyTask.h:93
edm::InputTag
Definition: InputTag.h:15
DTTriggerEfficiencyTask::SegmArbitration
std::string SegmArbitration
Definition: DTTriggerEfficiencyTask.h:83
DTRecSegment4DCollection.h
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
DTTriggerEfficiencyTask::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
Definition: DTTriggerEfficiencyTask.cc:101