#include "hgeantrich.h"

HGeantRichDirect


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

class HGeantRichDirect : public HLinkedDataObject

Inheritance Chart:
TObject
<-
HLocatedDataObject
<-
HLinkedDataObject
<-
HGeantRichDirect

    public:
HGeantRichDirect() HGeantRichDirect(const HGeantRichDirect& source) ~HGeantRichDirect() static TClass* Class() void getELoss(Float_t& ade, Float_t& alen) Float_t getEnergyLoss() void getHit(Float_t& ax, Float_t& ay, Float_t& az) virtual Int_t getLocationIndex(Int_t i) void getMomentum(Float_t& aMom, Float_t& aTheta, Float_t& aPhi) virtual Int_t getNLocationIndex() Int_t getNumPhot() Float_t getPhi() Int_t getSector() Float_t getTheta() void getTrack(Int_t& aTrack, Int_t& aID) virtual Int_t getTrack() Float_t getTrackLengthInPhotDet() Float_t getX() Float_t getY() virtual TClass* IsA() const HGeantRichDirect& operator=(const HGeantRichDirect&) void setAddress(Char_t s) void setELoss(Float_t ae, Float_t alen) void setHit(Float_t ax, Float_t ay, Float_t az) void setMomentum(Float_t aMom, Float_t aTheta, Float_t aPhi) void setNumPhot(Int_t num) void setTrack(Int_t aTrack, Int_t aID) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t trackNumber GEANT track number of particle Float_t xHit x of hit (in mm) in pad plane Float_t yHit y of hit (in mm) in pad plane Float_t zHit z of hit (in mm) in pad plane Int_t particleID GEANT particle ID Float_t momentum total momentum of particle (in MeV/c) Float_t thetaHit theta of incidence (0-180 deg) Float_t phiHit azimuthal angle (0-360 deg) Float_t eLoss energy loss (in MeV) Float_t trackLength track length in gas detector (in mm) Char_t sector sector number (0...5) Int_t numPhot dummy (not used)

Class Description


HGeantRichDirect()
 Default constructor.

HGeantRichDirect(const HGeantRichDirect &source)
 Copy constructor.

~HGeantRichDirect()
 Destructor.

void setTrack(Int_t aTrack, Int_t aID)
 Set track number and particle id.

void setHit(Float_t ax, Float_t ay, Float_t az)
 Set hit location: x,x and z (in mm)

void setMomentum(Float_t amom, Float_t ath, Float_t aph)
 Set momentum and incidence angles.

void setELoss(Float_t ael, Float_t alen)
 Set energy loss and track length.

void getTrack(Int_t &aTrack, Int_t &aID)
 Retrieve track number and particle id.

void getHit(Float_t &ax, Float_t &ay, Float_t &az)
 Retrieve hit location.

void getMomentum(Float_t &amom, Float_t &ath, Float_t &aph)
 Retrieve momentum and angles of incidence.

void getELoss(Float_t &ael, Float_t &alen)
 Retrieve energy loss and track length.



Inline Functions


                     void setAddress(Char_t s)
                     void setNumPhot(Int_t num)
                    Int_t getTrack()
                  Float_t getX()
                  Float_t getY()
                  Float_t getTheta()
                  Float_t getPhi()
                  Float_t getEnergyLoss()
                  Float_t getTrackLengthInPhotDet()
                    Int_t getSector()
                    Int_t getNLocationIndex()
                    Int_t getLocationIndex(Int_t i)
                    Int_t getNumPhot()
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
        HGeantRichDirect& operator=(const HGeantRichDirect&)


Author: Romain Holzmann (r.holzmann@gsi.de)
Last update: 1999/10/07 by Witold Przygoda (przygoda@psja1.if.uj.edu.pl)
Copyright GSI, Darmstadt


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.