|
|
#include <ElectronConversionRejectionValidator.h>
◆ ElectronConversionRejectionValidator()
ElectronConversionRejectionValidator::ElectronConversionRejectionValidator |
( |
const edm::ParameterSet & |
pset | ) |
|
|
explicit |
◆ ~ElectronConversionRejectionValidator()
ElectronConversionRejectionValidator::~ElectronConversionRejectionValidator |
( |
| ) |
|
|
override |
◆ analyze()
Reimplemented from DQMEDAnalyzer.
Definition at line 140 of file ElectronConversionRejectionValidator.cc.
144 LogInfo(
"ElectronConversionRejectionValidator")
145 <<
"ElectronConversionRejectionValidator Analyzing event number: " <<
e.id() <<
" Global Counter " <<
nEvt_
152 edm::LogError(
"ElectronConversionRejectionValidator") <<
"Error! Can't get the Conversion collection " << std::endl;
160 if (!gsfElectronHandle.
isValid()) {
161 edm::LogError(
"ElectronConversionRejectionValidator") <<
"Error! Can't get the Electron collection " << std::endl;
169 edm::LogError(
"ElectronConversionRejectionValidator") <<
"Error! Can't get the product primary Vertex Collection "
178 edm::LogError(
"ElectronConversionRejectionValidator") <<
"Error! Can't get the product beamspot Collection "
206 if (
conv ==
nullptr) {
231 if (
conv->tracks().size() < 2)
239 if (tk1->
pt() >= tk2->
pt()) {
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()
Implements DQMEDAnalyzer.
Definition at line 73 of file ElectronConversionRejectionValidator.cc.
126 h_convProb_ = ibooker.book1D(
"convProb",
"# of Electrons", 100, 0.0, 1.0);
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.
◆ beamspotToken_
◆ conversionCollection_
std::string ElectronConversionRejectionValidator::conversionCollection_ |
|
private |
◆ conversionCollectionProducer_
std::string ElectronConversionRejectionValidator::conversionCollectionProducer_ |
|
private |
◆ convToken_
◆ dqmpath_
std::string ElectronConversionRejectionValidator::dqmpath_ |
|
private |
◆ eleD0Max_
float ElectronConversionRejectionValidator::eleD0Max_ |
|
private |
◆ eleExpectedHitsInnerMax_
int ElectronConversionRejectionValidator::eleExpectedHitsInnerMax_ |
|
private |
◆ elePtMin_
float ElectronConversionRejectionValidator::elePtMin_ |
|
private |
◆ fName_
std::string ElectronConversionRejectionValidator::fName_ |
|
private |
◆ gsfElecToken_
◆ gsfElectronCollection_
std::string ElectronConversionRejectionValidator::gsfElectronCollection_ |
|
private |
◆ gsfElectronCollectionProducer_
std::string ElectronConversionRejectionValidator::gsfElectronCollectionProducer_ |
|
private |
◆ h_convEta_
◆ h_convLeadTrackAlgo_
MonitorElement* ElectronConversionRejectionValidator::h_convLeadTrackAlgo_ |
|
private |
◆ h_convLeadTrackpt_
MonitorElement* ElectronConversionRejectionValidator::h_convLeadTrackpt_ |
|
private |
◆ h_convLog10TrailTrackpt_
MonitorElement* ElectronConversionRejectionValidator::h_convLog10TrailTrackpt_ |
|
private |
◆ h_convPhi_
◆ h_convProb_
◆ h_convPt_
◆ h_convRho_
◆ h_convTrailTrackAlgo_
MonitorElement* ElectronConversionRejectionValidator::h_convTrailTrackAlgo_ |
|
private |
◆ h_convTrailTrackpt_
MonitorElement* ElectronConversionRejectionValidator::h_convTrailTrackpt_ |
|
private |
◆ h_convZ_
◆ h_eleEtaAll_
◆ h_eleEtaEff_
◆ h_eleEtaFail_
◆ h_eleEtaPass_
◆ h_elePhiAll_
◆ h_elePhiEff_
◆ h_elePhiFail_
◆ h_elePhiPass_
◆ h_elePtAll_
◆ h_elePtEff_
◆ h_elePtFail_
◆ h_elePtPass_
◆ isRunCentrally_
bool ElectronConversionRejectionValidator::isRunCentrally_ |
|
private |
◆ nEntry_
int ElectronConversionRejectionValidator::nEntry_ |
|
private |
◆ nEvt_
int ElectronConversionRejectionValidator::nEvt_ |
|
private |
◆ offline_pvToken_
◆ parameters_
◆ verbosity_
int ElectronConversionRejectionValidator::verbosity_ |
|
private |
std::string conversionCollection_
MonitorElement * h_convLeadTrackpt_
MonitorElement * h_elePtFail_
int eleExpectedHitsInnerMax_
T const * product() const
int etaBin(const l1t::HGCalMulticluster *cl)
MonitorElement * h_convProb_
edm::EDGetTokenT< reco::VertexCollection > offline_pvToken_
static HepMC::IO_HEPEVT conv
edm::EDGetTokenT< reco::BeamSpot > beamspotToken_
MonitorElement * h_convPt_
float ChiSquaredProbability(double chiSquared, double nrDOF)
MonitorElement * h_convZ_
MonitorElement * h_elePhiAll_
const Point & position() const
position
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
Log< level::Info, false > LogInfo
edm::EDGetTokenT< reco::ConversionCollection > convToken_
double pt() const
track transverse momentum
MonitorElement * h_convLeadTrackAlgo_
MonitorElement * h_convTrailTrackAlgo_
const Point & position() const
position
MonitorElement * h_convRho_
MonitorElement * h_elePtPass_
MonitorElement * h_elePhiPass_
MonitorElement * h_convLog10TrailTrackpt_
edm::ParameterSet parameters_
MonitorElement * h_eleEtaAll_
Log< level::Error, false > LogError
MonitorElement * h_eleEtaPass_
MonitorElement * h_convTrailTrackpt_
std::string gsfElectronCollection_
MonitorElement * h_eleEtaFail_
TrackAlgorithm algo() const
std::string gsfElectronCollectionProducer_
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float > > XYZVectorF
spatial vector with cartesian internal representation
MonitorElement * h_elePhiFail_
T getParameter(std::string const &) const
Abs< T >::type abs(const T &t)
edm::EDGetTokenT< reco::GsfElectronCollection > gsfElecToken_
std::string conversionCollectionProducer_
MonitorElement * h_convPhi_
MonitorElement * h_elePtAll_
MonitorElement * h_convEta_