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 hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () 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 41 of file ElectronConversionRejectionValidator.cc.

41  {
42  fName_ = pset.getUntrackedParameter<std::string>("Name");
43  verbosity_ = pset.getUntrackedParameter<int>("Verbosity");
44  parameters_ = pset;
45 
46  gsfElectronCollectionProducer_ = pset.getParameter<std::string>("gsfElectronProducer");
47  gsfElectronCollection_ = pset.getParameter<std::string>("gsfElectronCollection");
48 
49  conversionCollectionProducer_ = pset.getParameter<std::string>("convProducer");
50  conversionCollection_ = pset.getParameter<std::string>("conversionCollection");
51  // conversionTrackProducer_ = pset.getParameter<std::string>("trackProducer");
53  consumes<reco::GsfElectronCollection>(edm::InputTag(gsfElectronCollectionProducer_, gsfElectronCollection_));
54  convToken_ =
55  consumes<reco::ConversionCollection>(edm::InputTag(conversionCollectionProducer_, conversionCollection_));
56 
57  isRunCentrally_ = pset.getParameter<bool>("isRunCentrally");
58 
59  elePtMin_ = pset.getParameter<double>("elePtMin");
60  eleExpectedHitsInnerMax_ = pset.getParameter<int>("eleExpectedHitsInnerMax");
61  eleD0Max_ = pset.getParameter<double>("eleD0Max");
62  offline_pvToken_ = consumes<reco::VertexCollection>(
63  pset.getUntrackedParameter<edm::InputTag>("offlinePV", edm::InputTag("offlinePrimaryVertices")));
65  consumes<reco::BeamSpot>(pset.getUntrackedParameter<edm::InputTag>("beamspot", edm::InputTag("offlineBeamSpot")));
66 
67  nEvt_ = 0;
68  nEntry_ = 0;
69 }

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

◆ ~ElectronConversionRejectionValidator()

ElectronConversionRejectionValidator::~ElectronConversionRejectionValidator ( )
override

Definition at line 71 of file ElectronConversionRejectionValidator.cc.

71 {}

Member Function Documentation

◆ analyze()

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

Reimplemented from DQMEDAnalyzer.

Definition at line 140 of file ElectronConversionRejectionValidator.cc.

