Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CalCluster Class Reference

Root object that stores a cluster of CsI detections. More...

#include <CalCluster.h>

Inheritance diagram for CalCluster:

TObject List of all members.

Public Methods

 CalCluster (Int_t index=0)
 class constructor.

virtual ~CalCluster ()
 destructor. More...

void Clean ()
 frees dynamically allocated memory. More...

void Create ()
 allocates memory as necessary. More...

void setEsum (Float_t ene)
 Access energy sum. More...

Float_t getEsum ()
void setEcorr (Float_t ene)
 Access corrected energy. More...

Float_t getEcorr ()
void setEleak (Float_t ene)
 Access leaking energy. More...

Float_t getEleak ()
TVector3* getPosition ()
 Access energy-weighted center of the cluster. More...

void setPosition (TVector3 *p)
void setPosition (Double_t x, Double_t y, Double_t z)
TVector3* getDirection ()
 Access the direction. More...

void setDirection (TVector3 *d)
void setDirection (Double_t x, Double_t y, Double_t z)
Float_t getCsiAlpha ()
 Access to profile fitting parameters. More...

Float_t getCsiLambda ()
Float_t getCsiStart ()
Float_t getProfChisq ()
Float_t getFitEnergy ()
void setCsiAlpha (Float_t a)
void setCsiLambda (Float_t l)
void setCsiStart (Float_t s)
void setFitEnergy (Float_t e)
void setProfChisq (Float_t c)
const TArrayF& getXLayer () const
 Access all X positions within a layer. More...

Float_t getXLayer (int i)
 Access a specific X position within a layer. More...

const TArrayF& getYLayer () const
 Access all Y positions within a layer. More...

Float_t getYLayer (int i)
 Access a specific Y position within a layer. More...

const TArrayF& getEneLayer () const
 Access all energy depositions within a layer. More...

Float_t getEneLayer (int i)
 Access a specific energy within a layer. More...

void setEneLayer (int i,Float_t e)
void setXLayer (int i,Float_t x)
void setYLayer (int i,Float_t y)
TObjArray* getCalLog ()
 Access the list of logs associated with this cluster. More...

Int_t getId ()
 Access the ID of this cluster. More...

void setId (Int_t id)
 Set the ID of this cluster. More...


Private Attributes

Float_t m_Esum
 sum of logs. More...

Float_t m_Ecorr
 corrected energy. More...

Float_t m_Eleak
 energy corrected for leakage ( valid at high energies). More...

TArrayF m_eneLayer
 energy per layer. More...

TArrayF m_xposLayer
 x pos for each layer. More...

TArrayF m_yposLayer
 y position for each layer. More...

Float_t m_CsiAlpha
 alpha parameter used for the fit. More...

Float_t m_CsiLambda
 lambda parameter used for the fit. More...

Float_t m_fitEnergy
 Fitted energy. More...

Float_t m_ProfChisq
 Chi square of profile fitting. More...

Float_t m_start
 starting point of the shower. More...

Int_t m_id
TVector3* m_position
 energy-weighted center of gravity of the cluster. More...

TVector3* m_direction
 direction of the cluster (Px/P, Py/P, Pz/P). More...

TObjArray* m_calLogs
 list of CalLogEne used in this cluster. More...


Detailed Description

Root object that stores a cluster of CsI detections.

Provides access to the positions and energy depositions for a cluster of CsI logs

Definition at line 13 of file CalCluster.h.


Constructor & Destructor Documentation

CalCluster::CalCluster ( Int_t index = 0 )
 

class constructor.

CalCluster::~CalCluster ( ) [virtual]
 

destructor.

Definition at line 26 of file CalCluster.cxx.


Member Function Documentation

void CalCluster::Clean ( )
 

frees dynamically allocated memory.

Definition at line 30 of file CalCluster.cxx.

Referenced by ~CalCluster().

void CalCluster::Create ( )
 

allocates memory as necessary.

Definition at line 63 of file CalCluster.cxx.

Referenced by ClassImp().

TObjArray * CalCluster::getCalLog ( ) [inline]
 

Access the list of logs associated with this cluster.

Definition at line 131 of file CalCluster.h.

Float_t CalCluster::getCsiAlpha ( ) [inline]
 

Access to profile fitting parameters.

Definition at line 98 of file CalCluster.h.

Float_t CalCluster::getCsiLambda ( ) [inline]
 

Definition at line 99 of file CalCluster.h.

Float_t CalCluster::getCsiStart ( ) [inline]
 

Definition at line 100 of file CalCluster.h.

TVector3 * CalCluster::getDirection ( ) [inline]
 

Access the direction.

Definition at line 93 of file CalCluster.h.

Float_t CalCluster::getEcorr ( ) [inline]
 

Definition at line 79 of file CalCluster.h.

Float_t CalCluster::getEleak ( ) [inline]
 

Definition at line 83 of file CalCluster.h.

Float_t CalCluster::getEneLayer ( int i ) [inline]
 

Access a specific energy within a layer.

Definition at line 124 of file CalCluster.h.

const TArrayF & CalCluster::getEneLayer ( ) const [inline]
 

Access all energy depositions within a layer.

Definition at line 122 of file CalCluster.h.

Float_t CalCluster::getEsum ( ) [inline]
 

Definition at line 75 of file CalCluster.h.

Float_t CalCluster::getFitEnergy ( ) [inline]
 

Definition at line 102 of file CalCluster.h.

Int_t CalCluster::getId ( ) [inline]
 

Access the ID of this cluster.

Definition at line 134 of file CalCluster.h.

TVector3 * CalCluster::getPosition ( ) [inline]
 

Access energy-weighted center of the cluster.

Definition at line 88 of file CalCluster.h.

Float_t CalCluster::getProfChisq ( ) [inline]
 

Definition at line 101 of file CalCluster.h.

Float_t CalCluster::getXLayer ( int i ) [inline]
 

Access a specific X position within a layer.

Definition at line 115 of file CalCluster.h.

const TArrayF & CalCluster::getXLayer ( ) const [inline]
 

Access all X positions within a layer.

Definition at line 113 of file CalCluster.h.

Float_t CalCluster::getYLayer ( int i ) [inline]
 

Access a specific Y position within a layer.

Definition at line 119 of file CalCluster.h.

const TArrayF & CalCluster::getYLayer ( ) const [inline]
 

Access all Y positions within a layer.

Definition at line 117 of file CalCluster.h.

void CalCluster::setCsiAlpha ( Float_t a ) [inline]
 

Definition at line 104 of file CalCluster.h.

void CalCluster::setCsiLambda ( Float_t l ) [inline]
 

Definition at line 105 of file CalCluster.h.

void CalCluster::setCsiStart ( Float_t s ) [inline]
 

Definition at line 106 of file CalCluster.h.

void CalCluster::setDirection ( Double_t x,
Double_t y,
Double_t z ) [inline]
 

Definition at line 95 of file CalCluster.h.

void CalCluster::setDirection ( TVector3 * d ) [inline]
 

Definition at line 94 of file CalCluster.h.

void CalCluster::setEcorr ( Float_t ene ) [inline]
 

Access corrected energy.

Definition at line 78 of file CalCluster.h.

void CalCluster::setEleak ( Float_t ene ) [inline]
 

Access leaking energy.

Definition at line 82 of file CalCluster.h.

void CalCluster::setEneLayer ( int i,
Float_t e ) [inline]
 

Definition at line 126 of file CalCluster.h.

void CalCluster::setEsum ( Float_t ene ) [inline]
 

Access energy sum.

Definition at line 74 of file CalCluster.h.

void CalCluster::setFitEnergy ( Float_t e ) [inline]
 

Definition at line 107 of file CalCluster.h.

void CalCluster::setId ( Int_t id ) [inline]
 

Set the ID of this cluster.

Definition at line 136 of file CalCluster.h.

void CalCluster::setPosition ( Double_t x,
Double_t y,
Double_t z ) [inline]
 

Definition at line 90 of file CalCluster.h.

void CalCluster::setPosition ( TVector3 * p ) [inline]
 

Definition at line 89 of file CalCluster.h.

void CalCluster::setProfChisq ( Float_t c ) [inline]
 

Definition at line 108 of file CalCluster.h.

void CalCluster::setXLayer ( int i,
Float_t x ) [inline]
 

Definition at line 127 of file CalCluster.h.

void CalCluster::setYLayer ( int i,
Float_t y ) [inline]
 

Definition at line 128 of file CalCluster.h.


Member Data Documentation

Float_t CalCluster::m_CsiAlpha [private]
 

alpha parameter used for the fit.

Definition at line 36 of file CalCluster.h.

Float_t CalCluster::m_CsiLambda [private]
 

lambda parameter used for the fit.

Definition at line 38 of file CalCluster.h.

Float_t CalCluster::m_Ecorr [private]
 

corrected energy.

Definition at line 21 of file CalCluster.h.

Float_t CalCluster::m_Eleak [private]
 

energy corrected for leakage ( valid at high energies).

Definition at line 24 of file CalCluster.h.

Float_t CalCluster::m_Esum [private]
 

sum of logs.

Definition at line 18 of file CalCluster.h.

Float_t CalCluster::m_ProfChisq [private]
 

Chi square of profile fitting.

Definition at line 44 of file CalCluster.h.

TObjArray * CalCluster::m_calLogs [private]
 

list of CalLogEne used in this cluster.

Definition at line 57 of file CalCluster.h.

TVector3 * CalCluster::m_direction [private]
 

direction of the cluster (Px/P, Py/P, Pz/P).

Definition at line 54 of file CalCluster.h.

TArrayF CalCluster::m_eneLayer [private]
 

energy per layer.

Definition at line 28 of file CalCluster.h.

Float_t CalCluster::m_fitEnergy [private]
 

Fitted energy.

Definition at line 41 of file CalCluster.h.

Int_t CalCluster::m_id [private]
 

Definition at line 49 of file CalCluster.h.

TVector3 * CalCluster::m_position [private]
 

energy-weighted center of gravity of the cluster.

Definition at line 52 of file CalCluster.h.

Float_t CalCluster::m_start [private]
 

starting point of the shower.

Definition at line 47 of file CalCluster.h.

TArrayF CalCluster::m_xposLayer [private]
 

x pos for each layer.

Definition at line 30 of file CalCluster.h.

TArrayF CalCluster::m_yposLayer [private]
 

y position for each layer.

Definition at line 32 of file CalCluster.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 14 20:41:51 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000