CalHit


class description - source file - inheritance tree

class CalHit : public TObject


    public:
CalHit CalHit() CalHit CalHit(towerID* tower) CalHit CalHit(CalHit&) virtual void ~CalHit() Float_t AddE(Float_t hit) void AddHit(EDeposit* edep) TClass* Class() void Clean() Float_t GetcosTheta() Float_t GetcosThetaSeg() Float_t GetEscale() Float_t GetEtot() Float_t GetEtotRaw() TObjArray* GetMCE() Float_t Getphi() Float_t GetphiSeg() towerID* GetTower() virtual TClass* IsA() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

private:
Float_t m_Etot Total energy deposited in calorimeter tower towerID* m_tower TowerID tag TObjArray m_MCE List of particles and their energy contributions public:
static Float_t* energyScale energy scale factor static Float_t* cosThetaSeg segmentation in cos(theta) static Float_t* phiSeg segementation in phi

Class Description

 CalHit
 The CalHit class contains the information about a single calorimeter
 tower. This includes the towerID tag, the total energy in the tower,
 and the list of particles which deposited energy in the tower and how
 much energy they deposited.



CalHit()
 Default constructor

CalHit(towerID* tower)
 Create a CalHit object with towerID of tower

~CalHit()
 Destructor, calls Clean to remove TObjArrays.

void Clean()
 Make sure there are no memory leaks

Float_t AddE(Float_t hit)
 Function to increment the total energy in the tower
 and return the new total

void AddHit(EDeposit* EDep)
 Add a hit to the list
  AddE(EDep->GetEDeposit());

Float_t GetEscale()
 get energy scale factor

Float_t GetcosThetaSeg()
 get segementation in cos(theta)

Float_t GetphiSeg()
 get segementation in phi

Float_t GetEtot()
 get total energy in GeV

Float_t GetcosTheta()
 convert bin to polar angle

Float_t Getphi()
 convert bin to azimuthal angle



Inline Functions


            Float_t GetEtotRaw()
         TObjArray* GetMCE()
           towerID* GetTower()
            TClass* Class()
            TClass* IsA()
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
             CalHit CalHit(CalHit&)


ROOT page - Class index - 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.