CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
TrackEfficiencyClient Class Reference

#include <DQM/TrackingMonitor/interface/TrackEfficiencyClient.h>

Inheritance diagram for TrackEfficiencyClient:
DQMEDHarvester edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 TrackEfficiencyClient (const edm::ParameterSet &ps)
 Constructor. More...
 
 ~TrackEfficiencyClient () override
 Destructor. More...
 
- Public Member Functions inherited from DQMEDHarvester
void accumulate (edm::Event const &ev, edm::EventSetup const &es) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
 DQMEDHarvester ()
 
virtual void dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
 
void endJob () final
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &, edm::EventSetup const &) final
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) override
 
 ~DQMEDHarvester () override=default
 
- Public Member Functions inherited from edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Protected Member Functions

void beginJob (void) override
 BeginJob. More...
 
void beginRun (edm::Run const &run, edm::EventSetup const &eSetup) override
 BeginRun. More...
 
void dqmEndJob (DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_) override
 EndJob. More...
 
- Protected Member Functions inherited from edm::ProducerBase
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Private Member Functions

void bookMEs (DQMStore::IBooker &ibooker_)
 book MEs More...
 

Private Attributes

std::string algoName_
 
edm::ParameterSet conf_
 
MonitorElementeffCompatibleLayers
 
MonitorElementeffD0
 
MonitorElementeffEta
 
MonitorElementeffPhi
 
MonitorElementeffPtPhiHighPt
 
MonitorElementeffPtPhiLowPt
 
MonitorElementeffX
 
MonitorElementeffY
 
MonitorElementeffZ
 
std::string FolderName_
 
std::string histName
 
bool trackEfficiency_
 

Additional Inherited Members

- Public Types inherited from DQMEDHarvester
typedef dqm::harvesting::DQMStore DQMStore
 
typedef dqm::harvesting::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Attributes inherited from DQMEDHarvester
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

DQM class to compute the tracking efficiency

Definition at line 32 of file TrackEfficiencyClient.h.

Constructor & Destructor Documentation

TrackEfficiencyClient::TrackEfficiencyClient ( const edm::ParameterSet ps)

Constructor.

Definition at line 25 of file TrackEfficiencyClient.cc.

References algoName_, conf_, FolderName_, edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, and trackEfficiency_.

27 {
28  edm::LogInfo("TrackEfficiencyClient") << "TrackEfficiencyClient::Deleting TrackEfficiencyClient ";
29 
30  FolderName_ = iConfig.getParameter<std::string>("FolderName");
31  algoName_ = iConfig.getParameter<std::string>("AlgoName");
32  trackEfficiency_ = iConfig.getParameter<bool>("trackEfficiency");
33 
34  conf_ = iConfig;
35 }
TrackEfficiencyClient::~TrackEfficiencyClient ( )
override

Destructor.

Definition at line 38 of file TrackEfficiencyClient.cc.

40 {
41  edm::LogInfo("TrackEfficiencyClient") << "TrackEfficiencyClient::Deleting TrackEfficiencyClient ";
42 }

Member Function Documentation

void TrackEfficiencyClient::beginJob ( void  )
overrideprotectedvirtual

BeginJob.

Reimplemented from edm::one::EDProducerBase.

Definition at line 45 of file TrackEfficiencyClient.cc.

47 {
48  edm::LogInfo("TrackEfficiencyClient") << "TrackEfficiencyClient::beginJob done";
49 }
void TrackEfficiencyClient::beginRun ( edm::Run const &  run,
edm::EventSetup const &  eSetup 
)
overrideprotected

BeginRun.

Definition at line 52 of file TrackEfficiencyClient.cc.

54 {
55  edm::LogInfo("TrackEfficiencyClient") << "TrackEfficiencyClient:: Begining of Run";
56 }
void TrackEfficiencyClient::bookMEs ( DQMStore::IBooker ibooker_)
private

book MEs

Definition at line 59 of file TrackEfficiencyClient.cc.

