#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=0) |
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 33 of file PositionCalc.h.
typedef std::vector< std::pair<DetId,float> > PositionCalc::HitsAndFractions |
Definition at line 32 of file PositionCalc.h.
PositionCalc::PositionCalc | ( | const edm::ParameterSet & | par | ) |
Definition at line 4 of file PositionCalc.cc.
|
inline |
Definition at line 38 of file PositionCalc.h.
References Calculate_Location(), and operator=().
math::XYZPoint PositionCalc::Calculate_Location | ( | const HitsAndFractions & | iDetIds, |
const edm::SortedCollection< HitType > * | iRecHits, | ||
const CaloSubdetectorGeometry * | iSubGeom, | ||
const CaloSubdetectorGeometry * | iESGeom = 0 |
||
) |
Definition at line 68 of file PositionCalc.h.
References egammaForCoreTracking_cff::depth, EcalBarrel, photonPostprocessing_cfi::eMax, edm::SortedCollection< T, SORT >::empty(), edm::SortedCollection< T, SORT >::end(), Exception, edm::SortedCollection< T, SORT >::find(), DivergingColor::frac, CaloSubdetectorGeometry::getGeometry(), CaloSubdetectorGeometry::getValidDetIds(), cmsBatch::log, LogDebug, m_esGeom, m_esMinus, m_esPlus, SiStripPI::max, CMSBoostedTauSeedingParameters_cfi::maxDepth, gen::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(), HybridClusterAlgo::mainSearch(), IslandClusterAlgo::makeCluster(), CosmicClusterAlgo::makeCluster(), EgammaHLTNxNClusterProducer::makeNxNClusters(), PiZeroAnalyzer::makePizero(), and PositionCalc().
const PositionCalc & PositionCalc::operator= | ( | const PositionCalc & | rhs | ) |
Definition at line 17 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_.
Referenced by PositionCalc().
|
private |
Definition at line 60 of file PositionCalc.h.
Referenced by Calculate_Location(), and operator=().
|
private |
Definition at line 62 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 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=().
|
private |
Definition at line 58 of file PositionCalc.h.
Referenced by Calculate_Location(), and operator=().