#include <PhotonCoreProducer.h>
Public Member Functions | |
virtual void | beginRun (edm::Run &r, edm::EventSetup const &es) |
virtual void | endRun (edm::Run &, edm::EventSetup const &) |
PhotonCoreProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &evt, const edm::EventSetup &es) |
~PhotonCoreProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
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::InputTag | conversionProducer_ |
double | minSCEt_ |
std::string | PhotonCoreCollection_ |
std::string | pixelSeedProducer_ |
bool | risolveAmbiguity_ |
edm::InputTag | scHybridBarrelCollection_ |
edm::InputTag | scHybridBarrelProducer_ |
edm::InputTag | scIslandEndcapCollection_ |
edm::InputTag | scIslandEndcapProducer_ |
bool | validConversions_ |
bool | validPixelSeeds_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Definition at line 34 of file PhotonCoreProducer.h.
PhotonCoreProducer::PhotonCoreProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 20 of file PhotonCoreProducer.cc.
References conf_, conversionProducer_, edm::ParameterSet::getParameter(), minSCEt_, PhotonCoreCollection_, pixelSeedProducer_, risolveAmbiguity_, scHybridBarrelProducer_, and scIslandEndcapProducer_.
PhotonCoreProducer::~PhotonCoreProducer | ( | ) |
Definition at line 39 of file PhotonCoreProducer.cc.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 43 of file PhotonCoreProducer.cc.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 47 of file PhotonCoreProducer.cc.
|
private |
Definition at line 131 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_, solveAmbiguity(), validConversions_, and validPixelSeeds_.
Referenced by produce().
|
virtual |
Implements edm::EDProducer.
Definition at line 54 of file PhotonCoreProducer.cc.
References printConversionInfo::conversionHandle, conversionProducer_, fillPhotonCollection(), edm::Event::getByLabel(), edm::InputTag::label(), 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 193 of file PhotonCoreProducer.cc.
References edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), AlCaHLTBitMon_ParallelJobs::p, mathSSE::sqrt(), and testEve_cfg::tracks.
Referenced by fillPhotonCollection().
|
private |
Definition at line 70 of file PhotonCoreProducer.h.
Referenced by PhotonCoreProducer().
|
private |
Definition at line 65 of file PhotonCoreProducer.h.
Referenced by PhotonCoreProducer(), and produce().
|
private |
Definition at line 67 of file PhotonCoreProducer.h.
Referenced by fillPhotonCollection(), and PhotonCoreProducer().
|
private |
Definition at line 59 of file PhotonCoreProducer.h.
Referenced by PhotonCoreProducer(), and produce().
|
private |
Definition at line 69 of file PhotonCoreProducer.h.
Referenced by PhotonCoreProducer(), and produce().
|
private |
Definition at line 72 of file PhotonCoreProducer.h.
Referenced by fillPhotonCollection(), and PhotonCoreProducer().
|
private |
Definition at line 62 of file PhotonCoreProducer.h.
|
private |
Definition at line 60 of file PhotonCoreProducer.h.
Referenced by PhotonCoreProducer(), and produce().
|
private |
Definition at line 63 of file PhotonCoreProducer.h.
|
private |
Definition at line 61 of file PhotonCoreProducer.h.
Referenced by PhotonCoreProducer(), and produce().
|
private |
Definition at line 68 of file PhotonCoreProducer.h.
Referenced by fillPhotonCollection(), and produce().
|
private |
Definition at line 71 of file PhotonCoreProducer.h.
Referenced by fillPhotonCollection(), and produce().