#include "hgeantmdc.h"

HGeantMdc


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

class HGeantMdc : public HLinkedDataObject

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

    public:
HGeantMdc() HGeantMdc(HGeantMdc& aMdc) ~HGeantMdc() static TClass* Class() void getHit(Float_t& ax, Float_t& ay, Float_t& atof, Float_t& ptof) void getIncidence(Float_t& ath, Float_t& aph) Char_t getLayer() 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 HGeantMdc& operator=(const HGeantMdc&) void setAddress(Char_t s, Char_t m, Char_t l) void setHit(Float_t ax, Float_t ay, Float_t atof, Float_t ptof) 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 (1...N) 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 theta of hit (0-180 deg) in module coord. sys. Float_t phiHit phi of hit (0-360 deg) in module coord. sys. Float_t tofHit time of flight of hit (in ns) Float_t momHit total momentum of hitting particle (in MeV/c) Char_t sector sector number (0...5) Char_t module module number (0...3) Char_t layer layer number (0...6, layer 6 = central cathode)

Class Description


HGeantMdc(void)
 Default constructor.

HGeantMdc(HGeantMdc &aMdc)
 Copy constructor.

~HGeantMdc(void)
 Destructor.

void setHit(Float_t ax, Float_t ay, Float_t atof, Float_t ptof)
 Fill in basic hit data:
    - x,y coordinates in module frame (in mm)
    - time of flight from primary vertex to module (in ns)
    - momentum of particle when hitting the module (in MeV/c)

void setIncidence(Float_t ath, Float_t aph)
 Fill in angles of incidence on module (polar and azimuthal)
 in module coordinate system (in degrees).

void setAddress(Char_t s, Char_t m, Char_t l)
 Fill in hit location (sector, module, layer), all counting from 0.

void getHit(Float_t &ax, Float_t &ay, Float_t &atof, Float_t &ptof)
 Retrieve basic hit data (x,y,tof,momentum).

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

Int_t getLocationIndex(Int_t i)
 Retrieve hit location (sector, module, layer).

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



Inline Functions


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


Author: Romain Holzmann, GSI
Last update: 1/12/2000 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.