References algoName_, dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), conf_, effCompatibleLayers, TrackEfficiencyClient_cfi::effCompatibleLayersBin, TrackEfficiencyClient_cfi::effCompatibleLayersMax, TrackEfficiencyClient_cfi::effCompatibleLayersMin, effD0, TrackEfficiencyClient_cfi::effD0Bin, TrackEfficiencyClient_cfi::effD0Max, TrackEfficiencyClient_cfi::effD0Min, effEta, TrackEfficiencyClient_cfi::effEtaBin, TrackEfficiencyClient_cfi::effEtaMax, TrackEfficiencyClient_cfi::effEtaMin, effPhi, TrackEfficiencyClient_cfi::effPhiBin, TrackEfficiencyClient_cfi::effPhiMax, TrackEfficiencyClient_cfi::effPhiMin, effPtPhiHighPt, effPtPhiLowPt, effX, TrackEfficiencyClient_cfi::effXBin, TrackEfficiencyClient_cfi::effXMax, TrackEfficiencyClient_cfi::effXMin, effY, TrackEfficiencyClient_cfi::effYBin, TrackEfficiencyClient_cfi::effYMax, TrackEfficiencyClient_cfi::effYMin, effZ, TrackEfficiencyClient_cfi::effZBin, TrackEfficiencyClient_cfi::effZMax, TrackEfficiencyClient_cfi::effZMin, dqm::impl::MonitorElement::enableSumw2(), FolderName_, edm::ParameterSet::getParameter(), dqm::legacy::MonitorElement::getTH1F(), dqm::legacy::MonitorElement::getTH2F(), histName, dqm::impl::MonitorElement::setAxisTitle(), and dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder().

Referenced by dqmEndJob().

61 {
62  ibooker_.setCurrentFolder(FolderName_);
63 
64  //
65  int effXBin = conf_.getParameter<int>("effXBin");
66  double effXMin = conf_.getParameter<double>("effXMin");
67  double effXMax = conf_.getParameter<double>("effXMax");
68 
69  histName = "effX_";
70  effX = ibooker_.book1D(histName + algoName_, histName + algoName_, effXBin, effXMin, effXMax);
71  if (effX->getTH1F())
72  effX->enableSumw2();
73  effX->setAxisTitle("");
74 
75  //
76  int effYBin = conf_.getParameter<int>("effYBin");
77  double effYMin = conf_.getParameter<double>("effYMin");
78  double effYMax = conf_.getParameter<double>("effYMax");
79 
80  histName = "effY_";
81  effY = ibooker_.book1D(histName + algoName_, histName + algoName_, effYBin, effYMin, effYMax);
82  if (effY->getTH1F())
83  effY->enableSumw2();
84  effY->setAxisTitle("");
85 
86  //
87  int effZBin = conf_.getParameter<int>("effZBin");
88  double effZMin = conf_.getParameter<double>("effZMin");
89  double effZMax = conf_.getParameter<double>("effZMax");
90 
91  histName = "effZ_";
92  effZ = ibooker_.book1D(histName + algoName_, histName + algoName_, effZBin, effZMin, effZMax);
93  if (effZ->getTH1F())
94  effZ->enableSumw2();
95  effZ->setAxisTitle("");
96 
97  //
98  int effEtaBin = conf_.getParameter<int>("effEtaBin");
99  double effEtaMin = conf_.getParameter<double>("effEtaMin");
100  double effEtaMax = conf_.getParameter<double>("effEtaMax");
101 
102  histName = "effEta_";
103  effEta = ibooker_.book1D(histName + algoName_, histName + algoName_, effEtaBin, effEtaMin, effEtaMax);
104  if (effEta->getTH1F())
105  effEta->enableSumw2();
106  effEta->setAxisTitle("");
107 
108  //
109  int effPhiBin = conf_.getParameter<int>("effPhiBin");
110  double effPhiMin = conf_.getParameter<double>("effPhiMin");
111  double effPhiMax = conf_.getParameter<double>("effPhiMax");
112 
113  histName = "effPhi_";
114  effPhi = ibooker_.book1D(histName + algoName_, histName + algoName_, effPhiBin, effPhiMin, effPhiMax);
115  if (effPhi->getTH1F())
116  effPhi->enableSumw2();
117  effPhi->setAxisTitle("");
118 
119  //
120  int effD0Bin = conf_.getParameter<int>("effD0Bin");
121  double effD0Min = conf_.getParameter<double>("effD0Min");
122  double effD0Max = conf_.getParameter<double>("effD0Max");
123 
124  histName = "effD0_";
125  effD0 = ibooker_.book1D(histName + algoName_, histName + algoName_, effD0Bin, effD0Min, effD0Max);
126  if (effD0->getTH1F())
127  effD0->enableSumw2();
128  effD0->setAxisTitle("");
129 
130  //
131  int effCompatibleLayersBin = conf_.getParameter<int>("effCompatibleLayersBin");
132  double effCompatibleLayersMin = conf_.getParameter<double>("effCompatibleLayersMin");
133  double effCompatibleLayersMax = conf_.getParameter<double>("effCompatibleLayersMax");
134 
135  histName = "effCompatibleLayers_";
136  effCompatibleLayers = ibooker_.book1D(histName + algoName_,
137  histName + algoName_,
138  effCompatibleLayersBin,
139  effCompatibleLayersMin,
140  effCompatibleLayersMax);
144 
145  histName = "MuonEffPtPhi_LowPt";
146  effPtPhiLowPt = ibooker_.book2D(histName + algoName_, histName + algoName_, 20, -2.4, 2.4, 20, -3.25, 3.25);
147  if (effPtPhiLowPt->getTH2F())
150 
151  histName = "MuonEffPtPhi_HighPt";
152  effPtPhiHighPt = ibooker_.book2D(histName + algoName_, histName + algoName_, 20, -2.4, 2.4, 20, -3.25, 3.25);
153  if (effPtPhiHighPt->getTH2F())
156 }
T getParameter(std::string const &) const
virtual TH2F * getTH2F() const
MonitorElement * effPtPhiHighPt
virtual TH1F * getTH1F() const
MonitorElement * effCompatibleLayers
MonitorElement * effPtPhiLowPt
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void TrackEfficiencyClient::dqmEndJob ( DQMStore::IBooker ibooker_,
DQMStore::IGetter igetter_ 
)
overrideprotectedvirtual

