16 edm::LogInfo(
"TrackEfficiencyClient") <<
"TrackEfficiencyClient::Deleting TrackEfficiencyClient ";
29 edm::LogInfo(
"TrackEfficiencyClient") <<
"TrackEfficiencyClient::Deleting TrackEfficiencyClient ";
36 edm::LogInfo(
"TrackEfficiencyClient") <<
"TrackEfficiencyClient::beginJob done";
43 edm::LogInfo(
"TrackEfficiencyClient") <<
"TrackEfficiencyClient:: Begining of Run";
101 histName =
"effPhi_";
120 double effCompatibleLayersMin =
conf_.
getParameter<
double>(
"effCompatibleLayersMin");
121 double effCompatibleLayersMax =
conf_.
getParameter<
double>(
"effCompatibleLayersMax");
123 histName =
"effCompatibleLayers_";
126 effCompatibleLayersBin,
127 effCompatibleLayersMin,
128 effCompatibleLayersMax);
133 histName =
"MuonEffPtPhi_LowPt";
139 histName =
"MuonEffPtPhi_HighPt";
150 edm::LogInfo(
"TrackEfficiencyClient") <<
"TrackEfficiencyClient::endLuminosityBlock";
153 FolderName_ =
"Tracking/TrackParameters/TrackEfficiency";
154 std::vector<std::string> s1 = igetter_.
getSubdirs();
156 igetter_.
cd(
"Tracking");
189 histName =
"/trackCompatibleLayers_";
191 histName =
"/muonCompatibleLayers_";
194 histName =
"/StandaloneMuonPtEtaPhi_LowPt_";
196 histName =
"/GlobalMuonPtEtaPhi_LowPt_";
199 histName =
"/StandaloneMuonPtEtaPhi_HighPt_";
201 histName =
"/GlobalMuonPtEtaPhi_HighPt_";
204 if (StandAloneMuonPtEtaPhiLowPt && GlobalMuonPtEtaPhiLowPt &&
effPtPhiLowPt) {
207 GlobalMuonPtEtaPhiLowPt->
getTH2F(), StandAloneMuonPtEtaPhiLowPt->
getTH2F(), 1., 1.,
"");
210 if (StandAloneMuonPtEtaPhiHighPt && GlobalMuonPtEtaPhiHighPt &&
effPtPhiHighPt) {
213 GlobalMuonPtEtaPhiHighPt->
getTH2F(), StandAloneMuonPtEtaPhiHighPt->
getTH2F(), 1., 1.,
"");
216 if (trackX && muonX && trackY && muonY && trackZ && muonZ && trackEta && muonEta && trackPhi && muonPhi && trackD0 &&
217 muonD0 && trackCompatibleLayers && muonCompatibleLayers) {
240 trackCompatibleLayers->
getTH1F(), muonCompatibleLayers->
getTH1F(), 1., 1.,
"");
virtual TH2F * getTH2F() const
void bookMEs(DQMStore::IBooker &ibooker_)
book MEs
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * effPtPhiHighPt
virtual DQM_DEPRECATED std::vector< std::string > getSubdirs() const
#define DEFINE_FWK_MODULE(type)
virtual TH1F * getTH1F() const
MonitorElement * effCompatibleLayers
virtual MonitorElement * get(std::string const &fullpath) const
~TrackEfficiencyClient() override
Destructor.
void beginJob(void) override
BeginJob.
Log< level::Info, false > LogInfo
void dqmEndJob(DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_) override
EndJob.
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
T getParameter(std::string const &) const
virtual void enableSumw2()
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
TrackEfficiencyClient(const edm::ParameterSet &ps)
Constructor.
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
BeginRun.
MonitorElement * effPtPhiLowPt
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)