cluster Class Reference

#include <cluster.h>

Inherited by peakarea.

Inheritance diagram for cluster:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 11 of file cluster.h.

Public Member Functions

 cluster ()
 cluster (list< hit > hlist)
void ReInitialize (list< hit > hlist)
int GetNofHits ()
void GetHits (hit *phit, int n)
void GetHitList (list< hit > *plist)
hit GetMaxTower ()
hit GetImpactTower ()
float GetTowerEnergy (int ich)
float GetTowerToF (int ich)
float GetE9 (int ich)
float GetTotalEnergy ()
void GetMoments (float *pxcg, float *pycg, float *pxx, float *pxy, float *pyy)
void GetCorrPos (float *pxc, float *pyc)
void GetGlobalPos (float *pxg, float *pyg, float *pzg)
void GetErrors (float *pde, float *pdx, float *pdy, float *pdz)
void GetChar (float *pe, float *pxcg, float *pysg, float *pxc, float *pyc, float *pxg, float *pyg, float *pzg, float *pxx, float *pxy, float *pyy, float *pde, float *pdx, float *pdy, float *pdz)
int GetPeaks (peakarea *, hit *)

Protected Attributes

list< hitHitList


Constructor & Destructor Documentation

cluster::cluster  )  [inline]
 

Definition at line 15 of file cluster.h.

cluster::cluster list< hit hlist  )  [inline]
 

Definition at line 16 of file cluster.h.

References HitList.


Member Function Documentation

void cluster::GetChar float *  pe,
float *  pxcg,
float *  pysg,
float *  pxc,
float *  pyc,
float *  pxg,
float *  pyg,
float *  pzg,
float *  pxx,
float *  pxy,
float *  pyy,
float *  pde,
float *  pdx,
float *  pdy,
float *  pdz
 

Definition at line 439 of file cluster.cc.

References CalculateErrors(), CorrectPosition(), GetMoments(), GetTotalEnergy(), and SectorToGlobal().

void cluster::GetCorrPos float *  pxc,
float *  pyc
 

Definition at line 218 of file cluster.cc.

References CorrectPosition(), GetMoments(), and GetTotalEnergy().

Referenced by GetErrors(), GetGlobalPos(), and GetImpactTower().

float cluster::GetE9 int  ich  ) 
 

Definition at line 278 of file cluster.cc.

References EMCzSize, Hit_NCompare(), and HitList.

void cluster::GetErrors float *  pde,
float *  pdx,
float *  pdy,
float *  pdz
 

Definition at line 419 of file cluster.cc.

References CalculateErrors(), GetCorrPos(), and GetTotalEnergy().

void cluster::GetGlobalPos float *  pxg,
float *  pyg,
float *  pzg
 

Definition at line 228 of file cluster.cc.

References GetCorrPos(), and SectorToGlobal().

void cluster::GetHitList list< hit > *  plist  )  [inline]
 

Definition at line 20 of file cluster.h.

References HitList.

void cluster::GetHits hit phit,
int  n
 

Definition at line 363 of file cluster.cc.

References Hit_ACompare(), HitList, min, and ZeroVector().

hit cluster::GetImpactTower  ) 
 

Definition at line 316 of file cluster.cc.

References hit::amp, EMCySize, EMCzSize, GetCorrPos(), GetTowerEnergy(), GetTowerToF(), hit::ich, lowint, hit::tof, Tower_ySize, and Tower_zSize.

hit cluster::GetMaxTower  ) 
 

Definition at line 343 of file cluster.cc.

References hit::amp, HitList, hit::ich, and hit::tof.

void cluster::GetMoments float *  pxcg,
float *  pycg,
float *  pxx,
float *  pxy,
float *  pyy
 

Definition at line 387 of file cluster.cc.

References hit::amp, HitList, hit::ich, XABSURD, and YABSURD.

Referenced by peakarea::GetChar(), GetChar(), and GetCorrPos().

int cluster::GetNofHits  )  [inline]
 

Definition at line 18 of file cluster.h.

References HitList.

int cluster::GetPeaks peakarea ,
hit
 

Definition at line 645 of file cluster.cc.

References EMCzSize, Hit_NCompare(), HitList, MaxNofPeaks, MinPeakEnergy, and ratio().

float cluster::GetTotalEnergy  ) 
 

Definition at line 264 of file cluster.cc.

References HitList.

Referenced by peakarea::GetChar(), GetChar(), GetCorrPos(), and GetErrors().

float cluster::GetTowerEnergy int  ich  ) 
 

Definition at line 238 of file cluster.cc.

References HitList.

Referenced by GetImpactTower().

float cluster::GetTowerToF int  ich  ) 
 

Definition at line 251 of file cluster.cc.

References HitList.

Referenced by GetImpactTower().

void cluster::ReInitialize list< hit hlist  )  [inline]
 

Definition at line 17 of file cluster.h.

References HitList.

Referenced by Find_Clusters().


Member Data Documentation

list<hit> cluster::HitList [protected]
 

Definition at line 13 of file cluster.h.

Referenced by cluster(), peakarea::GetCGmin(), peakarea::GetChar(), peakarea::GetChi2(), GetE9(), peakarea::GetGammas(), GetHitList(), GetHits(), GetMaxTower(), GetMoments(), GetNofHits(), GetPeaks(), GetTotalEnergy(), GetTowerEnergy(), GetTowerToF(), and ReInitialize().


The documentation for this class was generated from the following files: