Cluster


class description - source file - inheritance tree

class Cluster : public TObject


    public:
Cluster Cluster() Cluster Cluster(Cluster&) virtual void ~Cluster() void AddHit(towerID* tower, IntObj* index, EDeposit* edep) void AddParticle(IntObj* part) TClass* Class() void Clean() Float_t GetClusterStartDepth() Float_t GetEnergy() Float_t GetEnergyPhi() Float_t GetEnergyPhiRMS() Float_t GetEnergyR() Float_t GetEnergyRRMS() Float_t GetEnergyTheta() Float_t GetEnergyThetaRMS() TObjArray* HitList() TObjArray* IndexList() virtual TClass* IsA() TObjArray* MCEList() TObjArray* McList() void SetUpCluster(Float_t energy, Float_t ePhi, Float_t eTheta, Float_t R, Float_t phiRMS, Float_t thetaRMS, Float_t RRms) virtual void ShowMembers(TMemberInspector& insp, char* parent) void Spew(FILE* ofile) virtual void Streamer(TBuffer& b)

Data Members

private:
Float_t m_energy cluster energy Float_t m_energyTheta cluster theta weighted by energy Float_t m_energyPhi cluster phi weighted by energy Float_t m_energyThetaRMS cluster theta RMSweighted by energy Float_t m_energyPhiRMS cluster phi RMS weighted by energy Float_t m_eRRMS Float_t m_eR IP to cluster Emax dist. Float_t m_clusterStartDepth radius where cluster goes above min-I TObjArray m_mcList list of indices of contributing MC particles. TObjArray m_IndexList list of indices to CalHit objects. Contents are TObjArray m_mcEList list of energy from contributing MC particles. TObjArray m_hitList list of constituent towers. Contents are towerID

Class Description

 Cluster

 The Cluster class is used to extract cluster information from
 the GISMO ascii output file.



Cluster():m_energy(0),m_energyTheta(0),m_energyPhi(0),m_energyThetaRMS(0),m_energyPhiRMS(0),m_eR(0),m_eRRMS(0),m_clusterStartDepth(0)
 Default constructor

~Cluster()
 Destructor

void Clean()
 This function cleans up all the TObjArrays

Float_t GetEnergy()
 Returns the total energy in the cluster

Float_t GetEnergyTheta()
 Returns the energy weighted theta average of the cluster

Float_t GetEnergyPhi()
 Retruns the energy weighted phi average of the cluster

Float_t GetEnergyR()

Float_t GetEnergyThetaRMS()

Float_t GetEnergyPhiRMS()

Float_t GetEnergyRRMS()

Float_t GetClusterStartDepth()
 Returns the depth where the cluster energy goes above min-I

void SetUpCluster(Float_t energy,Float_t ePhi,Float_t eTheta, Float_t R,Float_t phiRMS,Float_t thetaRMS,Float_t RRms)
 Set the clusters attributes

void AddHit(towerID* tower,IntObj* index,EDeposit* edep)
 Add a hit to the cluster

void AddParticle(IntObj* part)
 Add a particle to the cluster

void Spew(FILE* ofile)
 This is the output function



Inline Functions


         TObjArray* McList()
         TObjArray* IndexList()
         TObjArray* HitList()
         TObjArray* MCEList()
            TClass* Class()
            TClass* IsA()
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
            Cluster Cluster(Cluster&)


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.