CMS 3D CMS Logo

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

#include <ElectronConversionRejectionValidator.h>

Inheritance diagram for ElectronConversionRejectionValidator:
DQMEDAnalyzer edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &bei, edm::Run const &, edm::EventSetup const &) override
 
 ElectronConversionRejectionValidator (const edm::ParameterSet &)
 
 ~ElectronConversionRejectionValidator () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
virtual void analyze (edm::Event const &, edm::EventSetup const &)
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual void dqmBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
virtual void dqmEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, 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
 
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)
 

Private Attributes

edm::EDGetTokenT< reco::BeamSpotbeamspotToken_
 
std::string conversionCollection_
 
std::string conversionCollectionProducer_
 
edm::EDGetTokenT< reco::ConversionCollectionconvToken_
 
std::string dqmpath_
 
float eleD0Max_
 
int eleExpectedHitsInnerMax_
 
float elePtMin_
 
std::string fName_
 
edm::EDGetTokenT< reco::GsfElectronCollectiongsfElecToken_
 
std::string gsfElectronCollection_
 
std::string gsfElectronCollectionProducer_
 
MonitorElementh_convEta_
 
MonitorElementh_convLeadTrackAlgo_
 
MonitorElementh_convLeadTrackpt_
 
MonitorElementh_convLog10TrailTrackpt_
 
MonitorElementh_convPhi_
 
MonitorElementh_convProb_
 
MonitorElementh_convPt_
 
MonitorElementh_convRho_
 
MonitorElementh_convTrailTrackAlgo_
 
MonitorElementh_convTrailTrackpt_
 
MonitorElementh_convZ_
 
MonitorElementh_eleEtaAll_
 
MonitorElementh_eleEtaEff_
 
MonitorElementh_eleEtaFail_
 
MonitorElementh_eleEtaPass_
 
MonitorElementh_elePhiAll_
 
MonitorElementh_elePhiEff_
 
MonitorElementh_elePhiFail_
 
MonitorElementh_elePhiPass_
 
MonitorElementh_elePtAll_
 
MonitorElementh_elePtEff_
 
MonitorElementh_elePtFail_
 
MonitorElementh_elePtPass_
 
bool isRunCentrally_
 
int nEntry_
 
int nEvt_
 
edm::EDGetTokenT< reco::VertexCollectionoffline_pvToken_
 
edm::ParameterSet parameters_
 
int verbosity_
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::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 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)
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

$Id: ElectronConversionRejectionValidator

Author
J.Bendavid

Definition at line 42 of file ElectronConversionRejectionValidator.h.

Constructor & Destructor Documentation

ElectronConversionRejectionValidator::ElectronConversionRejectionValidator ( const edm::ParameterSet pset)
explicit

Definition at line 48 of file ElectronConversionRejectionValidator.cc.

References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HLT_2018_cff::InputTag, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.