EndJob.

Implements DQMEDHarvester.

Definition at line 159 of file TrackEfficiencyClient.cc.

References algoName_, bookMEs(), dqm::dqmstoreimpl::DQMStore::IGetter::cd(), DEFINE_FWK_MODULE, effCompatibleLayers, effD0, effEta, effPhi, effPtPhiHighPt, effPtPhiLowPt, effX, effY, effZ, FolderName_, dqm::dqmstoreimpl::DQMStore::IGetter::get(), dqm::dqmstoreimpl::DQMStore::IGetter::getSubdirs(), dqm::legacy::MonitorElement::getTH1F(), dqm::legacy::MonitorElement::getTH2F(), histName, HLTObjectMonitor_cfi::muonEta, HLTObjectMonitor_cfi::muonPhi, trackEfficiency_, reco::btau::trackEta, and reco::btau::trackPhi.

161 {
162  edm::LogInfo("TrackEfficiencyClient") << "TrackEfficiencyClient::endLuminosityBlock";
163 
164  bookMEs(ibooker_);
165  FolderName_ = "Tracking/TrackParameters";
166  std::vector<std::string> s1 = igetter_.getSubdirs();
167 
168  igetter_.cd("Tracking");
169 
170  histName = "/trackX_";
171  MonitorElement* trackX = igetter_.get(FolderName_ + histName + algoName_);
172 
173  histName = "/muonX_";
174  MonitorElement* muonX = igetter_.get(FolderName_ + histName + algoName_);
175 
176  histName = "/trackY_";
177  MonitorElement* trackY = igetter_.get(FolderName_ + histName + algoName_);
178  histName = "/muonY_";
179  MonitorElement* muonY = igetter_.get(FolderName_ + histName + algoName_);
180 
181  histName = "/trackZ_";
182  MonitorElement* trackZ = igetter_.get(FolderName_ + histName + algoName_);
183  histName = "/muonZ_";
184  MonitorElement* muonZ = igetter_.get(FolderName_ + histName + algoName_);
185 
186  histName = "/trackEta_";
188  histName = "/muonEta_";
189  MonitorElement* muonEta = igetter_.get(FolderName_ + histName + algoName_);
190 
191  histName = "/trackPhi_";
193  histName = "/muonPhi_";
194  MonitorElement* muonPhi = igetter_.get(FolderName_ + histName + algoName_);
195 
196  histName = "/trackD0_";
197  MonitorElement* trackD0 = igetter_.get(FolderName_ + histName + algoName_);
198  histName = "/muonD0_";
199  MonitorElement* muonD0 = igetter_.get(FolderName_ + histName + algoName_);
200 
201  histName = "/trackCompatibleLayers_";
202  MonitorElement* trackCompatibleLayers = igetter_.get(FolderName_ + histName + algoName_);
203  histName = "/muonCompatibleLayers_";
204  MonitorElement* muonCompatibleLayers = igetter_.get(FolderName_ + histName + algoName_);
205 
206  histName = "/StandaloneMuonPtEtaPhi_LowPt_";
207  MonitorElement* StandAloneMuonPtEtaPhiLowPt = igetter_.get(FolderName_ + histName + algoName_);
208  histName = "/GlobalMuonPtEtaPhi_LowPt_";
209  MonitorElement* GlobalMuonPtEtaPhiLowPt = igetter_.get(FolderName_ + histName + algoName_);
210 
211  histName = "/StandaloneMuonPtEtaPhi_HighPt_";
212  MonitorElement* StandAloneMuonPtEtaPhiHighPt = igetter_.get(FolderName_ + histName + algoName_);
213  histName = "/GlobalMuonPtEtaPhi_HighPt_";
214  MonitorElement* GlobalMuonPtEtaPhiHighPt = igetter_.get(FolderName_ + histName + algoName_);
215 
216  if (StandAloneMuonPtEtaPhiLowPt && GlobalMuonPtEtaPhiLowPt && effPtPhiLowPt) {
217  if (StandAloneMuonPtEtaPhiLowPt->getTH2F() && GlobalMuonPtEtaPhiLowPt->getTH2F() && effPtPhiLowPt->getTH2F()) {
218  effPtPhiLowPt->getTH2F()->Divide(
219  GlobalMuonPtEtaPhiLowPt->getTH2F(), StandAloneMuonPtEtaPhiLowPt->getTH2F(), 1., 1., "");
220  }
221  }
222  if (StandAloneMuonPtEtaPhiHighPt && GlobalMuonPtEtaPhiHighPt && effPtPhiHighPt) {
223  if (StandAloneMuonPtEtaPhiHighPt->getTH2F() && GlobalMuonPtEtaPhiHighPt->getTH2F() && effPtPhiHighPt->getTH2F()) {
224  effPtPhiHighPt->getTH2F()->Divide(
225  GlobalMuonPtEtaPhiHighPt->getTH2F(), StandAloneMuonPtEtaPhiHighPt->getTH2F(), 1., 1., "");
226  }
227  }
228  if (trackX && muonX && trackY && muonY && trackZ && muonZ && trackEta && muonEta && trackPhi && muonPhi && trackD0 &&
229  muonD0 && trackCompatibleLayers && muonCompatibleLayers) { // && StandAloneMuonPtEtaPhi && GlobalMuonPtEtaPhi){
230 
231  if (trackEfficiency_) {
232  if (effX->getTH1F() && trackX->getTH1F() && muonX->getTH1F()) {
233  effX->getTH1F()->Divide(trackX->getTH1F(), muonX->getTH1F(), 1., 1., "");
234  }
235  if (effY->getTH1F() && trackY->getTH1F() && muonY->getTH1F()) {
236  effY->getTH1F()->Divide(trackY->getTH1F(), muonY->getTH1F(), 1., 1., "");
237  }
238  if (effZ->getTH1F() && trackZ->getTH1F() && muonZ->getTH1F()) {
239  effZ->getTH1F()->Divide(trackZ->getTH1F(), muonZ->getTH1F(), 1., 1., "");
240  }
241  if (effEta->getTH1F() && trackEta->getTH1F() && muonEta->getTH1F()) {
242  effEta->getTH1F()->Divide(trackEta->getTH1F(), muonEta->getTH1F(), 1., 1., "");
243  }
244  if (effPhi->getTH1F() && trackPhi->getTH1F() && muonPhi->getTH1F()) {
245  effPhi->getTH1F()->Divide(trackPhi->getTH1F(), muonPhi->getTH1F(), 1., 1., "");
246  }
247  if (effD0->getTH1F() && trackD0->getTH1F() && muonD0->getTH1F()) {
248  effD0->getTH1F()->Divide(trackD0->getTH1F(), muonD0->getTH1F(), 1., 1., "");
249  }
250  if (effCompatibleLayers->getTH1F() && trackCompatibleLayers->getTH1F() && muonCompatibleLayers->getTH1F()) {
251  effCompatibleLayers->getTH1F()->Divide(
252  trackCompatibleLayers->getTH1F(), muonCompatibleLayers->getTH1F(), 1., 1., "");
253  }
254  } else {
255  if (effX->getTH1F() && trackX->getTH1F() && muonX->getTH1F()) {
256  effX->getTH1F()->Divide(muonX->getTH1F(), trackX->getTH1F(), 1., 1., "");
257  }
258  if (effY->getTH1F() && trackY->getTH1F() && muonY->getTH1F()) {
259  effY->getTH1F()->Divide(muonY->getTH1F(), trackY->getTH1F(), 1., 1., "");
260  }
261  if (effZ->getTH1F() && trackZ->getTH1F() && muonZ->getTH1F()) {
262  effZ->getTH1F()->Divide(muonZ->getTH1F(), trackZ->getTH1F(), 1., 1., "");
263  }
264  if (effEta->getTH1F() && trackEta->getTH1F() && muonEta->getTH1F()) {
265  effEta->getTH1F()->Divide(muonEta->getTH1F(), trackEta->getTH1F(), 1., 1., "");
266  }
267  if (effPhi->getTH1F() && trackPhi->getTH1F() && muonPhi->getTH1F()) {
268  effPhi->getTH1F()->Divide(muonPhi->getTH1F(), trackPhi->getTH1F(), 1., 1., "");
269  }
270  if (effD0->getTH1F() && trackD0->getTH1F() && muonD0->getTH1F()) {
271  effD0->getTH1F()->Divide(muonD0->getTH1F(), trackD0->getTH1F(), 1., 1., "");
272  }
273  }
274  }
275 }
virtual TH2F * getTH2F() const
void bookMEs(DQMStore::IBooker &ibooker_)
book MEs
MonitorElement * effPtPhiHighPt
virtual TH1F * getTH1F() const
MonitorElement * effCompatibleLayers
MonitorElement * effPtPhiLowPt

