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::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

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
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

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::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

$Id: ElectronConversionRejectionValidator

Author
J.Bendavid

Definition at line 42 of file ElectronConversionRejectionValidator.h.

Constructor & Destructor Documentation

◆ ElectronConversionRejectionValidator()

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

Definition at line 48 of file ElectronConversionRejectionValidator.cc.

48  {
49  fName_ = pset.getUntrackedParameter<std::string>("Name");
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 
56  conversionCollectionProducer_ = pset.getParameter<std::string>("convProducer");
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 }

References muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~ElectronConversionRejectionValidator()

ElectronConversionRejectionValidator::~ElectronConversionRejectionValidator ( )
override

Definition at line 78 of file ElectronConversionRejectionValidator.cc.

78 {}

Member Function Documentation

◆ analyze()

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

Reimplemented from DQMEDAnalyzer.

Definition at line 147 of file ElectronConversionRejectionValidator.cc.

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());
235  h_convProb_->Fill(ChiSquaredProbability(conv->conversionVertex().chi2(), conv->conversionVertex().ndof()));
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 }

References funct::abs(), reco::TrackBase::algo(), ChiSquaredProbability(), conv, MillePedeFileConverter_cfg::e, electronConversionRejectionValidator::gsfElectronCollection, edm::HandleBase::isValid(), ConversionTools::matchedConversion(), reco::HitPattern::MISSING_INNER_HITS, reco::BeamSpot::position(), reco::Vertex::position(), edm::Handle< T >::product(), and reco::TrackBase::pt().

◆ bookHistograms()

void ElectronConversionRejectionValidator::bookHistograms ( DQMStore::IBooker bei,
edm::Run const &  ,
edm::EventSetup const &   
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 80 of file ElectronConversionRejectionValidator.cc.

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 }

References reco::TrackBase::algoSize, dqm::implementation::IBooker::book1D(), 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::implementation::NavigatorBase::setCurrentFolder(), electronConversionRejectionValidator::trackptBin, electronConversionRejectionValidator::trackptMax, electronConversionRejectionValidator::trackptMin, photonAnalyzer_cfi::zBin, photonAnalyzer_cfi::zMax, and photonAnalyzer_cfi::zMin.

Member Data Documentation

◆ beamspotToken_

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

Definition at line 69 of file ElectronConversionRejectionValidator.h.

◆ conversionCollection_

std::string ElectronConversionRejectionValidator::conversionCollection_
private

Definition at line 59 of file ElectronConversionRejectionValidator.h.

◆ conversionCollectionProducer_

std::string ElectronConversionRejectionValidator::conversionCollectionProducer_
private

Definition at line 58 of file ElectronConversionRejectionValidator.h.

◆ convToken_

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

Definition at line 67 of file ElectronConversionRejectionValidator.h.

◆ dqmpath_

std::string ElectronConversionRejectionValidator::dqmpath_
private

Definition at line 64 of file ElectronConversionRejectionValidator.h.

◆ eleD0Max_

float ElectronConversionRejectionValidator::eleD0Max_
private

Definition at line 75 of file ElectronConversionRejectionValidator.h.

◆ eleExpectedHitsInnerMax_

int ElectronConversionRejectionValidator::eleExpectedHitsInnerMax_
private

Definition at line 74 of file ElectronConversionRejectionValidator.h.

◆ elePtMin_

float ElectronConversionRejectionValidator::elePtMin_
private

Definition at line 73 of file ElectronConversionRejectionValidator.h.

◆ fName_

std::string ElectronConversionRejectionValidator::fName_
private

Definition at line 51 of file ElectronConversionRejectionValidator.h.

◆ gsfElecToken_

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

Definition at line 66 of file ElectronConversionRejectionValidator.h.

◆ gsfElectronCollection_

std::string ElectronConversionRejectionValidator::gsfElectronCollection_
private

Definition at line 62 of file ElectronConversionRejectionValidator.h.

