#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 |
template<typename T , typename Tref > | |
bool | pass (const T &obj, const Tref &ref) 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 | |
double | distance_ = 1. |
double | threshold_ = 0. |
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.
HGCalShowerShape::HGCalShowerShape | ( | const edm::ParameterSet & | conf | ) |
Definition at line 9 of file HGCalShowerShape.cc.
|
inline |
Definition at line 19 of file HGCalShowerShape.h.
int HGCalShowerShape::coreShowerLength | ( | const l1t::HGCalMulticluster & | c3d, |
const HGCalTriggerGeometryBase & | triggerGeometry | ||
) | const |
Definition at line 81 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), ForwardEmpty, HFNose, HGCalTriggerTools::isNose(), phase1PixelTopology::layer, LayerTriplets::layers(), HGCalTriggerTools::layers(), nlayers, pass(), HGCalTriggerGeometryBase::triggerLayer(), and triggerTools_.
Referenced by fillShapes().
float HGCalShowerShape::eMax | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 401 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), phase1PixelTopology::layer, HGCalTriggerTools::layerWithOffset(), pass(), and triggerTools_.
Referenced by fillShapes().
void HGCalShowerShape::fillShapes | ( | l1t::HGCalMulticluster & | c3d, |
const HGCalTriggerGeometryBase & | triggerGeometry | ||
) | const |
Definition at line 515 of file HGCalShowerShape.cc.
References coreShowerLength(), l1t::HGCalClusterT< C >::coreShowerLength(), eMax(), l1t::HGCalClusterT< C >::eMax(), firstLayer(), l1t::HGCalClusterT< C >::firstLayer(), l1t::HGCalClusterT< C >::layer10percent(), l1t::HGCalClusterT< C >::layer50percent(), l1t::HGCalClusterT< C >::layer90percent(), maxLayer(), l1t::HGCalClusterT< C >::maxLayer(), meanZ(), percentileLayer(), percentileTriggerCells(), 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(), l1t::HGCalClusterT< C >::sigmaZZ(), l1t::HGCalClusterT< C >::triggerCells67percent(), l1t::HGCalClusterT< C >::triggerCells90percent(), and l1t::HGCalClusterT< C >::zBarycenter().
Referenced by HGCalMulticlusteringImpl::finalizeClusters(), HGCalHistoClusteringImpl::finalizeClusters(), and CaloTruthCellsProducer::produce().
int HGCalShowerShape::firstLayer | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 30 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), phase1PixelTopology::layer, HGCalTriggerTools::layerWithOffset(), pass(), and triggerTools_.
Referenced by fillShapes(), and showerLength().
int HGCalShowerShape::lastLayer | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 65 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), phase1PixelTopology::layer, HGCalTriggerTools::layerWithOffset(), pass(), and triggerTools_.
Referenced by showerLength().
int HGCalShowerShape::maxLayer | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 46 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), phase1PixelTopology::layer, HGCalTriggerTools::layerWithOffset(), pass(), and triggerTools_.
Referenced by fillShapes().
|
private |
Definition at line 15 of file HGCalShowerShape.cc.
Referenced by meanZ(), sigmaRRMax(), sigmaRRMean(), sigmaRRTot(), and sigmaZZ().
float HGCalShowerShape::meanZ | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 423 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), meanX(), and pass().
Referenced by fillShapes().
|
inlineprivate |
Definition at line 85 of file HGCalShowerShape.h.
References funct::abs(), distance_, mag(), and threshold_.
Referenced by coreShowerLength(), eMax(), firstLayer(), lastLayer(), maxLayer(), meanZ(), percentileLayer(), percentileTriggerCells(), sigmaEtaEtaMax(), sigmaEtaEtaTot(), sigmaPhiPhiMax(), sigmaPhiPhiTot(), sigmaRRMax(), sigmaRRMean(), sigmaRRTot(), and sigmaZZ().
float HGCalShowerShape::percentileLayer | ( | const l1t::HGCalMulticluster & | c3d, |
const HGCalTriggerGeometryBase & | triggerGeometry, | ||
float | quantile = 0.5 |
||
) | const |
Definition at line 112 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), ForwardEmpty, HFNose, HGCalTriggerTools::isNose(), phase1PixelTopology::layer, LayerTriplets::layers(), HGCalTriggerTools::layers(), nlayers, pass(), DiDispStaMuonMonitor_cfi::pt, HGCalTriggerGeometryBase::triggerLayer(), and triggerTools_.
Referenced by fillShapes().
float HGCalShowerShape::percentileTriggerCells | ( | const l1t::HGCalMulticluster & | c3d, |
float | quantile = 0.5 |
||
) | const |
Definition at line 150 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), and pass().
Referenced by fillShapes().
|
inline |
Definition at line 21 of file HGCalShowerShape.h.
References HGCalTriggerTools::setGeometry(), and triggerTools_.
Referenced by CaloTruthCellsProducer::produce(), HGCalHistoClusteringImpl::setGeometry(), and HGCalMulticlusteringImpl::setGeometry().
|
inline |
Definition at line 26 of file HGCalShowerShape.h.
References firstLayer(), and lastLayer().
Referenced by fillShapes().
float HGCalShowerShape::sigmaEtaEtaMax | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 247 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), phase1PixelTopology::layer, HGCalTriggerTools::layerWithOffset(), pass(), sigmaXX(), and triggerTools_.
Referenced by fillShapes().
float HGCalShowerShape::sigmaEtaEtaTot | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 182 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), reco::LeafCandidate::eta(), pass(), and sigmaXX().
Referenced by fillShapes().
float HGCalShowerShape::sigmaEtaEtaTot | ( | const l1t::HGCalCluster & | c2d | ) | const |
Definition at line 462 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), reco::LeafCandidate::eta(), pass(), and sigmaXX().
|
inlineprivate |
Definition at line 81 of file HGCalShowerShape.h.
Referenced by sigmaPhiPhiMax(), and sigmaPhiPhiTot().
float HGCalShowerShape::sigmaPhiPhiMax | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 280 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), phase1PixelTopology::layer, HGCalTriggerTools::layerWithOffset(), pass(), sigmaPhiPhi(), and triggerTools_.
Referenced by fillShapes().
float HGCalShowerShape::sigmaPhiPhiTot | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 202 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), pass(), reco::LeafCandidate::phi(), and sigmaPhiPhi().
Referenced by fillShapes().
float HGCalShowerShape::sigmaPhiPhiTot | ( | const l1t::HGCalCluster & | c2d | ) | const |
Definition at line 478 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), pass(), reco::LeafCandidate::phi(), and sigmaPhiPhi().
float HGCalShowerShape::sigmaRRMax | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 313 of file HGCalShowerShape.cc.
References funct::abs(), l1t::HGCalClusterT< C >::constituents(), phase1PixelTopology::layer, HGCalTriggerTools::layerWithOffset(), meanX(), pass(), funct::pow(), alignCSCRings::r, sigmaXX(), mathSSE::sqrt(), and triggerTools_.
Referenced by fillShapes().
float HGCalShowerShape::sigmaRRMean | ( | const l1t::HGCalMulticluster & | c3d, |
float | radius = 5. |
||
) | const |
Definition at line 347 of file HGCalShowerShape.cc.
References funct::abs(), l1t::HGCalClusterT< C >::constituents(), PVValHelper::dx, PVValHelper::dy, phase1PixelTopology::layer, HGCalTriggerTools::layerWithOffset(), meanX(), pass(), alignCSCRings::r, sigmaXX(), mathSSE::sqrt(), and triggerTools_.
Referenced by fillShapes().
float HGCalShowerShape::sigmaRRTot | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 222 of file HGCalShowerShape.cc.
References funct::abs(), l1t::HGCalClusterT< C >::constituents(), meanX(), pass(), funct::pow(), alignCSCRings::r, sigmaXX(), and mathSSE::sqrt().
Referenced by fillShapes().
float HGCalShowerShape::sigmaRRTot | ( | const l1t::HGCalCluster & | c2d | ) | const |
Definition at line 494 of file HGCalShowerShape.cc.
References funct::abs(), l1t::HGCalClusterT< C >::constituents(), meanX(), pass(), funct::pow(), alignCSCRings::r, sigmaXX(), and mathSSE::sqrt().
|
inlineprivate |
Definition at line 62 of file HGCalShowerShape.h.
References CommonMethods::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 441 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), meanX(), pass(), and sigmaXX().
Referenced by fillShapes().
|
private |
Definition at line 94 of file HGCalShowerShape.h.
Referenced by pass().
|
private |
Definition at line 93 of file HGCalShowerShape.h.
Referenced by pass().
|
private |
Definition at line 92 of file HGCalShowerShape.h.
Referenced by coreShowerLength(), eMax(), firstLayer(), lastLayer(), maxLayer(), percentileLayer(), setGeometry(), sigmaEtaEtaMax(), sigmaPhiPhiMax(), sigmaRRMax(), and sigmaRRMean().