Member Data Documentation

std::string TrackEfficiencyClient::algoName_
private

Definition at line 60 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), dqmEndJob(), and TrackEfficiencyClient().

edm::ParameterSet TrackEfficiencyClient::conf_
private

Definition at line 54 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and TrackEfficiencyClient().

MonitorElement* TrackEfficiencyClient::effCompatibleLayers
private

Definition at line 69 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

MonitorElement* TrackEfficiencyClient::effD0
private

Definition at line 68 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

MonitorElement* TrackEfficiencyClient::effEta
private

Definition at line 66 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

MonitorElement* TrackEfficiencyClient::effPhi
private

Definition at line 67 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

MonitorElement * TrackEfficiencyClient::effPtPhiHighPt
private

Definition at line 70 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

MonitorElement* TrackEfficiencyClient::effPtPhiLowPt
private

Definition at line 70 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

MonitorElement* TrackEfficiencyClient::effX
private

Definition at line 63 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

MonitorElement* TrackEfficiencyClient::effY
private

Definition at line 64 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

MonitorElement* TrackEfficiencyClient::effZ
private

Definition at line 65 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

std::string TrackEfficiencyClient::FolderName_
private

Definition at line 61 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), dqmEndJob(), and TrackEfficiencyClient().

std::string TrackEfficiencyClient::histName
private

Definition at line 59 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

bool TrackEfficiencyClient::trackEfficiency_
private

Definition at line 56 of file TrackEfficiencyClient.h.

Referenced by dqmEndJob(), and TrackEfficiencyClient().