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 BlockElementImporterBase &)=delete | |
BlockElementImporterBase (const edm::ParameterSet &conf, edm::ConsumesCollector &sumes) | |
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 31 of file EGPhotonImporter.cc.
References CombinedDetectorIso, and SeparateDetectorIso.
|
overridevirtual |
Implements BlockElementImporterBase.
Definition at line 63 of file EGPhotonImporter.cc.
References _selector, _src, _superClustersArePF, a, HLT_FULL_cff::distance, MillePedeFileConverter_cfg::e, muons2muons_cfi::photon, BPHMonitor_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().
|
private |
Definition at line 24 of file EGPhotonImporter.cc.
|
private |
Definition at line 23 of file EGPhotonImporter.cc.
|
private |
Definition at line 25 of file EGPhotonImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 22 of file EGPhotonImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 26 of file EGPhotonImporter.cc.
Referenced by importToBlock().