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 | |
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 |
Definition at line 22 of file SuperClusterImporter.cc.
SuperClusterImporter::SuperClusterImporter | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | sumes | ||
) |
Definition at line 43 of file SuperClusterImporter.cc.
|
overridevirtual |
Implements BlockElementImporterBase.
Definition at line 59 of file SuperClusterImporter.cc.
References _maxHoverE, _minSCPt, _pTbyPass, _srcEB, _srcEE, _srcTowers, _superClustersArePF, _zero, a, bsc_activity_cfg::bsc, egamma::depth1HcalESum(), egamma::depth2HcalESum(), HLT_FULL_cff::distance, MillePedeFileConverter_cfg::e, ptFast(), reco::PFBlockElement::SC, reco::PFBlockElementSuperCluster::setFromPFSuperCluster(), towerMap_, HLT_FULL_cff::towers, and egamma::towersOf().
|
overridevirtual |
Reimplemented from BlockElementImporterBase.
Definition at line 53 of file SuperClusterImporter.cc.
References edm::EventSetup::get(), get, edm::ESHandle< T >::product(), and towerMap_.
|
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 33 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 31 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 31 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 32 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 35 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
staticprivate |
Definition at line 36 of file SuperClusterImporter.cc.
Referenced by importToBlock().
|
private |
Definition at line 34 of file SuperClusterImporter.cc.
Referenced by importToBlock(), and updateEventSetup().