◆ gsfElectronCollectionProducer_

std::string ElectronConversionRejectionValidator::gsfElectronCollectionProducer_
private

Definition at line 61 of file ElectronConversionRejectionValidator.h.

◆ h_convEta_

MonitorElement* ElectronConversionRejectionValidator::h_convEta_
private

Definition at line 95 of file ElectronConversionRejectionValidator.h.

◆ h_convLeadTrackAlgo_

MonitorElement* ElectronConversionRejectionValidator::h_convLeadTrackAlgo_
private

Definition at line 105 of file ElectronConversionRejectionValidator.h.

◆ h_convLeadTrackpt_

MonitorElement* ElectronConversionRejectionValidator::h_convLeadTrackpt_
private

Definition at line 102 of file ElectronConversionRejectionValidator.h.

◆ h_convLog10TrailTrackpt_

MonitorElement* ElectronConversionRejectionValidator::h_convLog10TrailTrackpt_
private

Definition at line 104 of file ElectronConversionRejectionValidator.h.

◆ h_convPhi_

MonitorElement* ElectronConversionRejectionValidator::h_convPhi_
private

Definition at line 96 of file ElectronConversionRejectionValidator.h.

◆ h_convProb_

MonitorElement* ElectronConversionRejectionValidator::h_convProb_
private

Definition at line 100 of file ElectronConversionRejectionValidator.h.

◆ h_convPt_

MonitorElement* ElectronConversionRejectionValidator::h_convPt_
private

Definition at line 94 of file ElectronConversionRejectionValidator.h.

◆ h_convRho_

MonitorElement* ElectronConversionRejectionValidator::h_convRho_
private

Definition at line 97 of file ElectronConversionRejectionValidator.h.

◆ h_convTrailTrackAlgo_

MonitorElement* ElectronConversionRejectionValidator::h_convTrailTrackAlgo_
private

Definition at line 106 of file ElectronConversionRejectionValidator.h.

◆ h_convTrailTrackpt_

MonitorElement* ElectronConversionRejectionValidator::h_convTrailTrackpt_
private

Definition at line 103 of file ElectronConversionRejectionValidator.h.

◆ h_convZ_

MonitorElement* ElectronConversionRejectionValidator::h_convZ_
private

Definition at line 98 of file ElectronConversionRejectionValidator.h.

◆ h_eleEtaAll_

MonitorElement* ElectronConversionRejectionValidator::h_eleEtaAll_
private

Definition at line 79 of file ElectronConversionRejectionValidator.h.

◆ h_eleEtaEff_

MonitorElement* ElectronConversionRejectionValidator::h_eleEtaEff_
private

Definition at line 91 of file ElectronConversionRejectionValidator.h.

◆ h_eleEtaFail_

MonitorElement* ElectronConversionRejectionValidator::h_eleEtaFail_
private

Definition at line 87 of file ElectronConversionRejectionValidator.h.

◆ h_eleEtaPass_

MonitorElement* ElectronConversionRejectionValidator::h_eleEtaPass_
private

Definition at line 83 of file ElectronConversionRejectionValidator.h.

◆ h_elePhiAll_

MonitorElement* ElectronConversionRejectionValidator::h_elePhiAll_
private

Definition at line 80 of file ElectronConversionRejectionValidator.h.

◆ h_elePhiEff_

MonitorElement* ElectronConversionRejectionValidator::h_elePhiEff_
private

Definition at line 92 of file ElectronConversionRejectionValidator.h.

◆ h_elePhiFail_

MonitorElement* ElectronConversionRejectionValidator::h_elePhiFail_
private

Definition at line 88 of file ElectronConversionRejectionValidator.h.

◆ h_elePhiPass_

MonitorElement* ElectronConversionRejectionValidator::h_elePhiPass_
private

Definition at line 84 of file ElectronConversionRejectionValidator.h.

◆ h_elePtAll_

