#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, hgcalTopologyTester_cfi::layers, HGCalTriggerTools::layers(), nlayers, pass(), HGCalTriggerGeometryBase::triggerLayer(), and triggerTools_.
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::eMax | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 391 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), HGCalTriggerTools::layerWithOffset(), pass(), and triggerTools_.
Referenced by fillShapes(), and showerLength().
|
inline |
Definition at line 21 of file HGCalShowerShape.h.
References HGCalTriggerTools::eventSetup(), firstLayer(), lastLayer(), maxLayer(), and triggerTools_.
Referenced by HGCalHistoClusteringImpl::eventSetup(), HGCalMulticlusteringImpl::eventSetup(), and CaloTruthCellsProducer::produce().
void HGCalShowerShape::fillShapes | ( | l1t::HGCalMulticluster & | c3d, |
const HGCalTriggerGeometryBase & | triggerGeometry | ||
) | const |
Definition at line 505 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(), CaloTruthCellsProducer::produce(), and showerLength().
int HGCalShowerShape::firstLayer | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 30 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), HGCalTriggerTools::layerWithOffset(), pass(), and triggerTools_.
Referenced by eventSetup(), fillShapes(), and showerLength().
int HGCalShowerShape::lastLayer | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 65 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), HGCalTriggerTools::layerWithOffset(), pass(), and triggerTools_.
Referenced by eventSetup(), and showerLength().
int HGCalShowerShape::maxLayer | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 46 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), HGCalTriggerTools::layerWithOffset(), pass(), and triggerTools_.
Referenced by eventSetup(), and fillShapes().
|
private |
Definition at line 15 of file HGCalShowerShape.cc.
Referenced by meanZ(), showerLength(), sigmaRRMax(), sigmaRRMean(), sigmaRRTot(), and sigmaZZ().
float HGCalShowerShape::meanZ | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 413 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), meanX(), pass(), and caloTruthCellsProducer_cfi::triggerCells.
Referenced by fillShapes(), and showerLength().
|
inlineprivate |
Definition at line 85 of file HGCalShowerShape.h.
References funct::abs(), distance_, mag(), amptDefault_cfi::proj, 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 107 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), ForwardEmpty, hgcalTopologyTester_cfi::layers, HGCalTriggerTools::layers(), nlayers, pass(), DiDispStaMuonMonitor_cfi::pt, HLT_2018_cff::pt1, SusyPostProcessor_cff::quantile, caloTruthCellsProducer_cfi::triggerCells, HGCalTriggerGeometryBase::triggerLayer(), and triggerTools_.
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::percentileTriggerCells | ( | const l1t::HGCalMulticluster & | c3d, |
float | quantile = 0.5 |
||
) | const |
Definition at line 140 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), pass(), SusyPostProcessor_cff::quantile, and caloTruthCellsProducer_cfi::triggerCells.
Referenced by fillShapes(), and showerLength().
|
inline |
Definition at line 26 of file HGCalShowerShape.h.
References coreShowerLength(), eMax(), fillShapes(), firstLayer(), lastLayer(), meanX(), meanZ(), percentileLayer(), percentileTriggerCells(), SusyPostProcessor_cff::quantile, CosmicsPD_Skims::radius, sigmaEtaEtaMax(), sigmaEtaEtaTot(), sigmaPhiPhiMax(), sigmaPhiPhiTot(), sigmaRRMax(), sigmaRRMean(), sigmaRRTot(), and sigmaZZ().
Referenced by fillShapes().
float HGCalShowerShape::sigmaEtaEtaMax | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 237 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), HGCalTriggerTools::layerWithOffset(), pass(), sigmaXX(), caloTruthCellsProducer_cfi::triggerCells, and triggerTools_.
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::sigmaEtaEtaTot | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 172 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), reco::LeafCandidate::eta(), pass(), sigmaXX(), and caloTruthCellsProducer_cfi::triggerCells.
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::sigmaEtaEtaTot | ( | const l1t::HGCalCluster & | c2d | ) | const |
Definition at line 452 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 270 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), HGCalTriggerTools::layerWithOffset(), pass(), sigmaPhiPhi(), caloTruthCellsProducer_cfi::triggerCells, and triggerTools_.
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::sigmaPhiPhiTot | ( | const l1t::HGCalMulticluster & | c3d | ) | const |
Definition at line 192 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), pass(), reco::LeafCandidate::phi(), sigmaPhiPhi(), and caloTruthCellsProducer_cfi::triggerCells.
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::sigmaPhiPhiTot | ( | const l1t::HGCalCluster & | c2d | ) | const |
Definition at line 468 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 303 of file HGCalShowerShape.cc.
References funct::abs(), l1t::HGCalClusterT< C >::constituents(), HGCalTriggerTools::layerWithOffset(), meanX(), pass(), funct::pow(), alignCSCRings::r, sigmaXX(), mathSSE::sqrt(), caloTruthCellsProducer_cfi::triggerCells, and triggerTools_.
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::sigmaRRMean | ( | const l1t::HGCalMulticluster & | c3d, |
float | radius = 5. |
||
) | const |
Definition at line 337 of file HGCalShowerShape.cc.
References funct::abs(), l1t::HGCalClusterT< C >::constituents(), PVValHelper::dx, PVValHelper::dy, reco::LeafCandidate::energy(), HGCalTriggerTools::layerWithOffset(), meanX(), pass(), l1t::HGCalTriggerCell::position(), alignCSCRings::r, sigmaXX(), mathSSE::sqrt(), caloTruthCellsProducer_cfi::triggerCells, 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 212 of file HGCalShowerShape.cc.
References funct::abs(), l1t::HGCalClusterT< C >::constituents(), meanX(), pass(), funct::pow(), alignCSCRings::r, sigmaXX(), mathSSE::sqrt(), and caloTruthCellsProducer_cfi::triggerCells.
Referenced by fillShapes(), and showerLength().
float HGCalShowerShape::sigmaRRTot | ( | const l1t::HGCalCluster & | c2d | ) | const |
Definition at line 484 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 dumpMFGeometry_cfg::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 431 of file HGCalShowerShape.cc.
References l1t::HGCalClusterT< C >::constituents(), meanX(), pass(), sigmaXX(), and caloTruthCellsProducer_cfi::triggerCells.
Referenced by fillShapes(), and showerLength().
|
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(), eventSetup(), firstLayer(), lastLayer(), maxLayer(), percentileLayer(), sigmaEtaEtaMax(), sigmaPhiPhiMax(), sigmaRRMax(), and sigmaRRMean().