Public Types | |
enum | SelectionChoices { SeparateDetectorIso, CombinedDetectorIso } |
Public Types inherited from BlockElementImporterBase | |
typedef std::vector < std::unique_ptr < reco::PFBlockElement > > | ElementList |
Public Member Functions | |
EGPhotonImporter (const edm::ParameterSet &, edm::ConsumesCollector &) | |
void | importToBlock (const edm::Event &, ElementList &) const override |
Public Member Functions inherited from BlockElementImporterBase | |
BlockElementImporterBase (const edm::ParameterSet &conf, edm::ConsumesCollector &sumes) | |
BlockElementImporterBase (const BlockElementImporterBase &)=delete | |
const std::string & | name () const |
BlockElementImporterBase & | operator= (const BlockElementImporterBase &)=delete |
virtual void | updateEventSetup (const edm::EventSetup &) |
Private Attributes | |
SelectionChoices | _selectionChoice |
const std::unordered_map < std::string, SelectionChoices > | _selectionTypes |
std::unique_ptr< const PhotonSelectorAlgo > | _selector |
edm::EDGetTokenT < reco::PhotonCollection > | _src |
bool | _superClustersArePF |
Definition at line 13 of file EGPhotonImporter.cc.
Enumerator | |
---|---|
SeparateDetectorIso | |
CombinedDetectorIso |
Definition at line 15 of file EGPhotonImporter.cc.
EGPhotonImporter::EGPhotonImporter | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | sumes | ||
) |
Definition at line 35 of file EGPhotonImporter.cc.
References CombinedDetectorIso, and SeparateDetectorIso.
|
overridevirtual |
Implements BlockElementImporterBase.
Definition at line 68 of file EGPhotonImporter.cc.
References _selector, _src, _superClustersArePF, a, edm::Event::getByToken(), NULL, interactiveExample::photons, reco::PFBlockElement::SC, reco::PFBlockElementSuperCluster::setEcalIso(), reco::PFBlockElementSuperCluster::setFromPFSuperCluster(), reco::PFBlockElementSuperCluster::setFromPhoton(), reco::PFBlockElementSuperCluster::setHcalIso(), reco::PFBlockElementSuperCluster::setHoE(), reco::PFBlockElementSuperCluster::setPhotonRef(), and reco::PFBlockElementSuperCluster::setTrackIso().
|
private |
Definition at line 25 of file EGPhotonImporter.cc.
|
private |
Definition at line 24 of file EGPhotonImporter.cc.
|
private |
Definition at line 26 of file EGPhotonImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 23 of file EGPhotonImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 27 of file EGPhotonImporter.cc.
Referenced by importToBlock().