#include <PositionCalc.h>
Public Types | |
typedef std::vector< std::pair< DetId, double > > | HitsAndEnergies |
typedef std::vector< std::pair< DetId, float > > | HitsAndFractions |
Public Member Functions | |
template<typename HitType > | |
math::XYZPoint | Calculate_Location (const HitsAndFractions &iDetIds, const edm::SortedCollection< HitType > *iRecHits, const CaloSubdetectorGeometry *iSubGeom, const CaloSubdetectorGeometry *iESGeom=nullptr) |
const PositionCalc & | operator= (const PositionCalc &rhs) |
PositionCalc (const edm::ParameterSet &par) | |
PositionCalc () | |
Private Attributes | |
const CaloSubdetectorGeometry * | m_esGeom |
bool | m_esMinus |
bool | m_esPlus |
bool | param_LogWeighted_ |
double | param_T0_barl_ |
double | param_T0_endc_ |
double | param_T0_endcPresh_ |
double | param_W0_ |
double | param_X0_ |
Definition at line 29 of file PositionCalc.h.
typedef std::vector<std::pair<DetId, double> > PositionCalc::HitsAndEnergies |
Definition at line 32 of file PositionCalc.h.
typedef std::vector<std::pair<DetId, float> > PositionCalc::HitsAndFractions |
Definition at line 31 of file PositionCalc.h.
PositionCalc::PositionCalc | ( | const edm::ParameterSet & | par | ) |
Definition at line 4 of file PositionCalc.cc.
|
inline |
Definition at line 37 of file PositionCalc.h.
math::XYZPoint PositionCalc::Calculate_Location | ( | const HitsAndFractions & | iDetIds, |
const edm::SortedCollection< HitType > * | iRecHits, | ||
const CaloSubdetectorGeometry * | iSubGeom, | ||
const CaloSubdetectorGeometry * | iESGeom = nullptr |
||
) |
Definition at line 65 of file PositionCalc.h.
References hcalRecHitTable_cff::depth, EcalBarrel, cosmicPhotonAnalyzer_cfi::eMax, edm::SortedCollection< T, SORT >::empty(), edm::SortedCollection< T, SORT >::end(), hcalRecHitTable_cff::energy, Exception, edm::SortedCollection< T, SORT >::find(), DivergingColor::frac, CaloSubdetectorGeometry::getGeometry(), CaloSubdetectorGeometry::getValidDetIds(), dqmiolumiharvest::j, dqm-mbProfile::log, LogDebug, m_esGeom, m_esMinus, m_esPlus, SiStripPI::max, HLT_2024v12_cff::maxDepth, dqmiodumpmetadata::n, DetId::null(), param_LogWeighted_, param_T0_barl_, param_T0_endc_, param_T0_endcPresh_, param_W0_, param_X0_, DetId::subdetId(), mps_merge::weight, z, and zw().
Referenced by DQMSourcePi0::analyze(), HybridClusterAlgo::e2Et(), HybridClusterAlgo::et25(), PhotonProducer::fillPhotonCollection(), Multi5x5ClusterAlgo::mainSearch(), HybridClusterAlgo::mainSearch(), IslandClusterAlgo::makeCluster(), CosmicClusterAlgo::makeCluster(), Multi5x5ClusterAlgo::makeCluster(), EgammaHLTNxNClusterProducer::makeNxNClusters(), PiZeroAnalyzer::makePizero(), and ecaldqm::PiZeroTask::runOnEBRecHits().
const PositionCalc & PositionCalc::operator= | ( | const PositionCalc & | rhs | ) |
Definition at line 15 of file PositionCalc.cc.
References m_esGeom, m_esMinus, m_esPlus, param_LogWeighted_, param_T0_barl_, param_T0_endc_, param_T0_endcPresh_, param_W0_, and param_X0_.
|
private |
Definition at line 59 of file PositionCalc.h.
Referenced by Calculate_Location(), and operator=().
|
private |
Definition at line 61 of file PositionCalc.h.
Referenced by Calculate_Location(), and operator=().
|
private |
Definition at line 60 of file PositionCalc.h.
Referenced by Calculate_Location(), and operator=().
|
private |
Definition at line 52 of file PositionCalc.h.
Referenced by Calculate_Location(), and operator=().
|
private |
Definition at line 53 of file PositionCalc.h.
Referenced by Calculate_Location(), and operator=().
|
private |
Definition at line 54 of file PositionCalc.h.
Referenced by Calculate_Location(), and operator=().
|
private |
Definition at line 55 of file PositionCalc.h.
Referenced by Calculate_Location(), and operator=().
|
private |
Definition at line 56 of file PositionCalc.h.
Referenced by Calculate_Location(), and operator=().
|
private |
Definition at line 57 of file PositionCalc.h.
Referenced by Calculate_Location(), and operator=().