Public Member Functions | |
void | importToBlock (const edm::Event &, ElementList &) const override |
SuperClusterImporter (const edm::ParameterSet &, edm::ConsumesCollector &) | |
void | updateEventSetup (const edm::EventSetup &es) override |
Public Member Functions inherited from BlockElementImporterBase | |
BlockElementImporterBase (const edm::ParameterSet &conf, edm::ConsumesCollector &cc) | |
BlockElementImporterBase (const BlockElementImporterBase &)=delete | |
const std::string & | name () const |
BlockElementImporterBase & | operator= (const BlockElementImporterBase &)=delete |
virtual | ~BlockElementImporterBase ()=default |
Private Attributes | |
const edm::ESGetToken< CaloTowerConstituentsMap, CaloGeometryRecord > | _ctmapToken |
const double | _maxHoverE |
const double | _minSCPt |
const double | _pTbyPass |
edm::EDGetTokenT< reco::SuperClusterCollection > | _srcEB |
edm::EDGetTokenT< reco::SuperClusterCollection > | _srcEE |
edm::EDGetTokenT< CaloTowerCollection > | _srcTowers |
bool | _superClustersArePF |
CaloTowerConstituentsMap const * | towerMap_ |
Static Private Attributes | |
static const math::XYZPoint | _zero = math::XYZPoint(0, 0, 0) |
Additional Inherited Members | |
Public Types inherited from BlockElementImporterBase | |
typedef std::vector< std::unique_ptr< reco::PFBlockElement > > | ElementList |
enum | VetoMode { pfRecTrackCollection = 0, ticlSeedingRegion = 1, pfCandidateCollection = 2 } |
Definition at line 21 of file SuperClusterImporter.cc.
SuperClusterImporter::SuperClusterImporter | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 44 of file SuperClusterImporter.cc.
|
overridevirtual |
Implements BlockElementImporterBase.
Definition at line 57 of file SuperClusterImporter.cc.
References _maxHoverE, _minSCPt, _pTbyPass, _srcEB, _srcEE, _srcTowers, _superClustersArePF, _zero, a, bsc_activity_cfg::bsc, egamma::depth1HcalESum(), egamma::depth2HcalESum(), HLT_2022v12_cff::distance, MillePedeFileConverter_cfg::e, ptFast(), reco::PFBlockElement::SC, reco::PFBlockElementSuperCluster::setFromPFSuperCluster(), towerMap_, HLT_2022v12_cff::towers, and egamma::towersOf().
|
overridevirtual |
Reimplemented from BlockElementImporterBase.
Definition at line 55 of file SuperClusterImporter.cc.
References _ctmapToken, edm::EventSetup::getData(), and towerMap_.
|
private |
Definition at line 37 of file SuperClusterImporter.cc.
Referenced by updateEventSetup().
|
private |
Definition at line 32 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 32 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 32 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 30 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 30 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 31 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 34 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
staticprivate |
Definition at line 35 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 33 of file SuperClusterImporter.cc.
Referenced by importToBlock(), and updateEventSetup().