#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.
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 HLT_25ns14e33_v1_cff::depth, EcalBarrel, edm::SortedCollection< T, SORT >::end(), relval_parameters_module::energy, edm::hlt::Exception, edm::SortedCollection< T, SORT >::find(), cropTnPTrees::frac, CaloSubdetectorGeometry::getGeometry(), CaloSubdetectorGeometry::getValidDetIds(), j, cmsBatch::log, LogDebug, m_esGeom, m_esMinus, m_esPlus, bookConverter::max, HLT_25ns14e33_v1_cff::maxDepth, gen::n, DetId::null(), param_LogWeighted_, param_T0_barl_, param_T0_endc_, param_T0_endcPresh_, param_W0_, param_X0_, edm::SortedCollection< T, SORT >::size(), DetId::subdetId(), histoStyle::weight, detailsBasic3DVector::z, and zw().
Referenced by DQMSourcePi0::analyze(), HLTAlCa::analyze(), HybridClusterAlgo::e2Et(), HybridClusterAlgo::et25(), PhotonProducer::fillPhotonCollection(), Multi5x5ClusterAlgo::mainSearch(), HybridClusterAlgo::mainSearch(), IslandClusterAlgo::makeCluster(), CosmicClusterAlgo::makeCluster(), Multi5x5ClusterAlgo::makeCluster(), EgammaHLTNxNClusterProducer::makeNxNClusters(), and PiZeroAnalyzer::makePizero().
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_.
|
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=().