8#ifndef PANDORA_SHOWER_PROFILE_PLUGIN_H
9#define PANDORA_SHOWER_PROFILE_PLUGIN_H 1
37 ShowerPeak(
const float peakEnergy,
const float peakRms,
const float rmsXYRatio,
const CaloHitList &peakCaloHitList);
112 const bool inclusiveMode)
const = 0;
134 m_peakEnergy(peakEnergy),
136 m_rmsXYRatio(rmsXYRatio),
137 m_peakCaloHitList(peakCaloHitList)
166 return m_peakCaloHitList;
Header file defining relevant internal typedefs, sort and string conversion functions.
Header file for the process class.
ShowerPeak(const float peakEnergy, const float peakRms, const float rmsXYRatio, const CaloHitList &peakCaloHitList)
Constructor.
float m_rmsXYRatio
The peak x-rms / y-rms ratio (larger rms over smaller rms)
float GetPeakEnergy() const
Get peak energy.
CaloHitList m_peakCaloHitList
The peak calo hit list.
const CaloHitList & GetPeakCaloHitList() const
Get peak calo hit list.
float GetPeakRms() const
Get peak rms.
float m_peakRms
The peak rms.
float m_peakEnergy
The peak energy.
float GetRmsXYRatio() const
Get rms x-y ratio.
ShowerProfilePlugin class.
virtual void CalculateTransverseProfile(const Cluster *const pCluster, const unsigned int maxPseudoLayer, ShowerPeakList &showerPeakList, const bool inclusiveMode) const =0
Calculate transverse shower profile for a cluster and get the list of peaks identified in the profile...
std::vector< ShowerPeak > ShowerPeakList
virtual void CalculateShowerStartLayer(const Cluster *const pCluster, unsigned int &showerStartLayer) const =0
Get the layer at which shower can be considered to start; this function evaluates the the starting po...
virtual void CalculateTrackBasedTransverseProfile(const Cluster *const pCluster, const unsigned int maxPseudoLayer, const Track *const pClosestTrack, const TrackVector &trackVector, ShowerPeakList &showerPeakListPhoton, ShowerPeakList &showerPeakListNonPhoton) const =0
Calculate transverse shower profile for a cluster and get the list of peaks identified in the profile...
virtual void CalculateLongitudinalProfile(const Cluster *const pCluster, float &profileStart, float &profileDiscrepancy) const =0
Calculate longitudinal shower profile for a cluster and compare it with the expected profile for a ph...
virtual void CalculateTransverseProfile(const Cluster *const pCluster, const unsigned int maxPseudoLayer, ShowerPeakList &showerPeakList) const =0
Calculate transverse shower profile for a cluster and get the list of peaks identified in the profile...
std::vector< const Track * > TrackVector
MANAGED_CONTAINER< const CaloHit * > CaloHitList