MonitorElement* ElectronConversionRejectionValidator::h_elePtAll_
private

Definition at line 78 of file ElectronConversionRejectionValidator.h.

◆ h_elePtEff_

MonitorElement* ElectronConversionRejectionValidator::h_elePtEff_
private

Definition at line 90 of file ElectronConversionRejectionValidator.h.

◆ h_elePtFail_

MonitorElement* ElectronConversionRejectionValidator::h_elePtFail_
private

Definition at line 86 of file ElectronConversionRejectionValidator.h.

◆ h_elePtPass_

MonitorElement* ElectronConversionRejectionValidator::h_elePtPass_
private

Definition at line 82 of file ElectronConversionRejectionValidator.h.

◆ isRunCentrally_

bool ElectronConversionRejectionValidator::isRunCentrally_
private

Definition at line 71 of file ElectronConversionRejectionValidator.h.

◆ nEntry_

int ElectronConversionRejectionValidator::nEntry_
private

Definition at line 55 of file ElectronConversionRejectionValidator.h.

◆ nEvt_

int ElectronConversionRejectionValidator::nEvt_
private

Definition at line 54 of file ElectronConversionRejectionValidator.h.

◆ offline_pvToken_

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

Definition at line 68 of file ElectronConversionRejectionValidator.h.

◆ parameters_

edm::ParameterSet ElectronConversionRejectionValidator::parameters_
private

◆ verbosity_

int ElectronConversionRejectionValidator::verbosity_
private

Definition at line 53 of file ElectronConversionRejectionValidator.h.

