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 GetEtot() TObjArray* GetMCE() 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

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());



Inline Functions


            Float_t GetEtot()
         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.