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 |
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 23 of file SuperClusterImporter.cc.
SuperClusterImporter::SuperClusterImporter | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | sumes | ||
) |
Definition at line 47 of file SuperClusterImporter.cc.
|
overridevirtual |
Implements BlockElementImporterBase.
Definition at line 66 of file SuperClusterImporter.cc.
References _hadTower, _maxHoverE, _minSCPt, _pTbyPass, _srcEB, _srcEE, _srcTowers, _superClustersArePF, _zero, a, HLT_FULL_cff::distance, edm::Event::getByToken(), NULL, edm::Handle< T >::product(), ptFast(), reco::PFBlockElement::SC, reco::PFBlockElementSuperCluster::setFromPFSuperCluster(), and HLT_FULL_cff::towers.
|
overridevirtual |
Reimplemented from BlockElementImporterBase.
Definition at line 61 of file SuperClusterImporter.cc.
References _hadTower, and EgammaHadTower::SingleTower.
|
private |
Definition at line 36 of file SuperClusterImporter.cc.
Referenced by importToBlock(), and updateEventSetup().
|
private |
Definition at line 35 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 35 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 35 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 33 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 33 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 34 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 37 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
staticprivate |
Definition at line 38 of file SuperClusterImporter.cc.
Referenced by importToBlock().