1 #ifndef CALO_HIT_CREATOR_H 2 #define CALO_HIT_CREATOR_H 1 12 #include "Api/PandoraApi.h" 15 namespace gar_pandora {
71 const std::vector<gar::geo::LayeredCalorimeterStruct::Layer> &
layers,
unsigned int barrelSymmetryOrder, PandoraApi::CaloHit::Parameters &caloHitParameters, FloatVector
const& normalVector,
float &absorberCorrection )
const;
108 #endif // #ifndef CALO_HIT_CREATOR_H float m_eCalToHadGeVEndCap
The calibration from deposited ECal endcap energy to hadronic energy.
std::vector< art::Ptr< gar::rec::CaloHit > > CalorimeterHitVector
std::string m_CaloHitCollection
The calorimeter hit collection.
std::vector< float > FloatVector
float m_eCalMipThreshold
Threshold for creating calo hits in the ECal, units mip.
void GetBarrelCaloHitProperties(const gar::rec::CaloHit *const pCaloHit, const std::vector< gar::geo::LayeredCalorimeterStruct::Layer > &layers, unsigned int barrelSymmetryOrder, PandoraApi::CaloHit::Parameters &caloHitParameters, FloatVector const &normalVector, float &absorberCorrection) const
float m_eCalEndCapOuterR
ECal endcap outer r coordinate.
CaloHitCreator(const Settings &settings, const pandora::Pandora *const pPandora, const RotationTransformation *const pRotation)
const CalorimeterHitVector & GetCalorimeterHitVector() const
float m_eCalEndCapOuterZ
ECal endcap outer z coordinate.
std::vector< gar::rec::CaloHit > RawCalorimeterHitVector
float m_eCalToEMGeV
The calibration from deposited ECal energy to EM energy.
float m_eCalBarrelInnerPhi0
ECal barrel inner phi0 coordinate.
gar::geo::BitFieldCoder const * m_fieldDecoder
int m_nOuterSamplingLayers
Number of layers from edge for hit to be flagged as an outer layer hit.
Description of geometry of one entire detector.
float GetMaximumRadius(const gar::rec::CaloHit *const pCaloHit, const unsigned int symmetryOrder, const float phi0) const
float m_eCalToHadGeVBarrel
The calibration from deposited ECal barrel energy to hadronic energy.
pandora::StatusCode CreateCaloHits(const art::Event &pEvent)
float m_eCalBarrelOuterZ
ECal barrel outer z coordinate.
Helper class for decoding and encoding a bit field of 64bits for convenient declaration.
float m_eCalBarrelOuterPhi0
ECal barrel outer phi0 coordinate.
std::string m_CaloHitInstanceName
The calorimeter hit instance name.
int GetNLayersFromEdge(const gar::rec::CaloHit *const pCaloHit) const
float m_eCalBarrelOuterR
ECal barrel outer r coordinate.
const geo::GeometryCore * fGeo
const Settings m_settings
The calo hit creator settings.
CalorimeterHitVector artCalorimeterHitVector
FloatVector m_eCalBarrelNormalVector
ECal barrel normal vector.
void GetEndCapCaloHitProperties(const gar::rec::CaloHit *const pCaloHit, const std::vector< gar::geo::LayeredCalorimeterStruct::Layer > &layers, PandoraApi::CaloHit::Parameters &caloHitParameters, float &absorberCorrection) const
const RotationTransformation & m_rotation
General GArSoft Utilities.
unsigned int m_eCalEndCapInnerSymmetryOrder
ECal endcap inner symmetry.
unsigned int m_eCalBarrelOuterSymmetry
ECal barrel outer symmetry order.
float m_eCalToMip
The calibration from deposited ECal energy to mip.
const pandora::Pandora & m_pandora
Reference to the pandora object to create calo hits.
void GetCommonCaloHitProperties(const gar::rec::CaloHit *const pCaloHit, PandoraApi::CaloHit::Parameters &caloHitParameters) const
float m_maxECalHitHadronicEnergy
The maximum hadronic energy allowed for a single hcal hit.
pandora::StatusCode CollectECALCaloHits(const art::Event &pEvent, const std::string &label, const std::string &instanceName, CalorimeterHitVector &ecalCaloHitVector)
float m_layersFromEdgeMaxRearDistance
Maximum number of layers from candidate outer layer hit to rear of detector.
art framework interface to geometry description
unsigned int m_eCalBarrelInnerSymmetry
ECal barrel inner symmetry order.
float m_eCalBarrelLayerThickness
ECal barrel layer thickness.
float m_eCalEndCapLayerThickness
ECal endcap layer thickness.
pandora::StatusCode CreateECalCaloHits() const
float m_eCalEndCapInnerPhiCoordinate
ECal endcap inner phi.