LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
LAr calo hit class. More...
#include "LArCaloHit.h"
Public Member Functions | |
LArCaloHit (const LArCaloHitParameters ¶meters) | |
Constructor. More... | |
unsigned int | GetLArTPCVolumeId () const |
Get the lar tpc volume id. More... | |
unsigned int | GetDaughterVolumeId () const |
Get the daughter volume id. More... | |
void | FillParameters (LArCaloHitParameters ¶meters) const |
Fill the parameters associated with this calo hit. More... | |
float | GetTrackProbability () const |
Get the probability that the hit is track-like. More... | |
float | GetShowerProbability () const |
Get the probability that the hit is shower-like. More... | |
void | SetTrackProbability (const float probability) |
Set the probability that the hit is track-like. More... | |
void | SetShowerProbability (const float probability) |
Set the probability that the hit is shower-like. More... | |
Private Attributes | |
unsigned int | m_larTPCVolumeId |
The lar tpc volume id. More... | |
unsigned int | m_daughterVolumeId |
The daughter volume id. More... | |
pandora::InputFloat | m_pTrack |
The probability that the hit is track-like. More... | |
pandora::InputFloat | m_pShower |
The probability that the hit is shower-like. More... | |
LAr calo hit class.
Definition at line 39 of file LArCaloHit.h.
|
inline |
Constructor.
parameters | the lar calo hit parameters |
Definition at line 158 of file LArCaloHit.h.
|
inline |
Fill the parameters associated with this calo hit.
parameters | the output parameters |
Definition at line 181 of file LArCaloHit.h.
References GetDaughterVolumeId(), GetLArTPCVolumeId(), lar_content::LArCaloHitParameters::m_daughterVolumeId, and lar_content::LArCaloHitParameters::m_larTPCVolumeId.
|
inline |
Get the daughter volume id.
Definition at line 174 of file LArCaloHit.h.
References m_daughterVolumeId.
Referenced by FillParameters(), lar_content::LArClusterHelper::GetDaughterVolumeIDs(), and lar_content::LArCaloHitFactory::Write().
|
inline |
Get the lar tpc volume id.
Definition at line 167 of file LArCaloHit.h.
References m_larTPCVolumeId.
Referenced by lar_content::CosmicRayTaggingTool::CheckIfInTime(), FillParameters(), lar_content::MasterAlgorithm::GetVolumeIdToHitListMap(), and lar_content::LArCaloHitFactory::Write().
|
inline |
Get the probability that the hit is shower-like.
Definition at line 217 of file LArCaloHit.h.
References m_pShower.
|
inline |
Get the probability that the hit is track-like.
Definition at line 210 of file LArCaloHit.h.
References m_pTrack.
Referenced by lar_dl_content::DlTrackShowerStreamSelectionAlgorithm::AllocateToStreams(), lar_dl_content::DlPfoCharacterisationAlgorithm::DlPfoCharacterisationAlgorithm(), lar_dl_content::DlPfoCharacterisationAlgorithm::IsClearTrack(), lar_dl_content::DlClusterCharacterisationAlgorithm::IsClearTrack(), and lar_dl_content::DlHitValidationAlgorithm::Run().
|
inline |
Set the probability that the hit is shower-like.
probability | the probability the hit is shower-like |
Definition at line 234 of file LArCaloHit.h.
Referenced by lar_dl_content::DlHitTrackShowerIdAlgorithm::Infer().
|
inline |
Set the probability that the hit is track-like.
probability | the probability the hit is track-like |
Definition at line 224 of file LArCaloHit.h.
|
private |
The daughter volume id.
Definition at line 100 of file LArCaloHit.h.
Referenced by GetDaughterVolumeId().
|
private |
The lar tpc volume id.
Definition at line 99 of file LArCaloHit.h.
Referenced by GetLArTPCVolumeId().
|
private |
The probability that the hit is shower-like.
Definition at line 102 of file LArCaloHit.h.
Referenced by GetShowerProbability(), and SetShowerProbability().
|
private |
The probability that the hit is track-like.
Definition at line 101 of file LArCaloHit.h.
Referenced by GetTrackProbability(), and SetTrackProbability().