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 
36 
37 #include <vector>
38 #include <string>
39 #include <map>
40 
41 class DTGeometry;
42 class DTChamberId;
43 class DTTrigGeomUtils;
44 
46 public:
49 
51  ~DTTriggerEfficiencyTask() override;
52 
53 protected:
55  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
56 
57  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
58 
61  const DTChamberId& dtCh,
63  std::string folder = "");
64 
67 
69  bool hasRPCTriggers(const edm::Event& e);
70 
73  return "DT/03-LocalTrigger-TM/"; //DDU no longer existing, leaving folder here for past references
74  }
75 
77  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
78 
80 
81 private:
82  int nevents;
83 
85 
87  std::vector<std::string> processTags;
88 
89  float phiAccRange;
91 
96 
101  std::map<uint32_t, std::map<std::string, MonitorElement*> > chamberHistos;
102  std::map<int, std::map<std::string, MonitorElement*> > wheelHistos;
103 };
104 
105 #endif
106 
107 /* Local Variables: */
108 /* show-trailing-whitespace: t */
109 /* truncate-lines: t */
110 /* End: */
DTGeometry
Definition: DTGeometry.h:28
DTTriggerEfficiencyTask::detailedPlots
bool detailedPlots
Definition: DTTriggerEfficiencyTask.h:86
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::muonGeomToken_
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
Definition: DTTriggerEfficiencyTask.h:98
DTTriggerEfficiencyTask::tm_Token_
edm::EDGetTokenT< L1MuDTChambPhContainer > tm_Token_
Definition: DTTriggerEfficiencyTask.h:93
DQMStore.h
DTTriggerEfficiencyTask::wheelHistos
std::map< int, std::map< std::string, MonitorElement * > > wheelHistos
Definition: DTTriggerEfficiencyTask.h:102
EDAnalyzer.h
DTTriggerEfficiencyTask::gmt_Token_
edm::EDGetTokenT< L1MuGMTReadoutCollection > gmt_Token_
Definition: DTTriggerEfficiencyTask.h:95
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:92
MakerMacros.h
DTTriggerEfficiencyTask::topFolder
std::string topFolder()
return the top folder
Definition: DTTriggerEfficiencyTask.h:72
DTTriggerEfficiencyTask::processTM
bool processTM
Definition: DTTriggerEfficiencyTask.h:86
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
DTTriggerEfficiencyTask::trigGeomUtils
DTTrigGeomUtils * trigGeomUtils
Definition: DTTriggerEfficiencyTask.h:100
DQMEDAnalyzer.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
edm::ParameterSet
Definition: ParameterSet.h:47
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:89
edm::EventSetup
Definition: EventSetup.h:58
DTTriggerEfficiencyTask
Definition: DTTriggerEfficiencyTask.h:45
L1MuDTChambPhContainer.h
edm::ESGetToken< DTGeometry, MuonGeometryRecord >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
InputTag.h
DTTriggerEfficiencyTask::DTTriggerEfficiencyTask
DTTriggerEfficiencyTask(const edm::ParameterSet &ps)
Constructor.
Definition: DTTriggerEfficiencyTask.cc:41
DTTriggerEfficiencyTask::muonGeom
const DTGeometry * muonGeom
Definition: DTTriggerEfficiencyTask.h:99
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:82
DTTriggerEfficiencyTask::parameters
edm::ParameterSet parameters
Definition: DTTriggerEfficiencyTask.h:97
dqm::implementation::IBooker
Definition: DQMStore.h:43
DTTriggerEfficiencyTask::nMinHitsPhi
int nMinHitsPhi
Definition: DTTriggerEfficiencyTask.h:90
DTChamberId
Definition: DTChamberId.h:14
ParameterSet.h
MuonGeometryRecord.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
DTTriggerEfficiencyTask::processTags
std::vector< std::string > processTags
Definition: DTTriggerEfficiencyTask.h:87
edm::Event
Definition: Event.h:73
DTTriggerEfficiencyTask::chamberHistos
std::map< uint32_t, std::map< std::string, MonitorElement * > > chamberHistos
Definition: DTTriggerEfficiencyTask.h:101
DTTriggerEfficiencyTask::checkRPCtriggers
bool checkRPCtriggers
Definition: DTTriggerEfficiencyTask.h:86
DTTriggerEfficiencyTask::inputTagSEG
edm::InputTag inputTagSEG
Definition: DTTriggerEfficiencyTask.h:94
edm::InputTag
Definition: InputTag.h:15
DTTriggerEfficiencyTask::SegmArbitration
std::string SegmArbitration
Definition: DTTriggerEfficiencyTask.h:84
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