EmcEmshower Class Reference
[Tower clustering]

#include <EmcCluster.h>

List of all members.


Detailed Description

The 3-d level of the EMCal clustering: peakarea with bad Chi2 is splitted onto two EmcEmshowers.

Definition at line 295 of file EmcCluster.h.

Public Member Functions

 EmcEmshower ()
 Constructor (with energy and position zeroed).
 EmcEmshower (EmcSectorRec *sector)
 EmcEmshower (float e, float x, float y, float chi, int ndf, EmcSectorRec *sector)
 Constructor (inputs energy, position and Chi2).
void ReInitialize (float e, float x, float y, float chi, int ndf)
 Reinitializes EmcEmshower.
float GetTotalEnergy ()
 Returns EmcEmshower total energy.
void GetCG (float *px, float *py)
 Returns EmcEmshower 1-at momentum (Center of Gravity).
void GetCorrPos (float *, float *)
 Returns EmcEmshower corrected position in Sector (SM) frame.
void GetGlobalPos (float *, float *, float *)
 Returns EmcEmshower position in PHENIX global coord system.
float GetChi2 () const
 Returns EmcEmshower Chi2.
float GetCL () const
 Returns CL.
void GetErrors (float *pde, float *pdx, float *pdy, float *pdz)
 Returns the errors for the reconstructed energy and position.
void GetChar (float *pe, float *pxcg, float *pysg, float *pxc, float *pyc, float *pxg, float *pyg, float *pzg, float *pchi, float *pde, float *pdx, float *pdy, float *pdz)
 Substitutes a number of functions above (to save CPU time).

Protected Attributes

EmcSectorRecfOwner
int fNdf
float fCL
float fEnergy
float fXcg
float fYcg
float fChisq


Constructor & Destructor Documentation

EmcEmshower::EmcEmshower  ) 
 

Constructor (with energy and position zeroed).

Definition at line 1180 of file EmcCluster.cxx.

EmcEmshower::EmcEmshower EmcSectorRec sector  ) 
 

Definition at line 1191 of file EmcCluster.cxx.

EmcEmshower::EmcEmshower float  e,
float  x,
float  y,
float  chi,
int  ndf,
EmcSectorRec sector
 

Constructor (inputs energy, position and Chi2).

Definition at line 1203 of file EmcCluster.cxx.


Member Function Documentation

void EmcEmshower::GetCG float *  px,
float *  py
[inline]
 

Returns EmcEmshower 1-at momentum (Center of Gravity).

Definition at line 325 of file EmcCluster.h.

References fXcg, and fYcg.

Referenced by GetChar().

void EmcEmshower::GetChar float *  pe,
float *  pxcg,
float *  pysg,
float *  pxc,
float *  pyc,
float *  pxg,
float *  pyg,
float *  pzg,
float *  pchi,
float *  pde,
float *  pdx,
float *  pdy,
float *  pdz
 

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

Definition at line 1248 of file EmcCluster.cxx.

References EmcSectorRec::CalculateErrors(), EmcSectorRec::Chi2Correct(), EmcSectorRec::CorrectPosition(), fChisq, fCL, fNdf, fOwner, GetCG(), GetTotalEnergy(), and EmcSectorRec::SectorToGlobal().

float EmcEmshower::GetChi2  )  const [inline]
 

Returns EmcEmshower Chi2.

Definition at line 338 of file EmcCluster.h.

References fChisq.

float EmcEmshower::GetCL  )  const [inline]
 

Returns CL.

Definition at line 344 of file EmcCluster.h.

References fCL.

void EmcEmshower::GetCorrPos float *  ,
float * 
 

Returns EmcEmshower corrected position in Sector (SM) frame.

Definition at line 1216 of file EmcCluster.cxx.

References EmcSectorRec::CorrectPosition(), fEnergy, fOwner, fXcg, and fYcg.

Referenced by GetErrors(), and GetGlobalPos().

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

Returns the errors for the reconstructed energy and position.

Definition at line 1236 of file EmcCluster.cxx.

References EmcSectorRec::CalculateErrors(), fOwner, GetCorrPos(), and GetTotalEnergy().

void EmcEmshower::GetGlobalPos float *  ,
float *  ,
float * 
 

Returns EmcEmshower position in PHENIX global coord system.

Definition at line 1224 of file EmcCluster.cxx.

References fOwner, GetCorrPos(), and EmcSectorRec::SectorToGlobal().

float EmcEmshower::GetTotalEnergy  )  [inline]
 

Returns EmcEmshower total energy.

Definition at line 319 of file EmcCluster.h.

References fEnergy.

Referenced by GetChar(), and GetErrors().

void EmcEmshower::ReInitialize float  e,
float  x,
float  y,
float  chi,
int  ndf
[inline]
 

Reinitializes EmcEmshower.

Definition at line 309 of file EmcCluster.h.

References fChisq, fEnergy, fNdf, fXcg, and fYcg.

Referenced by EmcPeakarea::GetGammas().


Member Data Documentation

float EmcEmshower::fChisq [protected]
 

Definition at line 369 of file EmcCluster.h.

Referenced by GetChar(), GetChi2(), and ReInitialize().

float EmcEmshower::fCL [protected]
 

Definition at line 365 of file EmcCluster.h.

Referenced by GetChar(), and GetCL().

float EmcEmshower::fEnergy [protected]
 

Definition at line 366 of file EmcCluster.h.

Referenced by GetCorrPos(), GetTotalEnergy(), and ReInitialize().

int EmcEmshower::fNdf [protected]
 

Definition at line 364 of file EmcCluster.h.

Referenced by GetChar(), and ReInitialize().

EmcSectorRec* EmcEmshower::fOwner [protected]
 

Definition at line 363 of file EmcCluster.h.

Referenced by GetChar(), GetCorrPos(), GetErrors(), and GetGlobalPos().

float EmcEmshower::fXcg [protected]
 

Definition at line 367 of file EmcCluster.h.

Referenced by GetCG(), GetCorrPos(), and ReInitialize().

float EmcEmshower::fYcg [protected]
 

Definition at line 368 of file EmcCluster.h.

Referenced by GetCG(), GetCorrPos(), and ReInitialize().


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