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::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator > 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 beginJob () override
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &) override
 
virtual void dqmAnalyze (DQMStore::IBooker &, DQMStore::IGetter &, edm::Event const &, edm::EventSetup const &)
 
 DQMEDHarvester ()
 
 DQMEDHarvester (edm::ParameterSet const &iConfig)
 
virtual void dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmEndRun (DQMStore::IBooker &, DQMStore::IGetter &, edm::Run const &, edm::EventSetup const &)
 
void endJob () final
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &es) final
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
void endRunProduce (edm::Run &run, edm::EventSetup const &es) final
 
 ~DQMEDHarvester () override=default
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >
 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
 
std::vector< bool > const & recordProvenanceList () 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)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~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 &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
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
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
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
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (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)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (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
DQMStoredqmstore_
 
edm::GetterOfProducts< DQMTokenlumimegetter_
 
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::GetterOfProducts< DQMTokenrunmegetter_
 
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::TrackEfficiencyClient ( const edm::ParameterSet ps)

Constructor.

Definition at line 25 of file TrackEfficiencyClient.cc.

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 }

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

◆ ~TrackEfficiencyClient()

TrackEfficiencyClient::~TrackEfficiencyClient ( )
override

Destructor.

Definition at line 38 of file TrackEfficiencyClient.cc.

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

Member Function Documentation

◆ beginJob()

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 }

◆ beginRun()

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 }

◆ bookMEs()

void TrackEfficiencyClient::bookMEs ( DQMStore::IBooker ibooker_)
private

book MEs

Definition at line 59 of file TrackEfficiencyClient.cc.

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_";
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_";
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_,
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 }

References algoName_, dqm::implementation::IBooker::book1D(), dqm::implementation::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::implementation::NavigatorBase::setCurrentFolder().

Referenced by dqmEndJob().

◆ dqmEndJob()

void TrackEfficiencyClient::dqmEndJob ( DQMStore::IBooker ibooker_,
DQMStore::IGetter igetter_ 
)
overrideprotectedvirtual

EndJob.

Implements DQMEDHarvester.

Definition at line 159 of file TrackEfficiencyClient.cc.

161 {
162  edm::LogInfo("TrackEfficiencyClient") << "TrackEfficiencyClient::endLuminosityBlock";
163 
164  bookMEs(ibooker_);
165  FolderName_ = "Tracking/TrackParameters/TrackEfficiency";
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 }

References algoName_, bookMEs(), dqm::implementation::NavigatorBase::cd(), effCompatibleLayers, effD0, effEta, effPhi, effPtPhiHighPt, effPtPhiLowPt, effX, effY, effZ, FolderName_, dqm::implementation::IGetter::get(), dqm::implementation::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.

Member Data Documentation

◆ algoName_

std::string TrackEfficiencyClient::algoName_
private

Definition at line 60 of file TrackEfficiencyClient.h.

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

◆ conf_

edm::ParameterSet TrackEfficiencyClient::conf_
private

Definition at line 54 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and TrackEfficiencyClient().

◆ effCompatibleLayers

MonitorElement* TrackEfficiencyClient::effCompatibleLayers
private

Definition at line 69 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

◆ effD0

MonitorElement* TrackEfficiencyClient::effD0
private

Definition at line 68 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

◆ effEta

MonitorElement* TrackEfficiencyClient::effEta
private

Definition at line 66 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

◆ effPhi

MonitorElement* TrackEfficiencyClient::effPhi
private

Definition at line 67 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

◆ effPtPhiHighPt

MonitorElement * TrackEfficiencyClient::effPtPhiHighPt
private

Definition at line 70 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

◆ effPtPhiLowPt

MonitorElement* TrackEfficiencyClient::effPtPhiLowPt
private

Definition at line 70 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

◆ effX

MonitorElement* TrackEfficiencyClient::effX
private

Definition at line 63 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

◆ effY

MonitorElement* TrackEfficiencyClient::effY
private

Definition at line 64 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

◆ effZ

MonitorElement* TrackEfficiencyClient::effZ
private

Definition at line 65 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

◆ FolderName_

std::string TrackEfficiencyClient::FolderName_
private

Definition at line 61 of file TrackEfficiencyClient.h.

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

◆ histName

std::string TrackEfficiencyClient::histName
private

Definition at line 59 of file TrackEfficiencyClient.h.

Referenced by bookMEs(), and dqmEndJob().

◆ trackEfficiency_

bool TrackEfficiencyClient::trackEfficiency_
private

Definition at line 56 of file TrackEfficiencyClient.h.

Referenced by dqmEndJob(), and TrackEfficiencyClient().

