Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
lar_content::LArCaloHit Class Reference

LAr calo hit class. More...

#include "LArCaloHit.h"

Inheritance diagram for lar_content::LArCaloHit:
Collaboration diagram for lar_content::LArCaloHit:

Public Member Functions

 LArCaloHit (const LArCaloHitParameters &parameters)
 Constructor.
 
unsigned int GetLArTPCVolumeId () const
 Get the lar tpc volume id.
 
unsigned int GetDaughterVolumeId () const
 Get the daughter volume id.
 
void FillParameters (LArCaloHitParameters &parameters) const
 Fill the parameters associated with this calo hit.
 
float GetTrackProbability () const
 Get the probability that the hit is track-like.
 
float GetShowerProbability () const
 Get the probability that the hit is shower-like.
 
void SetTrackProbability (const float probability)
 Set the probability that the hit is track-like.
 
void SetShowerProbability (const float probability)
 Set the probability that the hit is shower-like.
 

Private Attributes

unsigned int m_larTPCVolumeId
 The lar tpc volume id.
 
unsigned int m_daughterVolumeId
 The daughter volume id.
 
pandora::InputFloat m_pTrack
 The probability that the hit is track-like.
 
pandora::InputFloat m_pShower
 The probability that the hit is shower-like.
 

Detailed Description

LAr calo hit class.

Definition at line 39 of file LArCaloHit.h.

Constructor & Destructor Documentation

◆ LArCaloHit()

lar_content::LArCaloHit::LArCaloHit ( const LArCaloHitParameters parameters)
inline

Constructor.

Parameters
parametersthe lar calo hit parameters

Definition at line 158 of file LArCaloHit.h.

Member Function Documentation

◆ FillParameters()

void lar_content::LArCaloHit::FillParameters ( LArCaloHitParameters parameters) const
inline

Fill the parameters associated with this calo hit.

Parameters
parametersthe output parameters

Definition at line 181 of file LArCaloHit.h.

Here is the call graph for this function:

◆ GetDaughterVolumeId()

unsigned int lar_content::LArCaloHit::GetDaughterVolumeId ( ) const
inline

Get the daughter volume id.

Returns
the daughter volume id

Definition at line 174 of file LArCaloHit.h.

Here is the caller graph for this function:

◆ GetLArTPCVolumeId()

unsigned int lar_content::LArCaloHit::GetLArTPCVolumeId ( ) const
inline

Get the lar tpc volume id.

Returns
the lar tpc volume id

Definition at line 167 of file LArCaloHit.h.

Here is the caller graph for this function:

◆ GetShowerProbability()

float lar_content::LArCaloHit::GetShowerProbability ( ) const
inline

Get the probability that the hit is shower-like.

Returns
the probability the hit is shower-like

Definition at line 217 of file LArCaloHit.h.

Here is the call graph for this function:

◆ GetTrackProbability()

float lar_content::LArCaloHit::GetTrackProbability ( ) const
inline

Get the probability that the hit is track-like.

Returns
the probability the hit is track-like

Definition at line 210 of file LArCaloHit.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetShowerProbability()

void lar_content::LArCaloHit::SetShowerProbability ( const float  probability)
inline

Set the probability that the hit is shower-like.

Parameters
probabilitythe probability the hit is shower-like

Definition at line 234 of file LArCaloHit.h.

Here is the caller graph for this function:

◆ SetTrackProbability()

void lar_content::LArCaloHit::SetTrackProbability ( const float  probability)
inline

Set the probability that the hit is track-like.

Parameters
probabilitythe probability the hit is track-like

Definition at line 224 of file LArCaloHit.h.

Member Data Documentation

◆ m_daughterVolumeId

unsigned int lar_content::LArCaloHit::m_daughterVolumeId
private

The daughter volume id.

Definition at line 100 of file LArCaloHit.h.

◆ m_larTPCVolumeId

unsigned int lar_content::LArCaloHit::m_larTPCVolumeId
private

The lar tpc volume id.

Definition at line 99 of file LArCaloHit.h.

◆ m_pShower

pandora::InputFloat lar_content::LArCaloHit::m_pShower
private

The probability that the hit is shower-like.

Definition at line 102 of file LArCaloHit.h.

◆ m_pTrack

pandora::InputFloat lar_content::LArCaloHit::m_pTrack
private

The probability that the hit is track-like.

Definition at line 101 of file LArCaloHit.h.


The documentation for this class was generated from the following file: