#include "hgeantshower.h"

HGeantShower


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

class HGeantShower : public HLinkedDataObject

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

    public:
HGeantShower() HGeantShower(HGeantShower& aShower) ~HGeantShower() static TClass* Class() void getHit(Float_t& ae, Float_t& ax, Float_t& ay, Float_t& abeta) void getIncidence(Float_t& ath, Float_t& aph) virtual Int_t getLocationIndex(Int_t i) Char_t getModule() virtual Int_t getNLocationIndex() Char_t getSector() virtual Int_t getTrack() virtual TClass* IsA() const HGeantShower& operator=(const HGeantShower&) void setAddress(Char_t s, Char_t m) void setHit(Float_t ae, Float_t ax, Float_t ay, Float_t abeta) void setIncidence(Float_t ath, Float_t aph) void setTrack(Int_t aTrack) 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 Float_t eHit energy deposited (in MeV) Float_t xHit x of hit (in mm) in module coord. system Float_t yHit y of hit (in mm) in module coord. system Float_t thetaHit angle of incidence (0-180 deg) Float_t phiHit azimuthal angle (0-360 deg) Float_t betaHit beta of particle (=momentum/energy) Char_t sector sector number (0...5) Char_t module module number (0...2)

Class Description


HGeantShower(void)
 Default constructor.

HGeantShower(HGeantShower &aShower)
 Copy constructor.

~HGeantShower(void)
 Destructor.

void setHit(Float_t ae, Float_t ax, Float_t ay, Float_t abeta)
 Fill in basic hit data:
    - energy in MeV
    - x,y in module coordinate system (in mm)
    - beta of particle

void setIncidence(Float_t ath, Float_t aph)
 Fill in angles of incidence (that and phi in degrees).

void setAddress(Char_t s, Char_t m)
 Fill in hit location (sector and module number)

void getHit(Float_t &ae, Float_t &ax, Float_t &ay, Float_t &at)
 Retrieve basic hit data: energy, x, y, and beta

void getIncidence(Float_t &ath, Float_t &aph)
 Retrieve angles of incidence: theta and phi

Int_t getLocationIndex(Int_t i)
 Retrieve location indices



Inline Functions


                 void setTrack(Int_t aTrack)
                Int_t getTrack()
               Char_t getSector()
               Char_t getModule()
                Int_t getNLocationIndex()
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
        HGeantShower& operator=(const HGeantShower&)


Author: Jacek Otwinowski, Krakow
Last update: 21/11/1998 by Romain Holzmann
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.