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 &sumes) | |
BlockElementImporterBase (const BlockElementImporterBase &)=delete | |
const std::string & | name () const |
BlockElementImporterBase & | operator= (const BlockElementImporterBase &)=delete |
virtual | ~BlockElementImporterBase ()=default |
Private Attributes | |
std::unique_ptr< EgammaHadTower > | _hadTower |
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 |
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 |
Definition at line 21 of file SuperClusterImporter.cc.
SuperClusterImporter::SuperClusterImporter | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | sumes | ||
) |
Definition at line 42 of file SuperClusterImporter.cc.
|
overridevirtual |
Implements BlockElementImporterBase.
Definition at line 57 of file SuperClusterImporter.cc.
References _hadTower, _maxHoverE, _minSCPt, _pTbyPass, _srcEB, _srcEE, _srcTowers, _superClustersArePF, _zero, a, bsc_activity_cfg::bsc, HLT_2018_cff::distance, SimCluster::energy(), edm::Event::getHandle(), ptFast(), SimDataFormats::CaloAnalysis::sc, reco::PFBlockElement::SC, reco::PFBlockElementSuperCluster::setFromPFSuperCluster(), and HLT_2018_cff::towers.
|
overridevirtual |
Reimplemented from BlockElementImporterBase.
Definition at line 53 of file SuperClusterImporter.cc.
References _hadTower, and EgammaHadTower::SingleTower.
|
private |
Definition at line 33 of file SuperClusterImporter.cc.
Referenced by importToBlock(), and 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().