Public Member Functions | |
PhotonCoreProducer (const edm::ParameterSet &ps) | |
void | produce (edm::Event &evt, const edm::EventSetup &es) override |
~PhotonCoreProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Member Functions | |
void | fillPhotonCollection (edm::Event &evt, edm::EventSetup const &es, const edm::Handle< reco::SuperClusterCollection > &scHandle, const edm::Handle< reco::ConversionCollection > &conversionHandle, const edm::Handle< reco::ElectronSeedCollection > &pixelSeeds, reco::PhotonCoreCollection &outputCollection, int &iSC) |
reco::ConversionRef | solveAmbiguity (const edm::Handle< reco::ConversionCollection > &conversionHandle, reco::SuperClusterRef &sc) |
Private Attributes | |
edm::ParameterSet | conf_ |
edm::EDGetTokenT < reco::ConversionCollection > | conversionProducer_ |
bool | endcapOnly_ |
double | minSCEt_ |
std::string | PhotonCoreCollection_ |
edm::EDGetTokenT < reco::ElectronSeedCollection > | pixelSeedProducer_ |
bool | risolveAmbiguity_ |
edm::EDGetTokenT < reco::SuperClusterCollection > | scHybridBarrelProducer_ |
edm::EDGetTokenT < reco::SuperClusterCollection > | scIslandEndcapProducer_ |
bool | validConversions_ |
bool | validPixelSeeds_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 28 of file PhotonCoreProducer.cc.
PhotonCoreProducer::PhotonCoreProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 64 of file PhotonCoreProducer.cc.
References conf_, conversionProducer_, endcapOnly_, edm::ParameterSet::getParameter(), minSCEt_, PhotonCoreCollection_, pixelSeedProducer_, risolveAmbiguity_, scHybridBarrelProducer_, scIslandEndcapProducer_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 84 of file PhotonCoreProducer.cc.
|
private |
Definition at line 149 of file PhotonCoreProducer.cc.
References reco::PhotonCore::addConversion(), reco::PhotonCore::addElectronPixelSeed(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), minSCEt_, risolveAmbiguity_, reco::PhotonCore::setParentSuperCluster(), solveAmbiguity(), validConversions_, and validPixelSeeds_.
Referenced by produce().
|
override |
Definition at line 86 of file PhotonCoreProducer.cc.
References printConversionInfo::conversionHandle, conversionProducer_, endcapOnly_, fillPhotonCollection(), edm::Event::getByToken(), eostools::move(), PhotonCoreCollection_, pixelSeedProducer_, edm::Event::put(), scHybridBarrelProducer_, scIslandEndcapProducer_, validConversions_, and validPixelSeeds_.
|
private |
only one track reconstructed. Pick the one with best E/P
Definition at line 204 of file PhotonCoreProducer.cc.
References edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), AlCaHLTBitMon_ParallelJobs::p, mathSSE::sqrt(), and tracks.
Referenced by fillPhotonCollection().
|
private |
Definition at line 55 of file PhotonCoreProducer.cc.
Referenced by PhotonCoreProducer().
|
private |
Definition at line 50 of file PhotonCoreProducer.cc.
Referenced by PhotonCoreProducer(), and produce().
|
private |
Definition at line 58 of file PhotonCoreProducer.cc.
Referenced by PhotonCoreProducer(), and produce().
|
private |
Definition at line 53 of file PhotonCoreProducer.cc.
Referenced by fillPhotonCollection(), and PhotonCoreProducer().
|
private |
Definition at line 47 of file PhotonCoreProducer.cc.
Referenced by PhotonCoreProducer(), and produce().
|
private |
Definition at line 51 of file PhotonCoreProducer.cc.
Referenced by PhotonCoreProducer(), and produce().
|
private |
Definition at line 57 of file PhotonCoreProducer.cc.
Referenced by fillPhotonCollection(), and PhotonCoreProducer().
|
private |
Definition at line 48 of file PhotonCoreProducer.cc.
Referenced by PhotonCoreProducer(), and produce().
|
private |
Definition at line 49 of file PhotonCoreProducer.cc.
Referenced by PhotonCoreProducer(), and produce().
|
private |
Definition at line 54 of file PhotonCoreProducer.cc.
Referenced by fillPhotonCollection(), and produce().
|
private |
Definition at line 56 of file PhotonCoreProducer.cc.
Referenced by fillPhotonCollection(), and produce().