TrackEfficiencyClient_cfi.effPhiMin
effPhiMin
Definition: TrackEfficiencyClient_cfi.py:32
TrackEfficiencyClient::histName
std::string histName
Definition: TrackEfficiencyClient.h:59
TrackEfficiencyClient_cfi.effCompatibleLayersBin
effCompatibleLayersBin
Definition: TrackEfficiencyClient_cfi.py:39
TrackEfficiencyClient_cfi.effXMin
effXMin
Definition: TrackEfficiencyClient_cfi.py:16
TrackEfficiencyClient::effPtPhiLowPt
MonitorElement * effPtPhiLowPt
Definition: TrackEfficiencyClient.h:70
TrackEfficiencyClient::effZ
MonitorElement * effZ
Definition: TrackEfficiencyClient.h:65
TrackEfficiencyClient_cfi.effD0Min
effD0Min
Definition: TrackEfficiencyClient_cfi.py:36
TrackEfficiencyClient::FolderName_
std::string FolderName_
Definition: TrackEfficiencyClient.h:61
HLTObjectMonitor_cfi.muonEta
muonEta
Definition: HLTObjectMonitor_cfi.py:92
TrackEfficiencyClient_cfi.effYBin
effYBin
Definition: TrackEfficiencyClient_cfi.py:19
TrackEfficiencyClient::bookMEs
void bookMEs(DQMStore::IBooker &ibooker_)
book MEs
Definition: TrackEfficiencyClient.cc:59
TrackEfficiencyClient_cfi.effPhiBin
effPhiBin
Definition: TrackEfficiencyClient_cfi.py:31
TrackEfficiencyClient::effD0
MonitorElement * effD0
Definition: TrackEfficiencyClient.h:68
edm::LogInfo
Definition: MessageLogger.h:254
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
reco::btau::trackEta
Definition: TaggingVariable.h:42
TrackEfficiencyClient::effCompatibleLayers
MonitorElement * effCompatibleLayers
Definition: TrackEfficiencyClient.h:69
dqm::legacy::MonitorElement::getTH1F
virtual TH1F * getTH1F() const
Definition: MonitorElement.h:478
TrackEfficiencyClient::trackEfficiency_
bool trackEfficiency_
Definition: TrackEfficiencyClient.h:56
TrackEfficiencyClient_cfi.effXMax
effXMax
Definition: TrackEfficiencyClient_cfi.py:17
TrackEfficiencyClient_cfi.effCompatibleLayersMax
effCompatibleLayersMax
Definition: TrackEfficiencyClient_cfi.py:41
TrackEfficiencyClient_cfi.effZMax
effZMax
Definition: TrackEfficiencyClient_cfi.py:25
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackEfficiencyClient_cfi.effZBin
effZBin
Definition: TrackEfficiencyClient_cfi.py:23
TrackEfficiencyClient_cfi.effCompatibleLayersMin
effCompatibleLayersMin
Definition: TrackEfficiencyClient_cfi.py:40
reco::btau::trackPhi
Definition: TaggingVariable.h:43
TrackEfficiencyClient::effPhi
MonitorElement * effPhi
Definition: TrackEfficiencyClient.h:67
HLTObjectMonitor_cfi.muonPhi
muonPhi
Definition: HLTObjectMonitor_cfi.py:102
TrackEfficiencyClient_cfi.effXBin
effXBin
Definition: TrackEfficiencyClient_cfi.py:15
TrackEfficiencyClient::effX
MonitorElement * effX
Definition: TrackEfficiencyClient.h:63
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
TrackEfficiencyClient_cfi.effD0Max
effD0Max
Definition: TrackEfficiencyClient_cfi.py:37
TrackEfficiencyClient::effPtPhiHighPt
MonitorElement * effPtPhiHighPt
Definition: TrackEfficiencyClient.h:70
TrackEfficiencyClient::effY
MonitorElement * effY
Definition: TrackEfficiencyClient.h:64
TrackEfficiencyClient::effEta
MonitorElement * effEta
Definition: TrackEfficiencyClient.h:66
TrackEfficiencyClient_cfi.effEtaMax
effEtaMax
Definition: TrackEfficiencyClient_cfi.py:29
TrackEfficiencyClient_cfi.effZMin
effZMin
Definition: TrackEfficiencyClient_cfi.py:24
TrackEfficiencyClient_cfi.effEtaBin
effEtaBin
Definition: TrackEfficiencyClient_cfi.py:27
TrackEfficiencyClient_cfi.effPhiMax
effPhiMax
Definition: TrackEfficiencyClient_cfi.py:33
TrackEfficiencyClient_cfi.effYMin
effYMin
Definition: TrackEfficiencyClient_cfi.py:20
TrackEfficiencyClient::conf_
edm::ParameterSet conf_
Definition: TrackEfficiencyClient.h:54
TrackEfficiencyClient_cfi.effYMax
effYMax
Definition: TrackEfficiencyClient_cfi.py:21
dqm::impl::MonitorElement::enableSumw2
virtual void enableSumw2()
Definition: MonitorElement.cc:872
TrackEfficiencyClient_cfi.effD0Bin
effD0Bin
Definition: TrackEfficiencyClient_cfi.py:35
dqm::impl::MonitorElement::setAxisTitle
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Definition: MonitorElement.cc:800
TrackEfficiencyClient::algoName_
std::string algoName_
Definition: TrackEfficiencyClient.h:60
TrackEfficiencyClient_cfi.effEtaMin
effEtaMin
Definition: TrackEfficiencyClient_cfi.py:28
dqm::legacy::MonitorElement::getTH2F
virtual TH2F * getTH2F() const
Definition: MonitorElement.h:490