48  {
50  verbosity_ = pset.getUntrackedParameter<int>("Verbosity");
51  parameters_ = pset;
52 
53  gsfElectronCollectionProducer_ = pset.getParameter<std::string>("gsfElectronProducer");
54  gsfElectronCollection_ = pset.getParameter<std::string>("gsfElectronCollection");
55 
57  conversionCollection_ = pset.getParameter<std::string>("conversionCollection");
58  // conversionTrackProducer_ = pset.getParameter<std::string>("trackProducer");
60  consumes<reco::GsfElectronCollection>(edm::InputTag(gsfElectronCollectionProducer_, gsfElectronCollection_));
61  convToken_ =
62  consumes<reco::ConversionCollection>(edm::InputTag(conversionCollectionProducer_, conversionCollection_));
63 
64  isRunCentrally_ = pset.getParameter<bool>("isRunCentrally");
65 
66  elePtMin_ = pset.getParameter<double>("elePtMin");
67  eleExpectedHitsInnerMax_ = pset.getParameter<int>("eleExpectedHitsInnerMax");
68  eleD0Max_ = pset.getParameter<double>("eleD0Max");
69  offline_pvToken_ = consumes<reco::VertexCollection>(
70  pset.getUntrackedParameter<edm::InputTag>("offlinePV", edm::InputTag("offlinePrimaryVertices")));
72  consumes<reco::BeamSpot>(pset.getUntrackedParameter<edm::InputTag>("beamspot", edm::InputTag("offlineBeamSpot")));
73 
74  nEvt_ = 0;
75  nEntry_ = 0;
76 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< reco::VertexCollection > offline_pvToken_
edm::EDGetTokenT< reco::GsfElectronCollection > gsfElecToken_
edm::EDGetTokenT< reco::ConversionCollection > convToken_
ElectronConversionRejectionValidator::~ElectronConversionRejectionValidator ( )
override

Definition at line 78 of file ElectronConversionRejectionValidator.cc.

78 {}

Member Function Documentation

void ElectronConversionRejectionValidator::analyze ( const edm::Event e,
const edm::EventSetup esup 
)
override

Definition at line 147 of file ElectronConversionRejectionValidator.cc.

References funct::abs(), reco::TrackBase::algo(), reco::Vertex::chi2(), ChiSquaredProbability(), conv, reco::Conversion::conversionVertex(), edm::Event::getByToken(), electronConversionRejectionValidator::gsfElectronCollection, edm::EventBase::id(), edm::HandleBase::isValid(), ConversionTools::matchedConversion(), reco::HitPattern::MISSING_INNER_HITS, reco::Vertex::ndof(), reco::BeamSpot::position(), reco::Vertex::position(), edm::Handle< T >::product(), reco::TrackBase::pt(), reco::Conversion::refittedPairMomentum(), and reco::Conversion::tracks().

147  {
148  using namespace edm;
149 
150  nEvt_++;
151  LogInfo("ElectronConversionRejectionValidator")
152  << "ElectronConversionRejectionValidator Analyzing event number: " << e.id() << " Global Counter " << nEvt_
153  << "\n";
154 
157  e.getByToken(convToken_, convHandle);
158  if (!convHandle.isValid()) {
159  edm::LogError("ElectronConversionRejectionValidator") << "Error! Can't get the Conversion collection " << std::endl;
160  return;
161  }
162 
164  Handle<reco::GsfElectronCollection> gsfElectronHandle;
165  e.getByToken(gsfElecToken_, gsfElectronHandle);
166  const reco::GsfElectronCollection& gsfElectronCollection = *(gsfElectronHandle.product());
167  if (!gsfElectronHandle.isValid()) {
168  edm::LogError("ElectronConversionRejectionValidator") << "Error! Can't get the Electron collection " << std::endl;
169  return;
170  }
171 
172  // offline Primary vertex
174  e.getByToken(offline_pvToken_, vertexHandle);
175  if (!vertexHandle.isValid()) {
176  edm::LogError("ElectronConversionRejectionValidator") << "Error! Can't get the product primary Vertex Collection "
177  << "\n";
178  return;
179  }
180  const reco::Vertex& thevtx = vertexHandle->at(0);
181 
183  e.getByToken(beamspotToken_, bsHandle);
184  if (!bsHandle.isValid()) {
185  edm::LogError("ElectronConversionRejectionValidator") << "Error! Can't get the product beamspot Collection "
186  << "\n";
187  return;
188  }
189  const reco::BeamSpot& thebs = *bsHandle.product();
190 
191  //loop over electrons
192  for (reco::GsfElectronCollection::const_iterator iele = gsfElectronCollection.begin();
193  iele != gsfElectronCollection.end();
194  ++iele) {
195  //apply basic pre-selection cuts to remove the conversions with obviously displaced tracks which will anyways be
196  //removed from the analysis by the hit pattern or impact parameter requirements
197  if (iele->pt() < elePtMin_)
198  continue;
199  if (iele->gsfTrack()->hitPattern().numberOfLostHits(reco::HitPattern::MISSING_INNER_HITS) >
201  continue;
202  if (std::abs(iele->gsfTrack()->dxy(thevtx.position())) > eleD0Max_)
203  continue;
204 
205  //fill information for all electrons
206  h_elePtAll_->Fill(iele->pt());
207  h_eleEtaAll_->Fill(iele->eta());
208  h_elePhiAll_->Fill(iele->phi());
209 
210  //find matching conversion if any
211  reco::Conversion const* conv = ConversionTools::matchedConversion(*iele, *convHandle, thebs.position());
212  //fill information on passing electrons only if there is no matching conversion (electron passed the conversion rejection cut!)
213  if (conv == nullptr) {
214  h_elePtPass_->Fill(iele->pt());
215  h_eleEtaPass_->Fill(iele->eta());
216  h_elePhiPass_->Fill(iele->phi());
217  } else {
218  //matching conversion, electron failed conversion rejection cut
219  //fill information on electron and matching conversion
220  //(Note that in case of multiple matching conversions passing the requirements, the conversion tools returns the one closest to the IP,
221  //which is most likely to be the conversion of the primary photon in case there was one.)
222 
223  //fill electron info
224  h_elePtFail_->Fill(iele->pt());
225  h_eleEtaFail_->Fill(iele->eta());
226  h_elePhiFail_->Fill(iele->phi());
227 
228  //fill conversion info
229  math::XYZVectorF convmom = conv->refittedPairMomentum();
230  h_convPt_->Fill(convmom.rho());
231  h_convEta_->Fill(convmom.eta());
232  h_convPhi_->Fill(convmom.phi());
233  h_convRho_->Fill(conv->conversionVertex().position().rho());
234  h_convZ_->Fill(conv->conversionVertex().position().z());
236 
237  //fill information about conversion tracks
238  if (conv->tracks().size() < 2)
239  continue;
240 
241  RefToBase<reco::Track> tk1 = conv->tracks().front();
242  RefToBase<reco::Track> tk2 = conv->tracks().back();
243 
244  RefToBase<reco::Track> tklead;
245  RefToBase<reco::Track> tktrail;
246  if (tk1->pt() >= tk2->pt()) {
247  tklead = tk1;
248  tktrail = tk2;
249  } else {
250  tklead = tk2;
251  tktrail = tk1;
252  }
253  h_convLeadTrackpt_->Fill(tklead->pt());
254  h_convTrailTrackpt_->Fill(tktrail->pt());
255  h_convLog10TrailTrackpt_->Fill(log10(tktrail->pt()));
256  h_convLeadTrackAlgo_->Fill(tklead->algo());
257  h_convTrailTrackAlgo_->Fill(tktrail->algo());
258  }
259  }
260 }
const reco::Vertex & conversionVertex() const
returns the reco conversion vertex
Definition: Conversion.h:88
static reco::Conversion const * matchedConversion(const reco::GsfElectron &ele, const reco::ConversionCollection &convCol, const math::XYZPoint &beamspot, bool allowCkfMatch=true, float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=0)
static HepMC::IO_HEPEVT conv
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:525
const Point & position() const
position
Definition: Vertex.h:113
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
math::XYZVectorF refittedPairMomentum() const
Conversion tracks momentum from the tracks refitted with vertex constraint.
Definition: Conversion.cc:206
TrackAlgorithm algo() const
Definition: TrackBase.h:526
void Fill(long long x)
double pt() const
track transverse momentum
Definition: TrackBase.h:602
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
double chi2() const
chi-squares
Definition: Vertex.h:102
float ChiSquaredProbability(double chiSquared, double nrDOF)
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float > > XYZVectorF
spatial vector with cartesian internal representation
Definition: Vector3D.h:16
edm::EDGetTokenT< reco::VertexCollection > offline_pvToken_
bool isValid() const
Definition: HandleBase.h:70
double ndof() const
Definition: Vertex.h:109
T const * product() const
Definition: Handle.h:69
edm::EventID id() const
Definition: EventBase.h:59
HLT enums.
const Point & position() const
position
Definition: BeamSpot.h:59
edm::EDGetTokenT< reco::GsfElectronCollection > gsfElecToken_
edm::EDGetTokenT< reco::ConversionCollection > convToken_
std::vector< edm::RefToBase< reco::Track > > const & tracks() const
vector of track to base references
Definition: Conversion.cc:150
void ElectronConversionRejectionValidator::bookHistograms ( DQMStore::IBooker bei,
edm::Run const &  ,
edm::EventSetup const &   
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 80 of file ElectronConversionRejectionValidator.cc.

References reco::TrackBase::algoSize, dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), muonRecoAnalyzer_cfi::etaBin, ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, BeamMonitor_cff::phiBin, AlignmentTrackSelector_cfi::phiMax, AlignmentTrackSelector_cfi::phiMin, Pi, muonRecoAnalyzer_cfi::ptBin, AlignmentTrackSelector_cfi::ptMax, ptMin, electronConversionRejectionValidator::rhoBin, HLT_2018_cff::rhoMax, electronConversionRejectionValidator::rhoMin, dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), electronConversionRejectionValidator::trackptBin, electronConversionRejectionValidator::trackptMax, electronConversionRejectionValidator::trackptMin, photonAnalyzer_cfi::zBin, photonAnalyzer_cfi::zMax, and photonAnalyzer_cfi::zMin.

82  {
83  double ptMin = parameters_.getParameter<double>("ptMin");
84  double ptMax = parameters_.getParameter<double>("ptMax");
85  int ptBin = parameters_.getParameter<int>("ptBin");
86 
87  double trackptMin = parameters_.getParameter<double>("trackptMin");
88  double trackptMax = parameters_.getParameter<double>("trackptMax");
89  int trackptBin = parameters_.getParameter<int>("trackptBin");
90 
91  double etaMin = parameters_.getParameter<double>("etaMin");
92  double etaMax = parameters_.getParameter<double>("etaMax");
93  int etaBin = parameters_.getParameter<int>("etaBin");
94 
95  double phiMin = -TMath::Pi();
96  double phiMax = TMath::Pi();
97  int phiBin = parameters_.getParameter<int>("phiBin");
98 
99  double rhoMin = parameters_.getParameter<double>("rhoMin");
100  double rhoMax = parameters_.getParameter<double>("rhoMax");
101  int rhoBin = parameters_.getParameter<int>("rhoBin");
102 
103  double zMin = parameters_.getParameter<double>("zMin");
104  double zMax = parameters_.getParameter<double>("zMax");
105  int zBin = parameters_.getParameter<int>("zBin");
106 
108  // SC from reco photons
109 
110  //TString simfolder = TString(
111  //std::string simpath = dqmpath_ + "SimulationInfo";
112  ibooker.setCurrentFolder(dqmpath_);
113  //
114  // simulation information about conversions
115  // Histograms for efficiencies
116  h_elePtAll_ = ibooker.book1D("elePtAll", "# of Electrons", ptBin, ptMin, ptMax);
117  h_eleEtaAll_ = ibooker.book1D("eleEtaAll", "# of Electrons", etaBin, etaMin, etaMax);
118  h_elePhiAll_ = ibooker.book1D("elePhiAll", "# of Electrons", phiBin, phiMin, phiMax);
119 
120  h_elePtPass_ = ibooker.book1D("elePtPass", "# of Electrons", ptBin, ptMin, ptMax);
121  h_eleEtaPass_ = ibooker.book1D("eleEtaPass", "# of Electrons", etaBin, etaMin, etaMax);
122  h_elePhiPass_ = ibooker.book1D("elePhiPass", "# of Electrons", phiBin, phiMin, phiMax);
123 
124  h_elePtFail_ = ibooker.book1D("elePtFail", "# of Electrons", ptBin, ptMin, ptMax);
125  h_eleEtaFail_ = ibooker.book1D("eleEtaFail", "# of Electrons", etaBin, etaMin, etaMax);
126  h_elePhiFail_ = ibooker.book1D("elePhiFail", "# of Electrons", phiBin, phiMin, phiMax);
127 
128  h_convPt_ = ibooker.book1D("convPt", "# of Electrons", ptBin, ptMin, ptMax);
129  h_convEta_ = ibooker.book1D("convEta", "# of Electrons", etaBin, etaMin, etaMax);
130  h_convPhi_ = ibooker.book1D("convPhi", "# of Electrons", phiBin, phiMin, phiMax);
131  h_convRho_ = ibooker.book1D("convRho", "# of Electrons", rhoBin, rhoMin, rhoMax);
132  h_convZ_ = ibooker.book1D("convZ", "# of Electrons", zBin, zMin, zMax);
133  h_convProb_ = ibooker.book1D("convProb", "# of Electrons", 100, 0.0, 1.0);
134 
135  h_convLeadTrackpt_ = ibooker.book1D("convLeadTrackpt", "# of Electrons", trackptBin, trackptMin, trackptMax);
136 
137  h_convTrailTrackpt_ = ibooker.book1D("convTrailTrackpt", "# of Electrons", trackptBin, trackptMin, trackptMax);
138 
139  h_convLog10TrailTrackpt_ = ibooker.book1D("convLog10TrailTrackpt", "# of Electrons", ptBin, -2.0, 3.0);
140 
141  h_convLeadTrackAlgo_ = ibooker.book1D(
142  "convLeadTrackAlgo", "# of Electrons", reco::TrackBase::algoSize, -0.5, reco::TrackBase::algoSize - 0.5);
143  h_convTrailTrackAlgo_ = ibooker.book1D(
144  "convLeadTrackAlgo", "# of Electrons", reco::TrackBase::algoSize, -0.5, reco::TrackBase::algoSize - 0.5);
145 }
const double Pi
T getParameter(std::string const &) const

Member Data Documentation

edm::EDGetTokenT<reco::BeamSpot> ElectronConversionRejectionValidator::beamspotToken_
private

Definition at line 69 of file ElectronConversionRejectionValidator.h.

std::string ElectronConversionRejectionValidator::conversionCollection_
private

Definition at line 59 of file ElectronConversionRejectionValidator.h.

std::string ElectronConversionRejectionValidator::conversionCollectionProducer_
private

Definition at line 58 of file ElectronConversionRejectionValidator.h.

edm::EDGetTokenT<reco::ConversionCollection> ElectronConversionRejectionValidator::convToken_
private

Definition at line 67 of file ElectronConversionRejectionValidator.h.

std::string ElectronConversionRejectionValidator::dqmpath_
private

Definition at line 64 of file ElectronConversionRejectionValidator.h.

float ElectronConversionRejectionValidator::eleD0Max_
private

Definition at line 75 of file ElectronConversionRejectionValidator.h.

int ElectronConversionRejectionValidator::eleExpectedHitsInnerMax_
private

Definition at line 74 of file ElectronConversionRejectionValidator.h.

float ElectronConversionRejectionValidator::elePtMin_
private

Definition at line 73 of file ElectronConversionRejectionValidator.h.

std::string ElectronConversionRejectionValidator::fName_
private

Definition at line 51 of file ElectronConversionRejectionValidator.h.

edm::EDGetTokenT<reco::GsfElectronCollection> ElectronConversionRejectionValidator::gsfElecToken_
private

Definition at line 66 of file ElectronConversionRejectionValidator.h.

std::string ElectronConversionRejectionValidator::gsfElectronCollection_
private

Definition at line 62 of file ElectronConversionRejectionValidator.h.

std::string ElectronConversionRejectionValidator::gsfElectronCollectionProducer_
private

Definition at line 61 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_convEta_
private

Definition at line 95 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_convLeadTrackAlgo_
private

Definition at line 105 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_convLeadTrackpt_
private

Definition at line 102 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_convLog10TrailTrackpt_
private

Definition at line 104 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_convPhi_
private

Definition at line 96 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_convProb_
private

Definition at line 100 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_convPt_
private

Definition at line 94 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_convRho_
private

Definition at line 97 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_convTrailTrackAlgo_
private

Definition at line 106 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_convTrailTrackpt_
private

Definition at line 103 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_convZ_
private

Definition at line 98 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_eleEtaAll_
private

Definition at line 79 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_eleEtaEff_
private

Definition at line 91 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_eleEtaFail_
private

Definition at line 87 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_eleEtaPass_
private

Definition at line 83 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_elePhiAll_
private

Definition at line 80 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_elePhiEff_
private

Definition at line 92 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_elePhiFail_
private

Definition at line 88 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_elePhiPass_
private

Definition at line 84 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_elePtAll_
private

Definition at line 78 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_elePtEff_
private

Definition at line 90 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_elePtFail_
private

Definition at line 86 of file ElectronConversionRejectionValidator.h.

MonitorElement* ElectronConversionRejectionValidator::h_elePtPass_
private

Definition at line 82 of file ElectronConversionRejectionValidator.h.

bool ElectronConversionRejectionValidator::isRunCentrally_
private

Definition at line 71 of file ElectronConversionRejectionValidator.h.

int ElectronConversionRejectionValidator::nEntry_
private

Definition at line 55 of file ElectronConversionRejectionValidator.h.

int ElectronConversionRejectionValidator::nEvt_
private

Definition at line 54 of file ElectronConversionRejectionValidator.h.

edm::EDGetTokenT<reco::VertexCollection> ElectronConversionRejectionValidator::offline_pvToken_
private

Definition at line 68 of file ElectronConversionRejectionValidator.h.

edm::ParameterSet ElectronConversionRejectionValidator::parameters_
private
int ElectronConversionRejectionValidator::verbosity_
private

Definition at line 53 of file ElectronConversionRejectionValidator.h.