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 BlockElementImporterBase &)=delete | |
BlockElementImporterBase (const edm::ParameterSet &conf, edm::ConsumesCollector &sumes) | |
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 19 of file SuperClusterImporter.cc.
SuperClusterImporter::SuperClusterImporter | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | sumes | ||
) |
Definition at line 40 of file SuperClusterImporter.cc.
|
overridevirtual |
Implements BlockElementImporterBase.
Definition at line 55 of file SuperClusterImporter.cc.
References _hadTower, _maxHoverE, _minSCPt, _pTbyPass, _srcEB, _srcEE, _srcTowers, _superClustersArePF, _zero, a, bsc_activity_cfg::bsc, HLT_2018_cff::distance, MillePedeFileConverter_cfg::e, ptFast(), reco::PFBlockElement::SC, reco::PFBlockElementSuperCluster::setFromPFSuperCluster(), and HLT_2018_cff::towers.
|
overridevirtual |
Reimplemented from BlockElementImporterBase.
Definition at line 51 of file SuperClusterImporter.cc.
References _hadTower, and EgammaHadTower::SingleTower.
|
private |
Definition at line 31 of file SuperClusterImporter.cc.
Referenced by importToBlock(), and updateEventSetup().
|
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 30 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 28 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 28 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 29 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 32 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
staticprivate |
Definition at line 33 of file SuperClusterImporter.cc.
Referenced by importToBlock().