#include <PhotonProducer.h>
Public Member Functions | |
virtual void | beginRun (edm::Run &r, edm::EventSetup const &es) |
virtual void | endRun (edm::Run &, edm::EventSetup const &) |
PhotonProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &evt, const edm::EventSetup &es) |
~PhotonProducer () | |
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::PhotonCoreCollection > &photonCoreHandle, const CaloTopology *topology, const EcalRecHitCollection *ecalBarrelHits, const EcalRecHitCollection *ecalEndcapHits, const edm::Handle< CaloTowerCollection > &hcalTowersHandle, math::XYZPoint &vtx, reco::PhotonCollection &outputCollection, int &iSC) |
Private Attributes | |
edm::InputTag | barrelEcalHits_ |
edm::ParameterSet | conf_ |
std::string | conversionCollection_ |
std::string | conversionProducer_ |
edm::InputTag | endcapEcalHits_ |
EcalClusterFunctionBaseClass * | energyCorrectionF |
edm::InputTag | hcalTowers_ |
double | highEt_ |
double | hOverEConeSize_ |
double | maxHOverE_ |
double | minR9Barrel_ |
double | minR9Endcap_ |
double | minSCEt_ |
std::string | PhotonCollection_ |
edm::InputTag | photonCoreProducer_ |
std::string | pixelSeedProducer_ |
PositionCalc | posCalculator_ |
std::vector< double > | preselCutValuesBarrel_ |
std::vector< double > | preselCutValuesEndcap_ |
edm::ESHandle< CaloGeometry > | theCaloGeom_ |
edm::ESHandle< CaloTopology > | theCaloTopo_ |
PhotonIsolationCalculator * | thePhotonIsolationCalculator_ |
bool | usePrimaryVertex_ |
bool | validConversions_ |
bool | validPixelSeeds_ |
std::string | vertexProducer_ |
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) |
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 38 of file PhotonProducer.h.
PhotonProducer::PhotonProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 29 of file PhotonProducer.cc.
References barrelEcalHits_, conf_, endcapEcalHits_, energyCorrectionF, reco::get(), edm::ParameterSet::getParameter(), hcalTowers_, highEt_, hOverEConeSize_, minR9Barrel_, minR9Endcap_, PhotonCollection_, photonCoreProducer_, posCalculator_, preselCutValuesBarrel_, preselCutValuesEndcap_, usePrimaryVertex_, and vertexProducer_.
PhotonProducer::~PhotonProducer | ( | ) |
Definition at line 92 of file PhotonProducer.cc.
References energyCorrectionF.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 100 of file PhotonProducer.cc.
References conf_, edm::ParameterSet::getParameter(), PhotonIsolationCalculator::setup(), and thePhotonIsolationCalculator_.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 108 of file PhotonProducer.cc.
References thePhotonIsolationCalculator_.
|
private |
fill shower shape block
Pre-selection loose isolation cuts
Definition at line 211 of file PhotonProducer.cc.
References PositionCalc::Calculate_Location(), EcalClusterTools::covariances(), EcalClusterTools::e1x5(), reco::Photon::ShowerShape::e1x5, reco::Photon::ShowerShape::e2x5, EcalClusterTools::e2x5Max(), EcalClusterTools::e3x3(), reco::Photon::ShowerShape::e3x3, EcalClusterTools::e5x5(), reco::Photon::ShowerShape::e5x5, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, EcalClusterTools::eMax(), energyCorrectionF, geometry, EgammaTowerIsolation::getTowerESum(), EcalClusterFunctionBaseClass::getValue(), reco::Photon::ShowerShape::hcalDepth1OverEcal, reco::Photon::ShowerShape::hcalDepth2OverEcal, highEt_, hOverEConeSize_, EcalClusterTools::localCovariances(), reco::Photon::ShowerShape::maxEnergyXtal, minR9Barrel_, minR9Endcap_, p4, posCalculator_, preselCutValuesBarrel_, preselCutValuesEndcap_, edm::Handle< T >::product(), edm::ESHandle< class >::product(), reco::Photon::ShowerShape::sigmaEtaEta, reco::Photon::ShowerShape::sigmaIetaIeta, mathSSE::sqrt(), theCaloGeom_, and thePhotonIsolationCalculator_.
Referenced by produce().
|
virtual |
Implements edm::EDProducer.
Definition at line 117 of file PhotonProducer.cc.
References barrelEcalHits_, endcapEcalHits_, energyCorrectionF, fillPhotonCollection(), edm::EventSetup::get(), edm::Event::getByLabel(), hcalTowers_, EcalClusterFunctionBaseClass::init(), edm::InputTag::label(), PhotonCollection_, photonCoreProducer_, edm::ESHandle< class >::product(), edm::Event::put(), theCaloGeom_, theCaloTopo_, usePrimaryVertex_, GoodVertex_cfg::vertexCollection, and vertexProducer_.
|
private |
Definition at line 69 of file PhotonProducer.h.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 88 of file PhotonProducer.h.
Referenced by beginRun(), and PhotonProducer().
|
private |
Definition at line 75 of file PhotonProducer.h.
|
private |
Definition at line 74 of file PhotonProducer.h.
|
private |
Definition at line 70 of file PhotonProducer.h.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 105 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), PhotonProducer(), produce(), and ~PhotonProducer().
|
private |
Definition at line 72 of file PhotonProducer.h.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 80 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 77 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 78 of file PhotonProducer.h.
|
private |
Definition at line 81 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 82 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 79 of file PhotonProducer.h.
|
private |
Definition at line 67 of file PhotonProducer.h.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 68 of file PhotonProducer.h.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 85 of file PhotonProducer.h.
|
private |
Definition at line 90 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 102 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 103 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and PhotonProducer().
|
private |
Definition at line 93 of file PhotonProducer.h.
Referenced by fillPhotonCollection(), and produce().
|
private |
Definition at line 94 of file PhotonProducer.h.
Referenced by produce().
|
private |
Definition at line 99 of file PhotonProducer.h.
Referenced by beginRun(), endRun(), and fillPhotonCollection().
|
private |
Definition at line 87 of file PhotonProducer.h.
Referenced by PhotonProducer(), and produce().
|
private |
Definition at line 84 of file PhotonProducer.h.
|
private |
Definition at line 98 of file PhotonProducer.h.
|
private |
Definition at line 86 of file PhotonProducer.h.
Referenced by PhotonProducer(), and produce().