EmcPeakarea Class Reference
[Tower clustering]

#include <EmcCluster.h>

Inherits EmcCluster.

Inheritance diagram for EmcPeakarea:

Inheritance graph
[legend]
List of all members.

Detailed Description

The 2-d level of the EMCal clustering.

Every local maximum in cluster gives peakarea.

Definition at line 227 of file EmcCluster.h.

Public Member Functions

 EmcPeakarea ()
 Constructor (zero Hit List).
 EmcPeakarea (EmcSectorRec *sector)
 EmcPeakarea (const std::vector< EmcModule > &hlist, EmcSectorRec *sector)
 Constructor (inputs Hit List).
virtual ~EmcPeakarea ()
float GetChi2 ()
 Returns Chi2.
float GetChi2New ()
int GetNdf () const
float GetCL () const
float GetCLNew ()
void GetCGmin (float *pxcgmin, float *pycgmin)
 Returns peakarea's 1st momentum (COG) after Shower Shape fit.
void GetChar (float *pe, float *pec, float *pecore, float *pecorec, float *pxcg, float *pysg, float *pxcgmin, float *pysgmin, float *pxc, float *pyc, float *pxg, float *pyg, float *pzg, float *pxx, float *pxy, float *pyy, float *pchi, float *pde, float *pdx, float *pdy, float *pdz)
 Substitutes a number of functions above (to save CPU time).
int GetGammas (EmcEmshower *)
 Splits the peakarea onto 1 or 2 EmcEmshower's.

Protected Attributes

int fNdf
float fCL


Constructor & Destructor Documentation

EmcPeakarea::EmcPeakarea  )  [inline]
 

Constructor (zero Hit List).

Definition at line 233 of file EmcCluster.h.

EmcPeakarea::EmcPeakarea EmcSectorRec sector  )  [inline]
 

Definition at line 236 of file EmcCluster.h.

EmcPeakarea::EmcPeakarea const std::vector< EmcModule > &  hlist,
EmcSectorRec sector
[inline]
 

Constructor (inputs Hit List).

Definition at line 243 of file EmcCluster.h.

virtual EmcPeakarea::~EmcPeakarea  )  [inline, virtual]
 

Definition at line 248 of file EmcCluster.h.


Member Function Documentation

void EmcPeakarea::GetCGmin float *  pxcgmin,
float *  pycgmin
 

Returns peakarea's 1st momentum (COG) after Shower Shape fit.

Definition at line 1079 of file EmcCluster.cxx.

References EmcCluster::fgChisq, EmcCluster::fgXABSURD, EmcCluster::fgYABSURD, EmcCluster::fHitList, fNdf, EmcCluster::fOwner, EmcSectorRec::Gamma(), EmcSectorRec::GetModSizex(), and EmcSectorRec::GetModSizey().

void EmcPeakarea::GetChar float *  pe,
float *  pec,
float *  pecore,
float *  pecorec,
float *  pxcg,
float *  pysg,
float *  pxcgmin,
float *  pysgmin,
float *  pxc,
float *  pyc,
float *  pxg,
float *  pyg,
float *  pzg,
float *  pxx,
float *  pxy,
float *  pyy,
float *  pchi,
float *  pde,
float *  pdx,
float *  pdy,
float *  pdz
 

Substitutes a number of functions above (to save CPU time).

Definition at line 844 of file EmcCluster.cxx.

References EmcSectorRec::CalculateErrors(), EmcSectorRec::Chi2Correct(), EmcSectorRec::CorrectECore(), EmcSectorRec::CorrectEnergy(), EmcSectorRec::CorrectPosition(), fCL, EmcCluster::fgChisq, EmcCluster::fHitList, fNdf, EmcCluster::fOwner, EmcSectorRec::Gamma(), EmcCluster::GetECore(), EmcSectorRec::GetModSizex(), EmcSectorRec::GetModSizey(), EmcCluster::GetMoments(), EmcCluster::GetTotalEnergy(), and EmcSectorRec::SectorToGlobal().

Referenced by mEmcClusterizerv0::fillPeakArea().

float EmcPeakarea::GetChi2  ) 
 

Returns Chi2.

Definition at line 905 of file EmcCluster.cxx.

References EmcSectorRec::Chi2Correct(), EmcCluster::fgChisq, EmcCluster::fHitList, fNdf, EmcCluster::fOwner, and EmcSectorRec::Gamma().

float EmcPeakarea::GetChi2New  ) 
 

Definition at line 1009 of file EmcCluster.cxx.

References EmcCluster::ABS(), EmcCluster::fOwner, EmcSectorRec::GetModSizex(), EmcSectorRec::GetModSizey(), EmcCluster::GetMoments(), EmcCluster::GetTotalEnergy(), and EmcCluster::GetTowerEnergy().

float EmcPeakarea::GetCL  )  const [inline]
 

Definition at line 259 of file EmcCluster.h.

References fCL.

Referenced by mEmcClusterizerv0::fillPeakArea().

float EmcPeakarea::GetCLNew  ) 
 

Definition at line 938 of file EmcCluster.cxx.

References EmcCluster::ABS(), EmcCluster::fOwner, EmcSectorRec::GetModSizex(), EmcSectorRec::GetModSizey(), EmcCluster::GetMoments(), EmcCluster::GetTotalEnergy(), and EmcCluster::GetTowerEnergy().

int EmcPeakarea::GetGammas EmcEmshower  ) 
 

Splits the peakarea onto 1 or 2 EmcEmshower's.

Definition at line 1115 of file EmcCluster.cxx.

References EmcSectorRec::Chi2Correct(), EmcSectorRec::Chi2Limit(), EmcCluster::fgXABSURD, EmcCluster::fgYABSURD, EmcCluster::fHitList, EmcCluster::fOwner, EmcSectorRec::Gamma(), EmcSectorRec::GetModSizex(), EmcSectorRec::GetModSizey(), and EmcEmshower::ReInitialize().

int EmcPeakarea::GetNdf  )  const [inline]
 

Definition at line 254 of file EmcCluster.h.

References fNdf.


Member Data Documentation

float EmcPeakarea::fCL [protected]
 

Definition at line 285 of file EmcCluster.h.

Referenced by GetChar(), and GetCL().

int EmcPeakarea::fNdf [protected]
 

Definition at line 284 of file EmcCluster.h.

Referenced by GetCGmin(), GetChar(), GetChi2(), and GetNdf().


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