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 &) |
virtual | ~BlockElementImporterBase ()=default |
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 _selectionChoice, _selectionTypes, _selector, _superClustersArePF, CombinedDetectorIso, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), importToBlock(), SeparateDetectorIso, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Implements BlockElementImporterBase.
Definition at line 68 of file EGPhotonImporter.cc.
References _selector, _src, _superClustersArePF, a, SoftLeptonByDistance_cfi::distance, edm::Event::getByToken(), NULL, muons2muons_cfi::photon, jetCleaner_cfi::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().
Referenced by EGPhotonImporter().
|
private |
Definition at line 25 of file EGPhotonImporter.cc.
Referenced by EGPhotonImporter().
|
private |
Definition at line 24 of file EGPhotonImporter.cc.
Referenced by EGPhotonImporter().
|
private |
Definition at line 26 of file EGPhotonImporter.cc.
Referenced by EGPhotonImporter(), and importToBlock().
|
private |
Definition at line 23 of file EGPhotonImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 27 of file EGPhotonImporter.cc.
Referenced by EGPhotonImporter(), and importToBlock().