#include "T49ParticleRoot.h"

T49ParticleRoot


class description - source file - inheritance tree (.pdf)

class T49ParticleRoot : public T49Particle

Inheritance Chart:
TObject
<-
T49Particle
<-
T49ParticleRoot
<-
T49ParticleIdRoot
T49ParticleMCRoot

    public:
T49ParticleRoot() T49ParticleRoot(T49ParticleRoot* t) T49ParticleRoot(const T49ParticleRoot&) virtual ~T49ParticleRoot() static TClass* Class() virtual void CopyParticle(T49ParticleRoot* track) virtual Float_t GetBx() virtual Float_t GetBy() virtual Int_t GetCharge() virtual Float_t GetE(Float_t mass) Float_t GetEta() virtual Int_t GetIdDet() virtual Int_t GetIflag() virtual Int_t GetLabel() virtual Float_t GetMt(Float_t mass) virtual Int_t GetNDedxPoint() virtual Int_t GetNDedxPoint(Int_t Ntpc) virtual Int_t GetNFitPoint() virtual Int_t GetNFitPoint(Int_t Ntpc) virtual Int_t GetNMaxPoint() virtual Int_t GetNMaxPoint(Int_t Ntpc) virtual Int_t GetNPoint() virtual Int_t GetNPoint(Int_t Ntpc) virtual Float_t GetP() virtual Float_t GetPchi2() virtual Float_t GetPhi() Float_t GetProbElectron() Float_t GetProbKaon() Float_t GetProbPion() Float_t GetProbProton() virtual Float_t GetPt() virtual Float_t GetPx() virtual Float_t GetPy() virtual Float_t GetPz() virtual Float_t GetRandom() virtual Float_t GetRap(Float_t mass) Float_t GetSigElectron() Float_t GetSigKaon() Float_t GetSigPion() Float_t GetSigProton() virtual Float_t GetSigPx() virtual Float_t GetSigPy() virtual Float_t GetSigPz() Int_t GetStopVertexIndex() virtual Float_t GetTmeanCharge() virtual Float_t GetTmeanCharge(Int_t Ntpc) virtual Float_t GetTofCharge() virtual Int_t GetTofId() virtual Int_t GetTofIflag() virtual Float_t GetTofMass2() Float_t GetTofPathl() virtual Float_t GetTofSigMass2() virtual Float_t GetTofX() virtual Float_t GetTofY() virtual Float_t GetWeight() Float_t GetX0() Float_t GetX0(Float_t z) virtual Float_t GetXFirst() Float_t GetXFirst(Int_t det) virtual Float_t GetXLast() Float_t GetXLast(Int_t det) Float_t GetXPrime() Float_t GetY0() Float_t GetY0(Float_t z) virtual Float_t GetYFirst() Float_t GetYFirst(Int_t det) virtual Float_t GetYLast() Float_t GetYLast(Int_t det) Float_t GetYPrime() virtual Float_t GetZFirst() Float_t GetZFirst(Int_t det) virtual Float_t GetZLast() Float_t GetZLast(Int_t det) virtual TClass* IsA() const T49ParticleRoot& operator=(const T49ParticleRoot&) virtual void SetBx(Float_t x) virtual void SetBy(Float_t x) virtual void SetCharge(Int_t i) virtual void SetIdDet(Int_t i) virtual void SetIflag(Int_t i) virtual void SetLabel(Int_t Label) virtual void SetNDedxPoint(Int_t i, Int_t Ntpc = 3) virtual void SetNFitPoint(Int_t i, Int_t Ntpc = 3) virtual void SetNMaxPoint(Int_t i, Int_t Ntpc = 3) virtual void SetNPoint(Int_t i, Int_t Ntpc = 3) virtual void SetPchi2(Float_t x) virtual void SetPx(Float_t x) virtual void SetPy(Float_t x) virtual void SetPz(Float_t x) virtual void SetRandom(Float_t n) virtual void SetRandom() virtual void SetSigPx(Float_t x) virtual void SetSigPy(Float_t x) virtual void SetSigPz(Float_t x) virtual void SetStopVertexIndex(Int_t i) virtual void SetTmeanCharge(Float_t x, Int_t Ntpc = 3) virtual void SetTofCharge(Float_t x) virtual void SetTofId(Int_t x) virtual void SetTofIflag(Int_t x) virtual void SetTofMass2(Float_t x) virtual void SetTofPathl(Float_t x) virtual void SetTofSigMass2(Float_t x) virtual void SetTofX(Float_t x) virtual void SetTofY(Float_t x) virtual void SetWeight(Float_t x) virtual void SetXFirst(Float_t x) virtual void SetXFirst(Int_t det, Float_t x) virtual void SetXLast(Float_t x) virtual void SetXLast(Int_t det, Float_t x) virtual void SetYFirst(Float_t x) virtual void SetYFirst(Int_t det, Float_t x) virtual void SetYLast(Float_t x) virtual void SetYLast(Int_t det, Float_t x) virtual void SetZFirst(Float_t x) virtual void SetZFirst(Int_t det, Float_t x) virtual void SetZLast(Float_t x) virtual void SetZLast(Int_t det, Float_t x) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Char_t fIdDet From track_t id_det Char_t fCharge From track_t qpxz UChar_t fNPoint[4] From rtrack_t n_point UChar_t fNFitPoint[4] From track_t n_fit_point UChar_t fNDedxPoint[4] From rtrack_t n_dedx_point UChar_t fNMaxPoint[4] From rtrack_t n_max_point Int_t fIflag From rtrack_t iflag UShort_t fTmeanCharge[4] From rtrack_t tmean_charge Float_t fPx From track_t px Float_t fPy From track_t py Float_t fPz From track_t pz Float_t fSigPx From track_t sig_px Float_t fSigPy From track_t sig_py Float_t fSigPz From track_t sig_pz Float_t fBx From track_t bx Float_t fBy From track_t by Float_t fPchi2 From track_t pchi2; Float_t fXFirst From rtrack_t x_first Float_t fYFirst From rtrack_t y_first Float_t fZFirst From rtrack_t z_first Float_t fXLast From rtrack_t x_last Float_t fYLast From rtrack_t y_last Float_t fZLast From rtrack_t z_last Float_t fWeight Weight factor for future use Float_t fRandom Random track identifier for sample splitting Int_t fLabel Track label inside T49Event Int_t fVertexIndex Index to the stop vertex Int_t fTofIflag TOF quality flag Int_t fTofId TOF PM number Float_t fTofX TOF hit position in det coord. Float_t fTofY TOF hit position in det coord. Float_t fTofPathl TOF tracklength from target to det Float_t fTofCharge TOF normalized QDC signal Float_t fTofMass2 TOF squared mass Float_t fTofSigMass2 TOF squared mass Float_t fXLocFirst[3] From rtrack_t x_first Float_t fYLocFirst[3] From rtrack_t y_first Float_t fZLocFirst[3] From rtrack_t z_first Float_t fXLocLast[3] From rtrack_t x_last Float_t fYLocLast[3] From rtrack_t y_last Float_t fZLocLast[3] From rtrack_t z_last

