CMS 3D CMS Logo

DTTriggerEfficiencyTest.h
Go to the documentation of this file.
1 #ifndef DTTriggerEfficiencyTest_H
2 #define DTTriggerEfficiencyTest_H
3 
16 
17 #include <string>
18 
19 class DTTrigGeomUtils;
20 
22 public:
25 
27  ~DTTriggerEfficiencyTest() override;
28 
29 protected:
31  void makeEfficiencyME(TH2F* numerator,
32  TH2F* denominator,
33  MonitorElement* result2DWh,
34  MonitorElement* result1DWh,
35  MonitorElement* result1D);
36 
38  void makeEfficiencyME(TH2F* numerator, TH2F* denominator, MonitorElement* result2DWh);
39 
42 
45 
47  void bookChambHistos(DQMStore::IBooker& ibooker, DTChamberId chambId, std::string htype, std::string folder = "");
48 
51 
53  void beginRun(const edm::Run& r, const edm::EventSetup& c) override;
54 
58 
59 private:
60  std::map<std::string, MonitorElement*> globalEffDistr;
61  std::map<int, std::map<std::string, MonitorElement*> > EffDistrPerWh;
62  std::map<uint32_t, std::map<std::string, MonitorElement*> > chambME;
65 
67 };
68 
69 #endif
edm::Run
Definition: Run.h:45
printsummarytable.folder
folder
Definition: printsummarytable.py:7
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
DTTriggerEfficiencyTest::globalEffDistr
std::map< std::string, MonitorElement * > globalEffDistr
Definition: DTTriggerEfficiencyTest.h:60
DTTriggerEfficiencyTest::DTTriggerEfficiencyTest
DTTriggerEfficiencyTest(const edm::ParameterSet &ps)
Constructor.
Definition: DTTriggerEfficiencyTest.cc:36
DTLocalTriggerBaseTest.h
DTTriggerEfficiencyTest::bookWheelHistos
void bookWheelHistos(DQMStore::IBooker &ibooker, int wheel, std::string hTag, std::string folder)
Book the new MEs (for each wheel)
Definition: DTTriggerEfficiencyTest.cc:206
DTTriggerEfficiencyTest::bookingdone
bool bookingdone
Definition: DTTriggerEfficiencyTest.h:66
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTLocalTriggerBaseTest
Definition: DTLocalTriggerBaseTest.h:38
edm::ParameterSet
Definition: ParameterSet.h:47
DTTriggerEfficiencyTest::runClientDiagnostic
void runClientDiagnostic(DQMStore::IBooker &, DQMStore::IGetter &) override
DQM Client Diagnostic.
Definition: DTTriggerEfficiencyTest.cc:51
dtResolutionTest_cfi.histoTag
histoTag
Definition: dtResolutionTest_cfi.py:21
DTTriggerEfficiencyTest::EffDistrPerWh
std::map< int, std::map< std::string, MonitorElement * > > EffDistrPerWh
Definition: DTTriggerEfficiencyTest.h:61
makeMuonMisalignmentScenario.wheel
wheel
Definition: makeMuonMisalignmentScenario.py:319
DTTriggerEfficiencyTest::bookChambHistos
void bookChambHistos(DQMStore::IBooker &ibooker, DTChamberId chambId, std::string htype, std::string folder="")
Book the new MEs (for each chamber)
Definition: DTTriggerEfficiencyTest.cc:258
HLTTauDQMOffline_cfi.numerator
numerator
Definition: HLTTauDQMOffline_cfi.py:179
edm::EventSetup
Definition: EventSetup.h:58
DTTriggerEfficiencyTest::getMEName
std::string getMEName(std::string histoTag, std::string folder, int wh)
Get the ME name (by wheel)
Definition: DTTriggerEfficiencyTest.cc:178
alignCSCRings.r
r
Definition: alignCSCRings.py:93
DTTriggerEfficiencyTest
Definition: DTTriggerEfficiencyTest.h:21
HLTTauDQMOffline_cfi.denominator
denominator
Definition: HLTTauDQMOffline_cfi.py:180
DTTriggerEfficiencyTest::trigGeomUtils
DTTrigGeomUtils * trigGeomUtils
Definition: DTTriggerEfficiencyTest.h:63
dqm::implementation::IGetter
Definition: DQMStore.h:484
DTTrigGeomUtils
Definition: DTTrigGeomUtils.h:21
DTTriggerEfficiencyTest::bookHistos
void bookHistos(DQMStore::IBooker &ibooker, std::string hTag, std::string folder)
Book the new MEs (global)
Definition: DTTriggerEfficiencyTest.cc:189
DTTriggerEfficiencyTest::~DTTriggerEfficiencyTest
~DTTriggerEfficiencyTest() override
Destructor.
Definition: DTTriggerEfficiencyTest.cc:44
dqm::implementation::IBooker
Definition: DQMStore.h:43
DTTriggerEfficiencyTest::detailedPlots
bool detailedPlots
Definition: DTTriggerEfficiencyTest.h:64
DTTriggerEfficiencyTest::Bookings
void Bookings(DQMStore::IBooker &, DQMStore::IGetter &)
Definition: DTTriggerEfficiencyTest.cc:294
DTTriggerEfficiencyTest::beginRun
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
BeginRun.
Definition: DTTriggerEfficiencyTest.cc:46
DTChamberId
Definition: DTChamberId.h:14
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
DTTriggerEfficiencyTest::makeEfficiencyME
void makeEfficiencyME(TH2F *numerator, TH2F *denominator, MonitorElement *result2DWh, MonitorElement *result1DWh, MonitorElement *result1D)
Compute 1D/2D efficiency plots.
Definition: DTTriggerEfficiencyTest.cc:125
DTTriggerEfficiencyTest::chambME
std::map< uint32_t, std::map< std::string, MonitorElement * > > chambME
Definition: DTTriggerEfficiencyTest.h:62