#include <HGCalShowerShape.h>
Classes | |
struct | DeltaPhi |
Public Types | |
typedef math::XYZTLorentzVector | LorentzVector |
Private Member Functions | |
float | meanX (const std::vector< pair< float, float >> &energy_X_tc) const |
float | sigmaPhiPhi (const std::vector< pair< float, float >> &energy_phi_tc, const float phi_cluster) const |
template<typename Delta = std::minus<float>> | |
float | sigmaXX (const std::vector< pair< float, float >> &energy_X_tc, const float X_cluster) const |
Private Attributes | |
HGCalTriggerTools | triggerTools_ |
Definition at line 12 of file HGCalShowerShape.h.
Definition at line 14 of file HGCalShowerShape.h.
|
inline |
Definition at line 16 of file HGCalShowerShape.h.
|
inline |
Definition at line 18 of file HGCalShowerShape.h.
int HGCalShowerShape::coreShowerLength | ( | const l1t::HGCalMulticluster & | c3d, |
const HGCalTriggerGeometryBase & | triggerGeometry | ||
) | const |
Definition at line 70 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), ForwardEmpty, LayerTriplets::layers(), HGCalTriggerTools::layers(), nlayers, HGCalTriggerGeometryBase::triggerLayer(), and triggerTools_.
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::eMax | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 299 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), HGCalTriggerTools::layerWithOffset(), and triggerTools_.
Referenced by fillShapes(), and showerLength().
|
inline |
Definition at line 20 of file HGCalShowerShape.h.
References HGCalTriggerTools::eventSetup(), firstLayer(), lastLayer(), maxLayer(), and triggerTools_.
Referenced by HGCalHistoClusteringImpl::eventSetup(), and HGCalMulticlusteringImpl::eventSetup().
void HGCalShowerShape::fillShapes | ( | l1t::HGCalMulticluster & | c3d, |
const HGCalTriggerGeometryBase & | triggerGeometry | ||
) | const |
Definition at line 385 of file HGCalShowerShape.cc.
References coreShowerLength(), l1t::HGCalClusterT< C >::coreShowerLength(), eMax(), l1t::HGCalClusterT< C >::eMax(), firstLayer(), l1t::HGCalClusterT< C >::firstLayer(), maxLayer(), l1t::HGCalClusterT< C >::maxLayer(), showerLength(), l1t::HGCalClusterT< C >::showerLength(), sigmaEtaEtaMax(), l1t::HGCalClusterT< C >::sigmaEtaEtaMax(), sigmaEtaEtaTot(), l1t::HGCalClusterT< C >::sigmaEtaEtaTot(), sigmaPhiPhiMax(), l1t::HGCalClusterT< C >::sigmaPhiPhiMax(), sigmaPhiPhiTot(), l1t::HGCalClusterT< C >::sigmaPhiPhiTot(), sigmaRRMax(), l1t::HGCalClusterT< C >::sigmaRRMax(), sigmaRRMean(), l1t::HGCalClusterT< C >::sigmaRRMean(), sigmaRRTot(), l1t::HGCalClusterT< C >::sigmaRRTot(), sigmaZZ(), and l1t::HGCalClusterT< C >::sigmaZZ().
Referenced by HGCalMulticlusteringImpl::finalizeClusters(), HGCalHistoClusteringImpl::finalizeClusters(), and showerLength().
int HGCalShowerShape::firstLayer | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 25 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), HGCalTriggerTools::layerWithOffset(), and triggerTools_.
Referenced by eventSetup(), fillShapes(), and showerLength().
int HGCalShowerShape::lastLayer | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 56 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), HGCalTriggerTools::layerWithOffset(), and triggerTools_.
Referenced by eventSetup(), and showerLength().
int HGCalShowerShape::maxLayer | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 39 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), HGCalTriggerTools::layerWithOffset(), and triggerTools_.
Referenced by eventSetup(), and fillShapes().
|
private |
Definition at line 10 of file HGCalShowerShape.cc.
Referenced by showerLength(), sigmaRRMax(), sigmaRRMean(), sigmaRRTot(), and sigmaZZ().
|
inline |
Definition at line 25 of file HGCalShowerShape.h.
References coreShowerLength(), eMax(), fillShapes(), firstLayer(), lastLayer(), meanX(), TCMET_cfi::radius, sigmaEtaEtaMax(), sigmaEtaEtaTot(), sigmaPhiPhiMax(), sigmaPhiPhiTot(), sigmaRRMax(), sigmaRRMean(), sigmaRRTot(), and sigmaZZ().
Referenced by fillShapes().
float HGCalShowerShape::sigmaEtaEtaMax | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 153 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), HGCalTriggerTools::layerWithOffset(), sigmaXX(), and triggerTools_.
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::sigmaEtaEtaTot | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 94 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), reco::LeafCandidate::eta(), and sigmaXX().
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::sigmaEtaEtaTot | ( | const l1t::HGCalCluster & | c2d | ) | const |
Definition at line 338 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), reco::LeafCandidate::eta(), and sigmaXX().
|
inlineprivate |
Definition at line 74 of file HGCalShowerShape.h.
Referenced by sigmaPhiPhiMax(), and sigmaPhiPhiTot().
float HGCalShowerShape::sigmaPhiPhiMax | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 184 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), HGCalTriggerTools::layerWithOffset(), sigmaPhiPhi(), and triggerTools_.
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::sigmaPhiPhiTot | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 112 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), reco::LeafCandidate::phi(), and sigmaPhiPhi().
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::sigmaPhiPhiTot | ( | const l1t::HGCalCluster & | c2d | ) | const |
Definition at line 352 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), reco::LeafCandidate::phi(), and sigmaPhiPhi().
float HGCalShowerShape::sigmaRRMax | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 215 of file HGCalShowerShape.cc.
References funct::abs(), l1t::HGCalClusterT< C >::constituents(), HGCalTriggerTools::layerWithOffset(), meanX(), funct::pow(), alignCSCRings::r, sigmaXX(), mathSSE::sqrt(), and triggerTools_.
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::sigmaRRMean | ( | const l1t::HGCalMulticluster & | c3d, |
float | radius = 5. |
||
) | const |
Definition at line 247 of file HGCalShowerShape.cc.
References funct::abs(), l1t::HGCalClusterT< C >::constituents(), PVValHelper::dx, PVValHelper::dy, reco::LeafCandidate::energy(), HGCalTriggerTools::layerWithOffset(), meanX(), l1t::HGCalTriggerCell::position(), alignCSCRings::r, sigmaXX(), mathSSE::sqrt(), triggerTools_, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::sigmaRRTot | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 130 of file HGCalShowerShape.cc.
References funct::abs(), l1t::HGCalClusterT< C >::constituents(), meanX(), funct::pow(), alignCSCRings::r, sigmaXX(), and mathSSE::sqrt().
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::sigmaRRTot | ( | const l1t::HGCalCluster & | c2d | ) | const |
Definition at line 366 of file HGCalShowerShape.cc.
References funct::abs(), l1t::HGCalClusterT< C >::constituents(), meanX(), funct::pow(), alignCSCRings::r, sigmaXX(), and mathSSE::sqrt().
|
inlineprivate |
Definition at line 55 of file HGCalShowerShape.h.
References delta, funct::pow(), and mathSSE::sqrt().
Referenced by sigmaEtaEtaMax(), sigmaEtaEtaTot(), sigmaRRMax(), sigmaRRMean(), sigmaRRTot(), and sigmaZZ().
float HGCalShowerShape::sigmaZZ | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 319 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), meanX(), and sigmaXX().
Referenced by fillShapes(), and showerLength().
|
private |
Definition at line 78 of file HGCalShowerShape.h.
Referenced by coreShowerLength(), eMax(), eventSetup(), firstLayer(), lastLayer(), maxLayer(), sigmaEtaEtaMax(), sigmaPhiPhiMax(), sigmaRRMax(), and sigmaRRMean().