Class Description

  Contains the particle information
  (taken from rtrack and track structures).



T49ParticleRoot()
 Default constructor


T49ParticleRoot(T49ParticleRoot *Track)
 T49ParticleRoot copy constructor


~T49ParticleRoot()
 T49ParticleRoot destructor


void SetRandom()
 Assigns a random number to this particle


void SetXFirst(Int_t det, Float_t x)
 Sets the x-position of the first point (det: 0=vt1 1=vt2 2=mtp)


void SetYFirst(Int_t det, Float_t x)
 Sets the y-position of the first point (det: 0=vt1 1=vt2 2=mtp)


void SetZFirst(Int_t det, Float_t x)
 Sets the z-position of the first point (det: 0=vt1 1=vt2 2=mtp)


void SetXLast(Int_t det, Float_t x)
 Sets the x-position of the last point (det: 0=vt1 1=vt2 2=mtp)


void SetYLast(Int_t det, Float_t x)
 Set the y-position of the last point (det: 0=vt1 1=vt2 2=mtp)


void SetZLast(Int_t det, Float_t x)
 Set the z-position of the last point (det: 0=vt1 1=vt2 2=mtp)


Float_t GetPhi()
 The azimuth angle


Float_t GetRap(Float_t mass)
 The rapidity


Float_t GetEta()
 The pseudo-rapidity


Float_t GetXFirst(Int_t det)
 Get the x-position of the first point (det: 0=vt1 1=vt2 2=mtp)


Float_t GetYFirst(Int_t det)
 Get the y-position of the first point (det: 0=vt1 1=vt2 2=mtp)


Float_t GetZFirst(Int_t det)
 Get the z-position of the first point (det: 0=vt1 1=vt2 2=mtp)


Float_t GetXLast(Int_t det)
 Get the x-position of the last point (det: 0=vt1 1=vt2 2=mtp)


Float_t GetYLast(Int_t det)
 Get the y-position of the last point (det: 0=vt1 1=vt2 2=mtp)


Float_t GetZLast(Int_t det)
 Get the z-position of the last point (det: 0=vt1 1=vt2 2=mtp)


