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 11 of file EGPhotonImporter.cc.
Enumerator | |
---|---|
SeparateDetectorIso | |
CombinedDetectorIso |
Definition at line 13 of file EGPhotonImporter.cc.
EGPhotonImporter::EGPhotonImporter | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | sumes | ||
) |
Definition at line 29 of file EGPhotonImporter.cc.
References CombinedDetectorIso, and SeparateDetectorIso.
|
overridevirtual |
Implements BlockElementImporterBase.
Definition at line 61 of file EGPhotonImporter.cc.
References _selector, _src, _superClustersArePF, a, HLT_2018_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 22 of file EGPhotonImporter.cc.
|
private |
Definition at line 21 of file EGPhotonImporter.cc.
|
private |
Definition at line 23 of file EGPhotonImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 20 of file EGPhotonImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 24 of file EGPhotonImporter.cc.
Referenced by importToBlock().