140  {
141  using namespace edm;
142 
143  nEvt_++;
144  LogInfo("ElectronConversionRejectionValidator")
145  << "ElectronConversionRejectionValidator Analyzing event number: " << e.id() << " Global Counter " << nEvt_
146  << "\n";
147 
150  e.getByToken(convToken_, convHandle);
151  if (!convHandle.isValid()) {
152  edm::LogError("ElectronConversionRejectionValidator") << "Error! Can't get the Conversion collection " << std::endl;
153  return;
154  }
155 
157  Handle<reco::GsfElectronCollection> gsfElectronHandle;
158  e.getByToken(gsfElecToken_, gsfElectronHandle);
159  const reco::GsfElectronCollection& gsfElectronCollection = *(gsfElectronHandle.product());
160  if (!gsfElectronHandle.isValid()) {
161  edm::LogError("ElectronConversionRejectionValidator") << "Error! Can't get the Electron collection " << std::endl;
162  return;
163  }
164 
165  // offline Primary vertex
167  e.getByToken(offline_pvToken_, vertexHandle);
168  if (!vertexHandle.isValid()) {
169  edm::LogError("ElectronConversionRejectionValidator") << "Error! Can't get the product primary Vertex Collection "
170  << "\n";
171  return;
172  }
173  const reco::Vertex& thevtx = vertexHandle->at(0);
174 
176  e.getByToken(beamspotToken_, bsHandle);
177  if (!bsHandle.isValid()) {
178  edm::LogError("ElectronConversionRejectionValidator") << "Error! Can't get the product beamspot Collection "
179  << "\n";
180  return;
181  }
182  const reco::BeamSpot& thebs = *bsHandle.product();
183 
184  //loop over electrons
185  for (reco::GsfElectronCollection::const_iterator iele = gsfElectronCollection.begin();
186  iele != gsfElectronCollection.end();
187  ++iele) {
188  //apply basic pre-selection cuts to remove the conversions with obviously displaced tracks which will anyways be
189  //removed from the analysis by the hit pattern or impact parameter requirements
190  if (iele->pt() < elePtMin_)
191  continue;
192  if (iele->gsfTrack()->hitPattern().numberOfLostHits(reco::HitPattern::MISSING_INNER_HITS) >
194  continue;
195  if (std::abs(iele->gsfTrack()->dxy(thevtx.position())) > eleD0Max_)
196  continue;
197 
198  //fill information for all electrons
199  h_elePtAll_->Fill(iele->pt());
200  h_eleEtaAll_->Fill(iele->eta());
201  h_elePhiAll_->Fill(iele->phi());
202 
203  //find matching conversion if any
204  reco::Conversion const* conv = ConversionTools::matchedConversion(*iele, *convHandle, thebs.position());
205  //fill information on passing electrons only if there is no matching conversion (electron passed the conversion rejection cut!)
206  if (conv == nullptr) {
207  h_elePtPass_->Fill(iele->pt());
208  h_eleEtaPass_->Fill(iele->eta());
209  h_elePhiPass_->Fill(iele->phi());
210  } else {
211  //matching conversion, electron failed conversion rejection cut
212  //fill information on electron and matching conversion
213  //(Note that in case of multiple matching conversions passing the requirements, the conversion tools returns the one closest to the IP,
214  //which is most likely to be the conversion of the primary photon in case there was one.)
215 
216  //fill electron info
217  h_elePtFail_->Fill(iele->pt());
218  h_eleEtaFail_->Fill(iele->eta());
219  h_elePhiFail_->Fill(iele->phi());
220 
221  //fill conversion info
222  math::XYZVectorF convmom = conv->refittedPairMomentum();
223  h_convPt_->Fill(convmom.rho());
224  h_convEta_->Fill(convmom.eta());
225  h_convPhi_->Fill(convmom.phi());
226  h_convRho_->Fill(conv->conversionVertex().position().rho());
227  h_convZ_->Fill(conv->conversionVertex().position().z());
228  h_convProb_->Fill(ChiSquaredProbability(conv->conversionVertex().chi2(), conv->conversionVertex().ndof()));
229 
230  //fill information about conversion tracks
231  if (conv->tracks().size() < 2)
232  continue;
233 
234  RefToBase<reco::Track> tk1 = conv->tracks().front();
235  RefToBase<reco::Track> tk2 = conv->tracks().back();
236 
237  RefToBase<reco::Track> tklead;
238  RefToBase<reco::Track> tktrail;
239  if (tk1->pt() >= tk2->pt()) {
240  tklead = tk1;
241  tktrail = tk2;
242  } else {
243  tklead = tk2;
244  tktrail = tk1;
245  }
246  h_convLeadTrackpt_->Fill(tklead->pt());
247  h_convTrailTrackpt_->Fill(tktrail->pt());
248  h_convLog10TrailTrackpt_->Fill(log10(tktrail->pt()));
249  h_convLeadTrackAlgo_->Fill(tklead->algo());
250  h_convTrailTrackAlgo_->Fill(tktrail->algo());
251  }
252  }
253 }

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 73 of file ElectronConversionRejectionValidator.cc.

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

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_FULL_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:76
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
ptMin
constexpr float ptMin
Definition: PhotonIDValueMapProducer.cc:155
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::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
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:637
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
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
HLT_FULL_cff.rhoMax
rhoMax
Definition: HLT_FULL_cff.py:14991
photonAnalyzer_cfi.zMin
zMin
Definition: photonAnalyzer_cfi.py:94
electronConversionRejectionValidator.rhoBin
rhoBin
Definition: electronConversionRejectionValidator.py:58
ElectronConversionRejectionValidator::h_eleEtaAll_
MonitorElement * h_eleEtaAll_
Definition: ElectronConversionRejectionValidator.h:79
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
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:547
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:255
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::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
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