#include <GiGa/GiGaTrajectory.h>
Public Member Functions | |
GiGaTrajectory () | |
default (empty) constructor | |
GiGaTrajectory (const G4Track *track) | |
constructor from the track | |
GiGaTrajectory (const GiGaTrajectory &right) | |
copy constructor | |
virtual | ~GiGaTrajectory () |
destructor | |
void * | operator new (size_t) |
overloaded new operator | |
void | operator delete (void *) |
overloaded delete operator | |
virtual GiGaTrajectory * | clone () const |
clone (virtual constructor) method | |
int | operator== (const GiGaTrajectory &right) const |
comparison (needed by G4) | |
const int & | trackID () const |
accessors - a'la Gaudi and a'la Geant4 | |
const int & | parentID () const |
const CLHEP::HepLorentzVector & | fourMomentum () const |
const CLHEP::HepLorentzVector & | momentum () const |
const CLHEP::HepLorentzVector & | Get4Momentum () const |
bool | hasOscillated () const |
bool | isSignal () const |
int | signalBarcode () const |
LHCb::HepMCEvent * | pHepMCEvent () const |
LHCb::MCParticle * | motherMCParticle () const |
G4int | GetTrackID () const |
G4int | GetParentID () const |
const G4ParticleDefinition * | partDef () const |
virtual void | ShowTrajectory (std::ostream &os=std::cout) const |
virtual void | DrawTrajectory (G4int i_mode=0) const |
virtual void | AppendStep (const G4Step *) |
virtual void | MergeTrajectory (G4VTrajectory *) |
virtual int | GetPointEntries () const |
virtual G4VTrajectoryPoint * | GetPoint (int index) const |
G4VTrajectoryPoint * | point (int index) const |
virtual G4String | GetParticleName () const |
virtual G4double | GetCharge () const |
virtual G4int | GetPDGEncoding () const |
virtual G4ThreeVector | GetInitialMomentum () const |
const G4VProcess * | creator () const |
get the pointer to creator process | |
void | setCreator (const G4VProcess *value) |
set the creator process | |
void | setHasOscillated (bool flag) |
void | setIsSignal (bool sig) |
void | setSignalBarcode (int code) |
void | setHepMCEvent (LHCb::HepMCEvent *event) |
void | setMotherMCParticle (LHCb::MCParticle *p) |
const std::string & | processname () const |
void | setProcessName (const std::string &) |
Protected Member Functions | |
bool | appendStep (const G4Step *step) |
'almost' unconditionally append the step | |
Private Member Functions | |
GiGaTrajectory & | operator= (const GiGaTrajectory &) |
assignement operator id private | |
Private Attributes | |
int | m_trackID |
int | m_parentID |
const G4ParticleDefinition * | m_partDef |
CLHEP::HepLorentzVector | m_4vect |
const G4VProcess * | m_creator |
bool | m_hasOscillated |
bool | m_isSignal |
int | m_signalBarcode |
LHCb::HepMCEvent * | m_pHepMCEvent |
LHCb::MCParticle * | m_motherMCParticle |
Overwise conversion to MCParticle/MCVertex structure is impossible.
Definition at line 53 of file GiGaTrajectory.h.
GiGaTrajectory::GiGaTrajectory | ( | ) |
default (empty) constructor
GiGaTrajectory::GiGaTrajectory | ( | const G4Track * | track | ) |
constructor from the track
track | pointer to the track |
GiGaTrajectory::GiGaTrajectory | ( | const GiGaTrajectory & | right | ) |
copy constructor
right | object to be copied |
virtual GiGaTrajectory::~GiGaTrajectory | ( | ) | [virtual] |
destructor
void* GiGaTrajectory::operator new | ( | size_t | ) |
overloaded new operator
void GiGaTrajectory::operator delete | ( | void * | ) |
overloaded delete operator
virtual GiGaTrajectory* GiGaTrajectory::clone | ( | ) | const [virtual] |
clone (virtual constructor) method
int GiGaTrajectory::operator== | ( | const GiGaTrajectory & | right | ) | const [inline] |
const int& GiGaTrajectory::trackID | ( | ) | const [inline] |
accessors - a'la Gaudi and a'la Geant4
Definition at line 90 of file GiGaTrajectory.h.
00091 { return m_trackID ; }
const int& GiGaTrajectory::parentID | ( | ) | const [inline] |
const CLHEP::HepLorentzVector& GiGaTrajectory::fourMomentum | ( | ) | const [inline] |
const CLHEP::HepLorentzVector& GiGaTrajectory::momentum | ( | ) | const [inline] |
const CLHEP::HepLorentzVector& GiGaTrajectory::Get4Momentum | ( | ) | const [inline] |
bool GiGaTrajectory::hasOscillated | ( | ) | const [inline] |
bool GiGaTrajectory::isSignal | ( | ) | const [inline] |
int GiGaTrajectory::signalBarcode | ( | ) | const [inline] |
LHCb::HepMCEvent* GiGaTrajectory::pHepMCEvent | ( | ) | const [inline] |
LHCb::MCParticle* GiGaTrajectory::motherMCParticle | ( | ) | const [inline] |
G4int GiGaTrajectory::GetTrackID | ( | ) | const [inline] |
G4int GiGaTrajectory::GetParentID | ( | ) | const [inline] |
const G4ParticleDefinition* GiGaTrajectory::partDef | ( | ) | const [inline] |
virtual void GiGaTrajectory::ShowTrajectory | ( | std::ostream & | os = std::cout |
) | const [virtual] |
virtual void GiGaTrajectory::DrawTrajectory | ( | G4int | i_mode = 0 |
) | const [virtual] |
virtual void GiGaTrajectory::AppendStep | ( | const G4Step * | ) | [virtual] |
virtual void GiGaTrajectory::MergeTrajectory | ( | G4VTrajectory * | ) | [virtual] |
virtual int GiGaTrajectory::GetPointEntries | ( | ) | const [inline, virtual] |
virtual G4VTrajectoryPoint* GiGaTrajectory::GetPoint | ( | int | index | ) | const [inline, virtual] |
G4VTrajectoryPoint* GiGaTrajectory::point | ( | int | index | ) | const [inline] |
virtual G4String GiGaTrajectory::GetParticleName | ( | ) | const [virtual] |
virtual G4double GiGaTrajectory::GetCharge | ( | ) | const [virtual] |
virtual G4int GiGaTrajectory::GetPDGEncoding | ( | ) | const [virtual] |
virtual G4ThreeVector GiGaTrajectory::GetInitialMomentum | ( | ) | const [virtual] |
const G4VProcess* GiGaTrajectory::creator | ( | ) | const [inline] |
get the pointer to creator process
Definition at line 142 of file GiGaTrajectory.h.
00142 { return m_creator ; }
void GiGaTrajectory::setCreator | ( | const G4VProcess * | value | ) | [inline] |
set the creator process
Definition at line 145 of file GiGaTrajectory.h.
00146 { m_creator = value ; }
void GiGaTrajectory::setHasOscillated | ( | bool | flag | ) | [inline] |
void GiGaTrajectory::setIsSignal | ( | bool | sig | ) | [inline] |
void GiGaTrajectory::setSignalBarcode | ( | int | code | ) | [inline] |
void GiGaTrajectory::setHepMCEvent | ( | LHCb::HepMCEvent * | event | ) | [inline] |
void GiGaTrajectory::setMotherMCParticle | ( | LHCb::MCParticle * | p | ) | [inline] |
const std::string& GiGaTrajectory::processname | ( | ) | const |
void GiGaTrajectory::setProcessName | ( | const std::string & | ) | [inline] |
bool GiGaTrajectory::appendStep | ( | const G4Step * | step | ) | [protected] |
'almost' unconditionally append the step
step | step to be appended |
GiGaTrajectory& GiGaTrajectory::operator= | ( | const GiGaTrajectory & | ) | [private] |
assignement operator id private
int GiGaTrajectory::m_trackID [private] |
Definition at line 181 of file GiGaTrajectory.h.
int GiGaTrajectory::m_parentID [private] |
Definition at line 182 of file GiGaTrajectory.h.
const G4ParticleDefinition* GiGaTrajectory::m_partDef [private] |
Definition at line 183 of file GiGaTrajectory.h.
CLHEP::HepLorentzVector GiGaTrajectory::m_4vect [private] |
Definition at line 184 of file GiGaTrajectory.h.
const G4VProcess* GiGaTrajectory::m_creator [private] |
Definition at line 185 of file GiGaTrajectory.h.
bool GiGaTrajectory::m_hasOscillated [private] |
Definition at line 186 of file GiGaTrajectory.h.
bool GiGaTrajectory::m_isSignal [private] |
Definition at line 187 of file GiGaTrajectory.h.
int GiGaTrajectory::m_signalBarcode [private] |
Definition at line 188 of file GiGaTrajectory.h.
LHCb::HepMCEvent* GiGaTrajectory::m_pHepMCEvent [private] |
Definition at line 189 of file GiGaTrajectory.h.
LHCb::MCParticle* GiGaTrajectory::m_motherMCParticle [private] |
Definition at line 190 of file GiGaTrajectory.h.