ElectronConversionRejectionValidator::nEvt_
int nEvt_
Definition: ElectronConversionRejectionValidator.h:54
reco::Conversion
Definition: Conversion.h:23
ALCARECOTkAlBeamHalo_cff.etaMin
etaMin
GeV.
Definition: ALCARECOTkAlBeamHalo_cff.py:32
ElectronConversionRejectionValidator::conversionCollection_
std::string conversionCollection_
Definition: ElectronConversionRejectionValidator.h:59
ElectronConversionRejectionValidator::h_convLeadTrackpt_
MonitorElement * h_convLeadTrackpt_
Definition: ElectronConversionRejectionValidator.h:102
ElectronConversionRejectionValidator::h_elePtFail_
MonitorElement * h_elePtFail_
Definition: ElectronConversionRejectionValidator.h:86
photonAnalyzer_cfi.zMax
zMax
Definition: photonAnalyzer_cfi.py:95
ElectronConversionRejectionValidator::eleExpectedHitsInnerMax_
int eleExpectedHitsInnerMax_
Definition: ElectronConversionRejectionValidator.h:74
edm::Handle::product
T const * product() const
Definition: Handle.h:70
etaBin
int etaBin(const l1t::HGCalMulticluster *cl)
Definition: L1EGammaEEProducer.cc:19
photonAnalyzer_cfi.zBin
zBin
Definition: photonAnalyzer_cfi.py:93
ElectronConversionRejectionValidator::h_convProb_
MonitorElement * h_convProb_
Definition: ElectronConversionRejectionValidator.h:100
ElectronConversionRejectionValidator::offline_pvToken_
edm::EDGetTokenT< reco::VertexCollection > offline_pvToken_
Definition: ElectronConversionRejectionValidator.h:68
conv
static HepMC::IO_HEPEVT conv
Definition: BeamHaloProducer.cc:48
BeamMonitor_cff.phiBin
phiBin
Definition: BeamMonitor_cff.py:75
ElectronConversionRejectionValidator::beamspotToken_
edm::EDGetTokenT< reco::BeamSpot > beamspotToken_
Definition: ElectronConversionRejectionValidator.h:69
ElectronConversionRejectionValidator::h_convPt_
MonitorElement * h_convPt_
Definition: ElectronConversionRejectionValidator.h:94
ChiSquaredProbability
float ChiSquaredProbability(double chiSquared, double nrDOF)
Definition: ChiSquaredProbability.cc:13
ElectronConversionRejectionValidator::h_convZ_
MonitorElement * h_convZ_
Definition: ElectronConversionRejectionValidator.h:98
electronConversionRejectionValidator.trackptBin
trackptBin
Definition: electronConversionRejectionValidator.py:24
edm
HLT enums.
Definition: AlignableModifier.h:19
ElectronConversionRejectionValidator::h_elePhiAll_
MonitorElement * h_elePhiAll_
Definition: ElectronConversionRejectionValidator.h:80
edm::LogInfo
Definition: MessageLogger.h:254
ptMin
constexpr float ptMin
Definition: PhotonIDValueMapProducer.cc:153
ElectronConversionRejectionValidator::dqmpath_
std::string dqmpath_
Definition: ElectronConversionRejectionValidator.h:64
reco::Vertex::position
const Point & position() const
position
Definition: Vertex.h:114
reco::GsfElectronCollection
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
Definition: GsfElectronFwd.h:14
electronConversionRejectionValidator.trackptMax
trackptMax
Definition: electronConversionRejectionValidator.py:25
electronConversionRejectionValidator.trackptMin
trackptMin
Definition: electronConversionRejectionValidator.py:26
edm::Handle< reco::ConversionCollection >
muonRecoAnalyzer_cfi.ptBin
ptBin
Definition: muonRecoAnalyzer_cfi.py:45
ElectronConversionRejectionValidator::convToken_
edm::EDGetTokenT< reco::ConversionCollection > convToken_
Definition: ElectronConversionRejectionValidator.h:67
reco::TrackBase::pt
double pt() const
track transverse momentum
Definition: TrackBase.h:608
AlignmentTrackSelector_cfi.ptMax
ptMax
Definition: AlignmentTrackSelector_cfi.py:12
ElectronConversionRejectionValidator::h_convLeadTrackAlgo_
MonitorElement * h_convLeadTrackAlgo_
Definition: ElectronConversionRejectionValidator.h:105
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
AlignmentTrackSelector_cfi.phiMin
phiMin
Definition: AlignmentTrackSelector_cfi.py:18
reco::BeamSpot
Definition: BeamSpot.h:21
AlignmentTrackSelector_cfi.phiMax
phiMax
Definition: AlignmentTrackSelector_cfi.py:17
ElectronConversionRejectionValidator::h_convTrailTrackAlgo_
MonitorElement * h_convTrailTrackAlgo_
Definition: ElectronConversionRejectionValidator.h:106
reco::BeamSpot::position
const Point & position() const
position
Definition: BeamSpot.h:59
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ElectronConversionRejectionValidator::eleD0Max_
float eleD0Max_
Definition: ElectronConversionRejectionValidator.h:75
ElectronConversionRejectionValidator::h_convRho_
MonitorElement * h_convRho_
Definition: ElectronConversionRejectionValidator.h:97
edm::LogError
Definition: MessageLogger.h:183
ElectronConversionRejectionValidator::h_elePtPass_
MonitorElement * h_elePtPass_
Definition: ElectronConversionRejectionValidator.h:82
ElectronConversionRejectionValidator::h_elePhiPass_
MonitorElement * h_elePhiPass_
Definition: ElectronConversionRejectionValidator.h:84
ElectronConversionRejectionValidator::nEntry_
int nEntry_
Definition: ElectronConversionRejectionValidator.h:55
ElectronConversionRejectionValidator::h_convLog10TrailTrackpt_
MonitorElement * h_convLog10TrailTrackpt_
Definition: ElectronConversionRejectionValidator.h:104
ElectronConversionRejectionValidator::parameters_
edm::ParameterSet parameters_
Definition: ElectronConversionRejectionValidator.h:57
ElectronConversionRejectionValidator::elePtMin_
float elePtMin_
Definition: ElectronConversionRejectionValidator.h:73
photonAnalyzer_cfi.zMin
zMin
Definition: photonAnalyzer_cfi.py:94
electronConversionRejectionValidator.rhoBin
rhoBin
Definition: electronConversionRejectionValidator.py:58
HLT_2018_cff.rhoMax
rhoMax
Definition: HLT_2018_cff.py:13607
ElectronConversionRejectionValidator::h_eleEtaAll_
MonitorElement * h_eleEtaAll_
Definition: ElectronConversionRejectionValidator.h:79
ElectronConversionRejectionValidator::h_eleEtaPass_
MonitorElement * h_eleEtaPass_
Definition: ElectronConversionRejectionValidator.h:83
ElectronConversionRejectionValidator::fName_
std::string fName_
Definition: ElectronConversionRejectionValidator.h:51
ElectronConversionRejectionValidator::h_convTrailTrackpt_
MonitorElement * h_convTrailTrackpt_
Definition: ElectronConversionRejectionValidator.h:103
ElectronConversionRejectionValidator::gsfElectronCollection_
std::string gsfElectronCollection_
Definition: ElectronConversionRejectionValidator.h:62
ElectronConversionRejectionValidator::h_eleEtaFail_
MonitorElement * h_eleEtaFail_
Definition: ElectronConversionRejectionValidator.h:87
reco::TrackBase::algo
TrackAlgorithm algo() const
Definition: TrackBase.h:532
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
ElectronConversionRejectionValidator::gsfElectronCollectionProducer_
std::string gsfElectronCollectionProducer_
Definition: ElectronConversionRejectionValidator.h:61
reco::TrackBase::algoSize
Definition: TrackBase.h:141
reco::HitPattern::MISSING_INNER_HITS
Definition: HitPattern.h:155
ConversionTools::matchedConversion
static const reco::Conversion * 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)
Definition: ConversionTools.cc:258
math::XYZVectorF
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float > > XYZVectorF
spatial vector with cartesian internal representation
Definition: Vector3D.h:16
ALCARECOTkAlBeamHalo_cff.etaMax
etaMax
Definition: ALCARECOTkAlBeamHalo_cff.py:33
ElectronConversionRejectionValidator::h_elePhiFail_
MonitorElement * h_elePhiFail_
Definition: ElectronConversionRejectionValidator.h:88
edm::RefToBase< reco::Track >
Pi
const double Pi
Definition: CosmicMuonParameters.h:18
ElectronConversionRejectionValidator::verbosity_
int verbosity_
Definition: ElectronConversionRejectionValidator.h:53
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
ElectronConversionRejectionValidator::gsfElecToken_
edm::EDGetTokenT< reco::GsfElectronCollection > gsfElecToken_
Definition: ElectronConversionRejectionValidator.h:66
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
ElectronConversionRejectionValidator::conversionCollectionProducer_
std::string conversionCollectionProducer_
Definition: ElectronConversionRejectionValidator.h:58
ElectronConversionRejectionValidator::h_convPhi_
MonitorElement * h_convPhi_
Definition: ElectronConversionRejectionValidator.h:96
electronConversionRejectionValidator.rhoMin
rhoMin
Definition: electronConversionRejectionValidator.py:59
ElectronConversionRejectionValidator::isRunCentrally_
bool isRunCentrally_
Definition: ElectronConversionRejectionValidator.h:71
ElectronConversionRejectionValidator::h_elePtAll_
MonitorElement * h_elePtAll_
Definition: ElectronConversionRejectionValidator.h:78
edm::InputTag
Definition: InputTag.h:15
reco::Vertex
Definition: Vertex.h:35
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
electronConversionRejectionValidator.gsfElectronCollection
gsfElectronCollection
Definition: electronConversionRejectionValidator.py:12
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
ElectronConversionRejectionValidator::h_convEta_
MonitorElement * h_convEta_
Definition: ElectronConversionRejectionValidator.h:95