#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 () | |
PositionCalc (const edm::ParameterSet &par) | |
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 LEDCalibrationChannels::depth, EcalBarrel, cosmicPhotonAnalyzer_cfi::eMax, edm::SortedCollection< T, SORT >::empty(), edm::SortedCollection< T, SORT >::end(), HCALHighEnergyHPDFilter_cfi::energy, Exception, edm::SortedCollection< T, SORT >::find(), cropTnPTrees::frac, CaloSubdetectorGeometry::getGeometry(), CaloSubdetectorGeometry::getValidDetIds(), dqmiolumiharvest::j, dqm-mbProfile::log, LogDebug, m_esGeom, m_esMinus, m_esPlus, SiStripPI::max, HLT_2018_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(), and PiZeroAnalyzer::makePizero().
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=().