Float_t GetX0(Float_t z)
 Get the bx at z-position <z> (linear extrapolation)


Float_t GetY0(Float_t z)
 Get the by at z-position <z> (linear extrapolation)


Float_t GetXPrime()
 Get the slope in x (linear extrapolation)


Float_t GetYPrime()
 Get the slope in y (linear extrapolation)


void CopyParticle(T49ParticleRoot *Track)

void Streamer(TBuffer &R__b)
 Stream an object of class T49ParticleRoot.




Inline Functions


                    void SetNPoint(Int_t i, Int_t Ntpc = 3)
                    void SetNFitPoint(Int_t i, Int_t Ntpc = 3)
                    void SetNDedxPoint(Int_t i, Int_t Ntpc = 3)
                    void SetNMaxPoint(Int_t i, Int_t Ntpc = 3)
                    void SetTmeanCharge(Float_t x, Int_t Ntpc = 3)
                    void SetCharge(Int_t i)
                    void SetIdDet(Int_t i)
                    void SetIflag(Int_t i)
                    void SetPx(Float_t x)
                    void SetPy(Float_t x)
                    void SetPz(Float_t x)
                    void SetSigPx(Float_t x)
                    void SetSigPy(Float_t x)
                    void SetSigPz(Float_t x)
                    void SetBx(Float_t x)
                    void SetBy(Float_t x)
                    void SetPchi2(Float_t x)
                    void SetWeight(Float_t x)
                    void SetLabel(Int_t Label)
                    void SetRandom()
                    void SetStopVertexIndex(Int_t i)
                    void SetTofIflag(Int_t x)
                    void SetTofId(Int_t x)
                    void SetTofX(Float_t x)
                    void SetTofY(Float_t x)
                    void SetTofPathl(Float_t x)
                    void SetTofCharge(Float_t x)
                    void SetTofMass2(Float_t x)
                    void SetTofSigMass2(Float_t x)
                    void SetXFirst(Int_t det, Float_t x)
                    void SetYFirst(Int_t det, Float_t x)
                    void SetZFirst(Int_t det, Float_t x)
                    void SetXLast(Int_t det, Float_t x)
                    void SetYLast(Int_t det, Float_t x)
                    void SetZLast(Int_t det, Float_t x)
                   Int_t GetCharge()
                   Int_t GetNPoint()
                   Int_t GetNFitPoint()
                   Int_t GetNDedxPoint()
                   Int_t GetNMaxPoint()
                 Float_t GetTmeanCharge()
                   Int_t GetNPoint(Int_t Ntpc)
                   Int_t GetNFitPoint(Int_t Ntpc)
                   Int_t GetNDedxPoint(Int_t Ntpc)
                   Int_t GetNMaxPoint(Int_t Ntpc)
                 Float_t GetTmeanCharge(Int_t Ntpc)
                   Int_t GetIdDet()
                   Int_t GetIflag()
                 Float_t GetPx()
                 Float_t GetPy()
                 Float_t GetPz()
                 Float_t GetSigPx()
                 Float_t GetSigPy()
                 Float_t GetSigPz()
                 Float_t GetBx()
                 Float_t GetBy()
                 Float_t GetPchi2()
                 Float_t GetWeight()
                   Int_t GetLabel()
                 Float_t GetRandom()
                   Int_t GetStopVertexIndex()
                   Int_t GetTofIflag()
                   Int_t GetTofId()
                 Float_t GetTofX()
                 Float_t GetTofY()
                 Float_t GetTofPathl()
                 Float_t GetTofCharge()
                 Float_t GetTofMass2()
                 Float_t GetTofSigMass2()
                 Float_t GetX0(Float_t z)
                 Float_t GetY0(Float_t z)
                 Float_t GetPt()
                 Float_t GetP()
                 Float_t GetE(Float_t mass)
                 Float_t GetMt(Float_t mass)
                 Float_t GetProbElectron()
                 Float_t GetProbPion()
                 Float_t GetProbKaon()
                 Float_t GetProbProton()
                 Float_t GetSigElectron()
                 Float_t GetSigPion()
                 Float_t GetSigKaon()
                 Float_t GetSigProton()
                 Float_t GetXFirst(Int_t det)
                 Float_t GetYFirst(Int_t det)
                 Float_t GetZFirst(Int_t det)
                 Float_t GetXLast(Int_t det)
                 Float_t GetYLast(Int_t det)
                 Float_t GetZLast(Int_t det)
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void StreamerNVirtual(TBuffer& b)
         T49ParticleRoot T49ParticleRoot(const T49ParticleRoot&)
        T49ParticleRoot& operator=(const T49ParticleRoot&)


Last update: Thu Aug 17 15:28:52 2006


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.