#include <OniaPhotonConversionProducer.h>
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 &) |
virtual void | endStream () |
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) |
virtual void | produce (edm::Event &event, const edm::EventSetup &esetup) |
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::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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | 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::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 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) |
Select photon conversions and produce a conversion candidate collection
Definition at line 36 of file OniaPhotonConversionProducer.h.
|
explicit |
Definition at line 55 of file OniaPhotonConversionProducer.cc.
References patPFMETCorrections_cff::algo, edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 329 of file OniaPhotonConversionProducer.cc.
References muons2muons_cfi::photon, and reco::Conversion::refittedPair4Momentum().
|
private |
Definition at line 233 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 355 of file OniaPhotonConversionProducer.cc.
|
privatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 360 of file OniaPhotonConversionProducer.cc.
References DEFINE_FWK_MODULE.
|
private |
Definition at line 259 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 279 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 307 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 182 of file OniaPhotonConversionProducer.cc.
References reco::Conversion::algo(), flags, lumiQueryAPI::q, and reco::Conversion::quality().
|
privatevirtual |
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 215 of file OniaPhotonConversionProducer.cc.
References ConversionEqualByTrack(), and ConversionLessByChi2().
|
private |
Definition at line 321 of file OniaPhotonConversionProducer.cc.
References reco::PFCandidate::gamma.
|
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 64 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 73 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 55 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 74 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 76 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 57 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 71 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 68 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 70 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 60 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 56 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 62 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 61 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 63 of file OniaPhotonConversionProducer.h.
|
private |
Definition at line 59 of file OniaPhotonConversionProducer.h.