#include "hpidparticlesim.h" |
HPidParticleSim
class description - source file - inheritance tree (.pdf)
public:
HPidParticleSim(HPidCandidate* pCandidate, Float_t* assignedWeights, Bool_t useMassIdeal = kTRUE, Int_t userDefSpecies = -99, Float_t userWeight = 0.0)
HPidParticleSim()
HPidParticleSim(const HPidParticleSim& source)
~HPidParticleSim()
static HCategory* buildPidParticleSimCategory()
static TClass* Class()
virtual void Clear(Option_t* opt)
const TLorentzVector* getGeantLorentzVector(UInt_t iPos = 0) const
const TVector3* getGeantMomentum(UInt_t iPos = 0) const
Short_t getGeantPID(UInt_t iPos = 0) const
Char_t getGeantTrackDetectors(UInt_t iPos = 0) const
Short_t getGeantTrackID(UInt_t iPos = 0) const
UInt_t getGeantTrackProcess(UInt_t iPos = 0) const
const HPidGeantTrackSet* getGeantTrackSet() const
HPidTrackCand* getTrackCand() const
HPidTrackCandSim* getTrackCandSim() const
Double_t getTrackMomX(UInt_t iPos = 0) const
Double_t getTrackMomY(UInt_t iPos = 0) const
Double_t getTrackMomZ(UInt_t iPos = 0) const
Int_t getValidCommonTracks() const
virtual TClass* IsA() const
HPidParticleSim& operator=(const HPidParticleSim&)
virtual void print() const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
public:
HPidGeantTrackSet itsGeantTrackSet
HPidParticleSim
Identified particle for sim data
All members and methods from HPidParticle are still valid but functions to
handle simulation information are added
HPidParticleSim(HPidCandidate* pCandidate, Float_t* assignedWeights,
Bool_t useMassIdeal, Int_t userDefSpecies, Float_t userWeight)
: HPidParticle(pCandidate, assignedWeights, useMassIdeal, userDefSpecies, userWeight),
itsGeantTrackSet(*(( (HPidTrackCandSim*)pCandidate->getTrackCandidate() )->getGeantTrackSet()))
itsGeantTrackSet = new HPidGeantTrackSet(*(source->getGeantTrackSet()));
cout << "Calling copy constructor for HPidGeantTrackSet" << endl;
cout << "Address of GeantTrackSet: " << itsGeantTrackSet << endl;
itsGeantTrackSet->print();
HPidParticleSim(const HPidParticleSim& source):
HPidParticle(source),
itsGeantTrackSet(*(source.getGeantTrackSet()))
void Clear(Option_t *opt)
Clear all variables
void print(void) const
Print info about the particle
HCategory* buildPidParticleSimCategory(void) //OK
Static function for making the category HPidParticleSim
HPidTrackCandSim* getTrackCandSim(void) const //OK
cast the base class to the derived one
Inline Functions
void ~HPidParticleSim()
HPidParticleSim HPidParticleSim(const HPidParticleSim& source)
HPidTrackCand* getTrackCand() const
const HPidGeantTrackSet* getGeantTrackSet() const
Int_t getValidCommonTracks() const
Char_t getGeantTrackDetectors(UInt_t iPos = 0) const
UInt_t getGeantTrackProcess(UInt_t iPos = 0) const
Short_t getGeantTrackID(UInt_t iPos = 0) const
Short_t getGeantPID(UInt_t iPos = 0) const
Double_t getTrackMomX(UInt_t iPos = 0) const
Double_t getTrackMomY(UInt_t iPos = 0) const
Double_t getTrackMomZ(UInt_t iPos = 0) const
const TVector3* getGeantMomentum(UInt_t iPos = 0) const
const TLorentzVector* getGeantLorentzVector(UInt_t iPos = 0) const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HPidParticleSim& operator=(const HPidParticleSim&)
Author: Marcin Jaskula 11/11/2002
Last update: Fri Jan 26 12:22:44 2007
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.