#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::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_
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 |
( |
| ) |
|
|
default |
Definition at line 143 of file HGCalShowerShapeHelper.h.
References createCalc(), reco::CaloCluster::hitsAndFractions(), HLT_FULL_cff::minLayer, and reco::SuperCluster::rawEnergy().
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
const std::vector< std::pair< DetId, float > > & hitsAndFractions() const
double rawEnergy() const
raw uncorrected energy (sum of energies of component BasicClusters)
void HGCalShowerShapeHelper::initPerEvent |
( |
const std::vector< reco::PFRecHit > & |
recHits | ) |
|
void HGCalShowerShapeHelper::initPerSetup |
( |
const edm::EventSetup & |
iSetup | ) |
|
void HGCalShowerShapeHelper::setPFRecHitPtrMap |
( |
const std::vector< reco::PFRecHit > & |
recHits | ) |
|
|
private |
template<edm::Transition tr = edm::Transition::Event>
const double HGCalShowerShapeHelper::kHDWaferCellSize_ = 0.465 |
|
static |
const double HGCalShowerShapeHelper::kLDWaferCellSize_ = 0.698 |
|
static |
std::shared_ptr<std::unordered_map<uint32_t, const reco::PFRecHit *> > HGCalShowerShapeHelper::pfRecHitPtrMap_ |
|
private |