ATLAS Offline Software
Classes | Public Member Functions | Public Attributes | List of all members
SimulationHit Class Reference

#include <SimulationHit.h>

Collaboration diagram for SimulationHit:

Classes

class  StepPoint
 

Public Member Functions

 SimulationHit ()
 
 SimulationHit (double pre_time, const CLHEP::Hep3Vector &pre_position, const double pre_kinetic_energy, const CLHEP::Hep3Vector &pre_direction, const CLHEP::Hep3Vector &pre_momentum, double post_time, const CLHEP::Hep3Vector &post_position, const double post_kinetic_energy, const CLHEP::Hep3Vector &post_direction, const CLHEP::Hep3Vector &post_momentum, const double deposit_energy, const int pdgcode, const int track_id, const int parent_id)
 
virtual ~SimulationHit ()
 
const StepPointpre () const
 
const StepPointpost () const
 
double depositEnergy () const
 
int particleEncoding () const
 
int trackID () const
 
int parentID () const
 

Public Attributes

StepPoint m_pre
 
StepPoint m_post
 
double m_deposit_energy
 
int m_pdgcode
 
int m_track_id
 
int m_parent_id
 

Detailed Description

Definition at line 10 of file SimulationHit.h.

Constructor & Destructor Documentation

◆ SimulationHit() [1/2]

SimulationHit::SimulationHit ( )

Definition at line 10 of file SimulationHit.cxx.

◆ SimulationHit() [2/2]

SimulationHit::SimulationHit ( double  pre_time,
const CLHEP::Hep3Vector &  pre_position,
const double  pre_kinetic_energy,
const CLHEP::Hep3Vector &  pre_direction,
const CLHEP::Hep3Vector &  pre_momentum,
double  post_time,
const CLHEP::Hep3Vector &  post_position,
const double  post_kinetic_energy,
const CLHEP::Hep3Vector &  post_direction,
const CLHEP::Hep3Vector &  post_momentum,
const double  deposit_energy,
const int  pdgcode,
const int  track_id,
const int  parent_id 
)

Definition at line 11 of file SimulationHit.cxx.

14  : m_pre(pre_time,pre_position,pre_kinetic_energy,pre_direction, pre_momentum), m_post(post_time,post_position,post_kinetic_energy,post_direction, post_momentum),
15  m_deposit_energy(deposit_energy), m_pdgcode(pdgcode), m_track_id(track_id), m_parent_id(parent_id) { }

◆ ~SimulationHit()

SimulationHit::~SimulationHit ( )
virtual

Definition at line 17 of file SimulationHit.cxx.

17 { }

Member Function Documentation

◆ depositEnergy()

double SimulationHit::depositEnergy ( ) const
inline

Definition at line 32 of file SimulationHit.h.

32 { return m_deposit_energy; }

◆ parentID()

int SimulationHit::parentID ( ) const
inline

Definition at line 35 of file SimulationHit.h.

35 { return m_parent_id; }

◆ particleEncoding()

int SimulationHit::particleEncoding ( ) const
inline

Definition at line 33 of file SimulationHit.h.

33 { return m_pdgcode; }

◆ post()

const StepPoint& SimulationHit::post ( ) const
inline

Definition at line 31 of file SimulationHit.h.

31 { return m_post; }

◆ pre()

const StepPoint& SimulationHit::pre ( ) const
inline

Definition at line 30 of file SimulationHit.h.

30 { return m_pre; }

◆ trackID()

int SimulationHit::trackID ( ) const
inline

Definition at line 34 of file SimulationHit.h.

34 { return m_track_id; }

Member Data Documentation

◆ m_deposit_energy

double SimulationHit::m_deposit_energy

Definition at line 41 of file SimulationHit.h.

◆ m_parent_id

int SimulationHit::m_parent_id

Definition at line 44 of file SimulationHit.h.

◆ m_pdgcode

int SimulationHit::m_pdgcode

Definition at line 42 of file SimulationHit.h.

◆ m_post

StepPoint SimulationHit::m_post

Definition at line 40 of file SimulationHit.h.

◆ m_pre

StepPoint SimulationHit::m_pre

Definition at line 39 of file SimulationHit.h.

◆ m_track_id

int SimulationHit::m_track_id

Definition at line 43 of file SimulationHit.h.


The documentation for this class was generated from the following files:
SimulationHit::m_pre
StepPoint m_pre
Definition: SimulationHit.h:39
SimulationHit::m_parent_id
int m_parent_id
Definition: SimulationHit.h:44
SimulationHit::m_post
StepPoint m_post
Definition: SimulationHit.h:40
SimulationHit::m_pdgcode
int m_pdgcode
Definition: SimulationHit.h:42
SimulationHit::m_track_id
int m_track_id
Definition: SimulationHit.h:43
SimulationHit::m_deposit_energy
double m_deposit_energy
Definition: SimulationHit.h:41