#include <OniaPhotonConversionProducer.h>
Public Member Functions | |
OniaPhotonConversionProducer (const edm::ParameterSet &ps) | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Member Functions | |
bool | CheckPi0 (const reco::Conversion &, const reco::PFCandidateCollection &, bool &) |
bool | checkTkVtxCompatibility (const reco::Conversion &, const reco::VertexCollection &) |
reco::Candidate::LorentzVector | convertVector (const math::XYZTLorentzVectorF &) |
void | endStream () override |
bool | foundCompatibleInnerHits (const reco::HitPattern &hitPatA, const reco::HitPattern &hitPatB) |
bool | HighpuritySubset (const reco::Conversion &, const reco::VertexCollection &) |
pat::CompositeCandidate * | makePhotonCandidate (const reco::Conversion &) |
int | PackFlags (const reco::Conversion &, bool, bool, bool, bool, bool) |
void | produce (edm::Event &event, const edm::EventSetup &esetup) override |
void | removeDuplicates (reco::ConversionCollection &) |
const reco::PFCandidateCollection | selectPFPhotons (const reco::PFCandidateCollection &) |
Private Attributes | |
double | _minDistanceOfApproachMaxCut |
double | _minDistanceOfApproachMinCut |
double | _trackchi2Cut |
double | _vertexChi2ProbCut |
int | convAlgo_ |
edm::EDGetTokenT< reco::ConversionCollection > | convCollectionToken_ |
std::vector< int > | convQuality_ |
std::unique_ptr< StringCutObjectSelector< reco::Conversion > > | convSelection_ |
std::string | convSelectionCuts_ |
edm::EDGetTokenT< reco::PFCandidateCollection > | pfCandidateCollectionToken_ |
std::vector< double > | pi0LargeWindow_ |
bool | pi0OnlineSwitch_ |
std::vector< double > | pi0SmallWindow_ |
uint32_t | sigmaTkVtxComp_ |
edm::EDGetTokenT< reco::VertexCollection > | thePVsToken_ |
uint32_t | TkMinNumOfDOF_ |
bool | wantCompatibleInnerHits_ |
bool | wantHighpurity_ |
bool | wantTkVtxCompatibility_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Select photon conversions and produce a conversion candidate collection
Definition at line 37 of file OniaPhotonConversionProducer.h.
|
explicit |
Definition at line 54 of file OniaPhotonConversionProducer.cc.
References patPFMETCorrections_cff::algo, relativeConstraints::empty, edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 325 of file OniaPhotonConversionProducer.cc.
References muons2muons_cfi::photon, and reco::Conversion::refittedPair4Momentum().
|
private |
Definition at line 229 of file OniaPhotonConversionProducer.cc.
References begin, KineDebug3::count(), reco::Vertex::covariance(), reco::TrackBase::dz(), reco::TrackBase::dzError(), relativeConstraints::empty, end, training_settings::idx, lt_(), reco::Vertex::position(), edm::second(), findQualityFiles::size, mathSSE::sqrt(), reco::Conversion::tracks(), and badGlobalMuonTaggersAOD_cff::vtx.
|
private |
Definition at line 351 of file OniaPhotonConversionProducer.cc.
|
overrideprivate |
Definition at line 356 of file OniaPhotonConversionProducer.cc.
References DEFINE_FWK_MODULE.
|
private |
Definition at line 255 of file OniaPhotonConversionProducer.cc.
References KineDebug3::count(), reco::HitPattern::getHitPattern(), reco::HitPattern::getLayer(), reco::HitPattern::getSubStructure(), reco::HitPattern::getTrackerMonoStereo(), HighpuritySubset(), mps_fire::i, reco::HitPattern::numberOfAllHits(), reco::HitPattern::trackerHitFilter(), and reco::HitPattern::validHitFilter().
|
private |
Definition at line 275 of file OniaPhotonConversionProducer.cc.
References reco::TrackBase::charge(), reco::Vertex::chi2(), ChiSquaredProbability(), reco::Conversion::conversionVertex(), reco::Conversion::distOfMinimumApproach(), reco::TrackBase::dxy(), reco::TrackBase::dxyError(), mps_fire::i, reco::Vertex::ndof(), reco::TrackBase::ndof(), reco::TrackBase::normalizedChi2(), reco::Vertex::position(), reco::Conversion::tracks(), badGlobalMuonTaggersAOD_cff::vtx, and reco::Conversion::zOfPrimaryVertexFromTracks().
Referenced by foundCompatibleInnerHits().
|
private |
Definition at line 303 of file OniaPhotonConversionProducer.cc.
References pat::PATObject< ObjectType >::addUserData(), reco::Conversion::conversionVertex(), reco::Vertex::position(), reco::Conversion::refittedPair4Momentum(), reco::LeafCandidate::setP4(), reco::LeafCandidate::setVertex(), and reco::Conversion::tracks().
|
private |
Definition at line 178 of file OniaPhotonConversionProducer.cc.
References reco::Conversion::algo(), flags, lumiQueryAPI::q, and reco::Conversion::quality().
|
overrideprivate |
Definition at line 86 of file OniaPhotonConversionProducer.cc.
References conv, RemoveAddSevLevel::flag, flags, eostools::move(), edm::Handle< T >::product(), and lumiQueryAPI::q.
|
private |
Put in out collection only those conversion candidates that are not sharing tracks. If sharing, keep the one with the best chi2.
Definition at line 211 of file OniaPhotonConversionProducer.cc.
References ConversionEqualByTrack(), and ConversionLessByChi2().
|
private |
Definition at line 317 of file OniaPhotonConversionProducer.cc.
References reco::PFCandidate::gamma.
|
private |
Definition at line 68 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 67 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 66 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 65 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 74 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 56 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 75 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 78 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 77 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 58 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 72 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 69 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 71 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 61 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 57 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 63 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 62 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 64 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 60 of file OniaPhotonConversionProducer.h.