ATLAS Offline Software
SimulationHit.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 SimulationHit::StepPoint::StepPoint() : time(0), kinetic_energy(0) { }
8 SimulationHit::StepPoint::StepPoint(double time, const CLHEP::Hep3Vector& position, const double kinetic_energy, const CLHEP::Hep3Vector& direction, const CLHEP::Hep3Vector& momentum) : time(time), position(position), kinetic_energy(kinetic_energy), direction(direction), momentum(momentum) { }
9 
11 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,
12  double post_time, const CLHEP::Hep3Vector& post_position, const double post_kinetic_energy, const CLHEP::Hep3Vector& post_direction, const CLHEP::Hep3Vector& post_momentum,
13  const double deposit_energy, const int pdgcode, const int track_id, const int parent_id)
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) { }
16 
18 
SimulationHit::StepPoint::StepPoint
StepPoint()
Definition: SimulationHit.cxx:7
ParticleGun_EoverP_Config.momentum
momentum
Definition: ParticleGun_EoverP_Config.py:63
SimulationHit::SimulationHit
SimulationHit()
Definition: SimulationHit.cxx:10
SimulationHit::m_parent_id
int m_parent_id
Definition: SimulationHit.h:44
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
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
SimulationHit::~SimulationHit
virtual ~SimulationHit()
Definition: SimulationHit.cxx:17
SimulationHit.h