#include <ConvertedPhotonProducer.h>
Public Member Functions | |
virtual void | beginRun (edm::Run const &, const edm::EventSetup &es) override final |
ConvertedPhotonProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &evt, const edm::EventSetup &es) override |
virtual | ~ConvertedPhotonProducer () |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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 | |
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) |
Definition at line 34 of file ConvertedPhotonProducer.h.
ConvertedPhotonProducer::ConvertedPhotonProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 46 of file ConvertedPhotonProducer.cc.
References algoName_, bcBarrelCollection_, bcEndcapCollection_, CleanedConvertedPhotonCollection_, conf_, conversionIOTrackProducer_, conversionOITrackProducer_, ConvertedPhotonCollection_, deltaCotCut_, dRForConversionRecovery_, generalTrackProducer_, edm::ParameterSet::getParameter(), hcalTowers_, hOverEConeSize_, inOutTrackSCAssociationCollection_, likelihoodWeights_, maxHOverE_, maxNumOfCandidates_, minApproachDisCut_, minSCEt_, nEvt_, outInTrackSCAssociationCollection_, recoverOneTrackCase_, risolveAmbiguity_, scHybridBarrelProducer_, scIslandEndcapProducer_, AlCaHLTBitMon_QueryRunRegistry::string, theLikelihoodCalc_, theTrackPairFinder_, and theVertexFinder_.
|
virtual |
Definition at line 133 of file ConvertedPhotonProducer.cc.
References theLikelihoodCalc_, theTrackPairFinder_, and theVertexFinder_.
|
finaloverridevirtual |
Definition at line 141 of file ConvertedPhotonProducer.cc.
References edm::EventSetup::get(), theMF_, and theTransientTrackBuilder_.
|
private |
Definition at line 320 of file ConvertedPhotonProducer.cc.
References patPFMETCorrections_cff::algo, reco::Conversion::algoByName(), algoName_, begin, ConversionLikelihoodCalculator::calculateLikelihood(), calculateMinApproachDistance(), edm::PtrVectorBase::clear(), deltaCotCut_, dPhi(), dRForConversionRecovery_, MillePedeFileConverter_cfg::e, end, reco::CaloCluster::energy(), cms::Exception::explainSelf(), ConversionTrackEcalImpactPoint::find(), EgammaTowerIsolation::getTowerESum(), hOverEConeSize_, mps_fire::i, edm::Ref< C, T, F >::isNonnull(), reco::Vertex::isValid(), genParticles_cff::map, ConversionTrackEcalImpactPoint::matchingBC(), maxHOverE_, metname, minApproachDisCut_, minSCEt_, p4, reco::TrackTransientTrack::persistentTrackRef(), edm::Handle< T >::product(), edm::PtrVector< T >::push_back(), recoverOneTrackCase_, ConversionVertexFinder::run(), SimDataFormats::CaloAnalysis::sc, reco::Conversion::setMVAout(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), theLikelihoodCalc_, theMF_, theVertexFinder_, toFConverterP(), toFConverterV(), and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by produce().
|
private |
Definition at line 673 of file ConvertedPhotonProducer.cc.
References getCircleCenter(), MagneticField::inTesla(), mathSSE::sqrt(), theMF_, and PV3DBase< T, PVType, FrameType >::z().
Referenced by buildCollections().
|
private |
Definition at line 584 of file ConvertedPhotonProducer.cc.
References reco::Conversion::clone(), clone(), edm::Ptr< T >::id(), edm::Ref< C, T, F >::id(), edm::OrphanHandleBase::isValid(), edm::Ptr< T >::key(), edm::Ref< C, T, F >::key(), minSCEt_, risolveAmbiguity_, and solveAmbiguity().
Referenced by produce().
|
private |
Definition at line 690 of file ConvertedPhotonProducer.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, funct::cos(), phi, and funct::sin().
Referenced by calculateMinApproachDistance().
|
overridevirtual |
Definition at line 156 of file ConvertedPhotonProducer.cc.
References bcBarrelCollection_, bcEndcapCollection_, buildCollections(), cleanCollections(), CleanedConvertedPhotonCollection_, printConversionInfo::conversionHandle, conversionIOTrackProducer_, conversionOITrackProducer_, ConvertedPhotonCollection_, generalTrackProducer_, edm::EventSetup::get(), edm::Event::getByToken(), hcalTowers_, inOutTrackSCAssociationCollection_, edm::HandleBase::isValid(), eostools::move(), nEvt_, outInTrackSCAssociationCollection_, edm::Event::put(), recoverOneTrackCase_, ConversionTrackPairFinder::run(), scHybridBarrelProducer_, scIslandEndcapProducer_, theCaloGeom_, and theTrackPairFinder_.
|
private |
Definition at line 637 of file ConvertedPhotonProducer.cc.
References edm::Ptr< T >::id(), edm::Ref< C, T, F >::id(), edm::Ptr< T >::key(), edm::Ref< C, T, F >::key(), and maxNumOfCandidates_.
Referenced by cleanCollections().
|
inlineprivate |
Definition at line 114 of file ConvertedPhotonProducer.h.
Referenced by buildCollections().
|
inlineprivate |
Definition at line 118 of file ConvertedPhotonProducer.h.
Referenced by buildCollections().
|
private |
Definition at line 97 of file ConvertedPhotonProducer.h.
Referenced by buildCollections(), and ConvertedPhotonProducer().
|
private |
Definition at line 82 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer(), and produce().
|
private |
Definition at line 83 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer(), and produce().
|
private |
Definition at line 80 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer(), and produce().
|
private |
Definition at line 86 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer().
|
private |
Definition at line 69 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer(), and produce().
|
private |
Definition at line 68 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer(), and produce().
|
private |
Definition at line 79 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer(), and produce().
|
private |
Definition at line 105 of file ConvertedPhotonProducer.h.
Referenced by buildCollections(), and ConvertedPhotonProducer().
|
private |
Definition at line 104 of file ConvertedPhotonProducer.h.
Referenced by buildCollections(), and ConvertedPhotonProducer().
|
private |
Definition at line 77 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer(), and produce().
|
private |
Definition at line 87 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer(), and produce().
|
private |
Definition at line 100 of file ConvertedPhotonProducer.h.
Referenced by buildCollections(), and ConvertedPhotonProducer().
|
private |
Definition at line 75 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer(), and produce().
|
private |
Definition at line 112 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer().
|
private |
Definition at line 101 of file ConvertedPhotonProducer.h.
Referenced by buildCollections(), and ConvertedPhotonProducer().
|
private |
Definition at line 107 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer(), and solveAmbiguity().
|
private |
Definition at line 106 of file ConvertedPhotonProducer.h.
Referenced by buildCollections(), and ConvertedPhotonProducer().
|
private |
Definition at line 102 of file ConvertedPhotonProducer.h.
Referenced by buildCollections(), cleanCollections(), and ConvertedPhotonProducer().
|
private |
Definition at line 96 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer(), and produce().
|
private |
Definition at line 73 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer(), and produce().
|
private |
Definition at line 103 of file ConvertedPhotonProducer.h.
Referenced by buildCollections(), ConvertedPhotonProducer(), and produce().
|
private |
Definition at line 108 of file ConvertedPhotonProducer.h.
Referenced by cleanCollections(), and ConvertedPhotonProducer().
|
private |
Definition at line 84 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer(), and produce().
|
private |
Definition at line 85 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer(), and produce().
|
private |
Definition at line 89 of file ConvertedPhotonProducer.h.
Referenced by produce().
|
private |
Definition at line 95 of file ConvertedPhotonProducer.h.
|
private |
Definition at line 111 of file ConvertedPhotonProducer.h.
Referenced by buildCollections(), ConvertedPhotonProducer(), and ~ConvertedPhotonProducer().
|
private |
Definition at line 90 of file ConvertedPhotonProducer.h.
Referenced by beginRun(), buildCollections(), and calculateMinApproachDistance().
|
private |
Definition at line 93 of file ConvertedPhotonProducer.h.
Referenced by ConvertedPhotonProducer(), produce(), and ~ConvertedPhotonProducer().
|
private |
Definition at line 91 of file ConvertedPhotonProducer.h.
Referenced by beginRun().
|
private |
Definition at line 94 of file ConvertedPhotonProducer.h.
Referenced by buildCollections(), ConvertedPhotonProducer(), and ~ConvertedPhotonProducer().