#include <HGCalShowerShapeHelper.h>
|
HGCalShowerShapeHelper::ShowerShapeCalc | createCalc (const std::vector< std::pair< DetId, float > > &hitsAndFracs, double rawEnergy, double minHitE=0, double minHitET=0, int minLayer=1, int maxLayer=-1, DetId::Detector subDet=DetId::HGCalEE) const |
|
HGCalShowerShapeHelper::ShowerShapeCalc | createCalc (const reco::SuperCluster &sc, double minHitE=0, double minHitET=0, int minLayer=1, int maxLayer=-1, DetId::Detector subDet=DetId::HGCalEE) const |
|
| HGCalShowerShapeHelper () |
|
| HGCalShowerShapeHelper (edm::ConsumesCollector &&sumes) |
|
| HGCalShowerShapeHelper (const HGCalShowerShapeHelper &rhs)=delete |
|
| HGCalShowerShapeHelper (const HGCalShowerShapeHelper &&rhs)=delete |
|
void | initPerEvent (const std::vector< reco::PFRecHit > &recHits) |
|
void | initPerEvent (const edm::EventSetup &iSetup, const std::vector< reco::PFRecHit > &recHits) |
|
void | initPerSetup (const edm::EventSetup &iSetup) |
|
HGCalShowerShapeHelper & | operator= (const HGCalShowerShapeHelper &rhs)=delete |
|
HGCalShowerShapeHelper & | operator= (const HGCalShowerShapeHelper &&rhs)=delete |
|
template<edm::Transition tr = edm::Transition::Event> |
void | setTokens (edm::ConsumesCollector consumesCollector) |
|
| ~HGCalShowerShapeHelper ()=default |
|
Definition at line 31 of file HGCalShowerShapeHelper.h.
◆ HGCalShowerShapeHelper() [1/4]
HGCalShowerShapeHelper::HGCalShowerShapeHelper |
( |
| ) |
|
Definition at line 295 of file HGCalShowerShapeHelper.cc.
297 pfRecHitPtrMap_(std::make_shared<std::unordered_map<uint32_t, const reco::PFRecHit *>>()) {}
std::shared_ptr< std::unordered_map< uint32_t, const reco::PFRecHit * > > pfRecHitPtrMap_
std::shared_ptr< hgcal::RecHitTools > recHitTools_
◆ HGCalShowerShapeHelper() [2/4]
Definition at line 299 of file HGCalShowerShapeHelper.cc.
References setTokens().
301 pfRecHitPtrMap_(std::make_shared<std::unordered_map<uint32_t, const reco::PFRecHit *>>()) {
std::shared_ptr< std::unordered_map< uint32_t, const reco::PFRecHit * > > pfRecHitPtrMap_
std::shared_ptr< hgcal::RecHitTools > recHitTools_
void setTokens(edm::ConsumesCollector consumesCollector)
◆ ~HGCalShowerShapeHelper()
HGCalShowerShapeHelper::~HGCalShowerShapeHelper |
( |
| ) |
|
|
default |
◆ HGCalShowerShapeHelper() [3/4]
◆ HGCalShowerShapeHelper() [4/4]
◆ createCalc() [1/2]
◆ createCalc() [2/2]
Definition at line 143 of file HGCalShowerShapeHelper.h.
References createCalc(), reco::CaloCluster::hitsAndFractions(), HLT_2022v14_cff::minLayer, and reco::SuperCluster::rawEnergy().
const std::vector< std::pair< DetId, float > > & hitsAndFractions() const
double rawEnergy() const
raw uncorrected energy (sum of energies of component BasicClusters)
HGCalShowerShapeHelper::ShowerShapeCalc createCalc(const std::vector< std::pair< DetId, float > > &hitsAndFracs, double rawEnergy, double minHitE=0, double minHitET=0, int minLayer=1, int maxLayer=-1, DetId::Detector subDet=DetId::HGCalEE) const
◆ initPerEvent() [1/2]
void HGCalShowerShapeHelper::initPerEvent |
( |
const std::vector< reco::PFRecHit > & |
recHits | ) |
|
◆ initPerEvent() [2/2]
◆ initPerSetup()
void HGCalShowerShapeHelper::initPerSetup |
( |
const edm::EventSetup & |
iSetup | ) |
|
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setPFRecHitPtrMap()
void HGCalShowerShapeHelper::setPFRecHitPtrMap |
( |
const std::vector< reco::PFRecHit > & |
recHits | ) |
|
|
private |
◆ setTokens()
template<edm::Transition tr = edm::Transition::Event>
◆ caloGeometryToken_
◆ kHDWaferCellSize_
const double HGCalShowerShapeHelper::kHDWaferCellSize_ = 0.465 |
|
static |
◆ kLDWaferCellSize_
const double HGCalShowerShapeHelper::kLDWaferCellSize_ = 0.698 |
|
static |
◆ pfRecHitPtrMap_
std::shared_ptr<std::unordered_map<uint32_t, const reco::PFRecHit *> > HGCalShowerShapeHelper::pfRecHitPtrMap_ |
|
private |
◆ recHitTools_