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 
14 
17 
19 
21 
24 
33 
34 #include <vector>
35 #include <string>
36 #include <map>
37 
38 class DTGeometry;
39 class DTChamberId;
40 class DTTrigGeomUtils;
41 
43 public:
46 
48  ~DTTriggerEfficiencyTask() override;
49 
50 protected:
52  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
53 
54  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
55 
58  const DTChamberId& dtCh,
60  std::string folder = "");
61 
64 
66  bool hasRPCTriggers(const edm::Event& e);
67 
70  return "DT/03-LocalTrigger-TM/"; //DDU no longer existing, leaving folder here for past references
71  }
72 
74  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
75 
77 
78 private:
79  int nevents;
80 
82 
84  std::vector<std::string> processTags;
85 
86  float phiAccRange;
88 
93 
98  std::map<uint32_t, std::map<std::string, MonitorElement*> > chamberHistos;
99  std::map<int, std::map<std::string, MonitorElement*> > wheelHistos;
100 };
101 
102 #endif
103 
104 /* Local Variables: */
105 /* show-trailing-whitespace: t */
106 /* truncate-lines: t */
107 /* End: */
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
edm::EDGetTokenT< L1MuGMTReadoutCollection > gmt_Token_
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
edm::EDGetTokenT< reco::MuonCollection > muons_Token_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::string topFolder()
return the top folder
void bookWheelHistos(DQMStore::IBooker &ibooker, int wheel, std::string histoTag, std::string folder="")
Book wheel granularity histograms.
edm::EDGetTokenT< L1MuDTChambPhContainer > tm_Token_
std::map< int, std::map< std::string, MonitorElement * > > wheelHistos
void bookChamberHistos(DQMStore::IBooker &ibooker, const DTChamberId &dtCh, std::string histoTag, std::string folder="")
Book chamber granularity histograms.
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
BeginRun.
bool hasRPCTriggers(const edm::Event &e)
checks for RPC Triggers
int nevents
To reset the MEs.
std::vector< std::string > processTags
std::map< uint32_t, std::map< std::string, MonitorElement * > > chamberHistos
DTTriggerEfficiencyTask(const edm::ParameterSet &ps)
Constructor.
~DTTriggerEfficiencyTask() override
Destructor.
Definition: Run.h:45