#include <EmcCluster.h>
Inherited by EmcPeakarea.
Inheritance diagram for EmcCluster:

Only used internally by clustering routines.
Definition at line 54 of file EmcCluster.h.
Public Member Functions | |
| EmcCluster () | |
| Constructor (zero Hit List). | |
| EmcCluster (EmcSectorRec *sector) | |
| EmcCluster (const std::vector< EmcModule > &hlist, EmcSectorRec *sector) | |
| Constructor (inputs Hit List). | |
| virtual | ~EmcCluster () |
| void | ReInitialize (const std::vector< EmcModule > &hlist) |
| Reinitializes EmcCluster supplying new Hit List. | |
| int | GetNofHits () |
| Returns number of EmcModules in EmcCluster. | |
| void | GetHits (EmcModule *phit, int n) |
| Returns n EmcModules (sorted) with the maximum energy. | |
| void | GetHitList (std::vector< EmcModule > *&plist) |
| Returns EmcCluster fHitList. | |
| EmcModule | GetMaxTower () |
| Returns the EmcModule with the maximum energy. | |
| EmcModule | GetImpactTower () |
| Returns the EmcModule corresponding to the reconstructed impact tower. | |
| float | GetTowerEnergy (int ich) |
| Returns the energy of the ich-tower (numbering from 0). | |
| float | GetTowerEnergy (int ix, int iy) |
| Returns the energy of the tower ix,iy (numbering from 0). | |
| float | GetTowerToF (int ich) |
| Returns the ToF of the ich-tower (numbering from 0). | |
| int | GetTowerDeadMap (int ich) |
| Returns the Dead Map of the ich-tower (numbering from 0). | |
| int | GetTowerWarnMap (int ich) |
| Returns the Warning Map of the ich-tower (numbering from 0). | |
| float | GetTowerADC (int ich) |
| float | GetTowerTAC (int ich) |
| int | GetNDead () |
| Returns the number of dead channels around MaxTower. | |
| int | GetDeadMap () |
| int | GetWarnMap () |
| float | GetE4 () |
| Returns the energy in 2x2 towers around the cluster Center of Gravity. | |
| float | GetE9 () |
| Returns the energy in 3x3 towers around the cluster Center of Gravity. | |
| float | GetE9 (int ich) |
| Returns the energy in 3x3 towers around the tower ich. | |
| float | GetECore () |
| Returns the cluster energy taking into account towers with E>Ethresh. | |
| float | GetTotalEnergy () |
| Returns the EmcCluster total energy. | |
| void | GetMoments (float *pxcg, float *pycg, float *pxx, float *pxy, float *pyy) |
| Returns EmcCluster 1-st (pxcg,pycg) and 2-d momenta (pxx,pxy,pyy). | |
| void | GetCorrPos (float *pxc, float *pyc) |
| Returns the EmcCluster corrected position in Sector (SM) frame. | |
| void | GetGlobalPos (float *pxg, float *pyg, float *pzg) |
| Returns the EmcCluster position in PHENIX global coord system. | |
| 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 *pxx, float *pxy, float *pyy, float *pde, float *pdx, float *pdy, float *pdz) |
| Substitutes a number of functions above (to save CPU time). | |
| int | GetPeaks (EmcPeakarea *, EmcModule *) |
| Splits the EmcCluster onto peakarea's; also returns peak tower array corresponding to peakarea array. | |
Static Public Member Functions | |
| static int | max (int a, int b) |
| static float | max (float a, float b) |
| static double | max (double a, double b) |
| static int | min (int a, int b) |
| static float | min (float a, float b) |
| static double | min (double a, double b) |
| static int | ABS (int x) |
| static float | ABS (float x) |
| static double | ABS (double x) |
| static int | lowint (float x) |
Protected Attributes | |
| std::vector< EmcModule > | fHitList |
| EmcSectorRec * | fOwner |
Static Protected Attributes | |
| static int const | fgMaxNofPeaks = 10 |
| static int const | fgPeakIter = 6 |
| static float const | fgEmin = 0.002 |
| static float const | fgChisq = 3. |
| static float const | fgXABSURD = -999999. |
| static float const | fgYABSURD = -999999. |
|
|
Constructor (zero Hit List).
Definition at line 60 of file EmcCluster.h. |
|
|
Definition at line 63 of file EmcCluster.h. |
|
||||||||||||
|
Constructor (inputs Hit List).
Definition at line 69 of file EmcCluster.h. References fHitList. |
|
|
Definition at line 78 of file EmcCluster.h. |
|
|
Definition at line 208 of file EmcCluster.h. |
|
|
Definition at line 204 of file EmcCluster.h. |
|
|
Definition at line 200 of file EmcCluster.h. Referenced by EmcScSectorRec::CorrectPosition(), EmcSectorRec::Gamma(), EmcPeakarea::GetChi2New(), EmcPeakarea::GetCLNew(), EmcScSectorRec::PredictEnergy(), EmcScSectorRec::SetProfileParameters(), and EmcScSectorRec::TwoGamma(). |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Substitutes a number of functions above (to save CPU time).
Definition at line 526 of file EmcCluster.cxx. References EmcSectorRec::CalculateErrors(), EmcSectorRec::CorrectPosition(), fOwner, GetMoments(), GetTotalEnergy(), and EmcSectorRec::SectorToGlobal(). |
|
||||||||||||
|
Returns the EmcCluster corrected position in Sector (SM) frame.
Definition at line 58 of file EmcCluster.cxx. References EmcSectorRec::CorrectPosition(), fOwner, GetMoments(), and GetTotalEnergy(). Referenced by GetErrors(), GetGlobalPos(), and GetImpactTower(). |
|
|
Definition at line 217 of file EmcCluster.cxx. References EmcModule::deadmap, and GetMaxTower(). |
|
|
Returns the energy in 2x2 towers around the cluster Center of Gravity.
Definition at line 287 of file EmcCluster.cxx. References fOwner, EmcSectorRec::GetModSizex(), EmcSectorRec::GetModSizey(), GetMoments(), and GetTowerEnergy(). |
|
|
Returns the energy in 3x3 towers around the tower ich.
Definition at line 361 of file EmcCluster.cxx. References EmcModule::amp, fHitList, fOwner, EmcSectorRec::GetNx(), and EmcSectorRec::HitNCompare(). |
|
|
Returns the energy in 3x3 towers around the cluster Center of Gravity.
Definition at line 314 of file EmcCluster.cxx. References EmcModule::amp, fHitList, fOwner, EmcSectorRec::GetModSizex(), EmcSectorRec::GetModSizey(), GetMoments(), EmcSectorRec::GetNx(), and EmcSectorRec::HitNCompare(). Referenced by mEmcClusterizerv0::fillPeakArea(). |
|
|
Returns the cluster energy taking into account towers with E>Ethresh.
Definition at line 255 of file EmcCluster.cxx. References fHitList, fOwner, EmcSectorRec::GetModSizex(), EmcSectorRec::GetModSizey(), GetMoments(), EmcSectorRec::GetNx(), GetTotalEnergy(), EmcSectorRec::PredictEnergy(), and EmcSectorRec::SetProfileParameters(). Referenced by EmcPeakarea::GetChar(). |
|
||||||||||||||||||||
|
Returns the errors for the reconstructed energy and position.
Definition at line 512 of file EmcCluster.cxx. References EmcSectorRec::CalculateErrors(), fOwner, GetCorrPos(), and GetTotalEnergy(). |
|
||||||||||||||||
|
Returns the EmcCluster position in PHENIX global coord system.
Definition at line 71 of file EmcCluster.cxx. References fOwner, GetCorrPos(), and EmcSectorRec::SectorToGlobal(). |
|
|
Returns EmcCluster fHitList.
Definition at line 99 of file EmcCluster.h. References fHitList. |
|
||||||||||||
|
Returns n EmcModules (sorted) with the maximum energy.
Definition at line 453 of file EmcCluster.cxx. References fHitList, fOwner, EmcSectorRec::HitACompare(), min(), and EmcSectorRec::ZeroVector(). Referenced by mEmcClusterizerv0::fillPeakArea(). |
|
|
Returns the EmcModule corresponding to the reconstructed impact tower.
Definition at line 401 of file EmcCluster.cxx. References fOwner, GetCorrPos(), EmcSectorRec::GetModSizex(), EmcSectorRec::GetModSizey(), EmcSectorRec::GetNx(), EmcSectorRec::GetNy(), EmcModule::ich, and lowint(). |
|
|
Returns the EmcModule with the maximum energy.
Definition at line 432 of file EmcCluster.cxx. References fHitList, and EmcModule::ich. Referenced by mEmcClusterizerv0::fillPeakArea(), GetDeadMap(), GetNDead(), and GetWarnMap(). |
|
||||||||||||||||||||||||
|
Returns EmcCluster 1-st (pxcg,pycg) and 2-d momenta (pxx,pxy,pyy).
Definition at line 479 of file EmcCluster.cxx. References EmcModule::amp, fgXABSURD, fgYABSURD, fHitList, and EmcModule::ich. Referenced by EmcPeakarea::GetChar(), GetChar(), EmcPeakarea::GetChi2New(), EmcPeakarea::GetCLNew(), GetCorrPos(), GetE4(), GetE9(), and GetECore(). |
|
|
Returns the number of dead channels around MaxTower.
Definition at line 196 of file EmcCluster.cxx. References EmcModule::deadmap, and GetMaxTower(). Referenced by mEmcClusterizerv0::fillPeakArea(). |
|
|
Returns number of EmcModules in EmcCluster.
Definition at line 90 of file EmcCluster.h. References fHitList. Referenced by mEmcClusterizerv0::fillPeakArea(). |
|
||||||||||||
|
Splits the EmcCluster onto peakarea's; also returns peak tower array corresponding to peakarea array.
Definition at line 546 of file EmcCluster.cxx. References fgMaxNofPeaks, fHitList, fOwner, EmcSectorRec::GetNx(), EmcSectorRec::GetPeakThreshold(), EmcSectorRec::HitNCompare(), EmcModule::ich, and ratio(). |
|
|
Returns the EmcCluster total energy.
Definition at line 239 of file EmcCluster.cxx. References fHitList. Referenced by EmcPeakarea::GetChar(), GetChar(), EmcPeakarea::GetChi2New(), EmcPeakarea::GetCLNew(), GetCorrPos(), GetECore(), and GetErrors(). |
|
|
Definition at line 164 of file EmcCluster.cxx. References fHitList. |
|
|
Returns the Dead Map of the ich-tower (numbering from 0).
Definition at line 134 of file EmcCluster.cxx. References fHitList. |
|
||||||||||||
|
Returns the energy of the tower ix,iy (numbering from 0).
Definition at line 100 of file EmcCluster.cxx. References fHitList, fOwner, and EmcSectorRec::GetNx(). |
|
|
Returns the energy of the ich-tower (numbering from 0).
Definition at line 85 of file EmcCluster.cxx. References fHitList. Referenced by mEmcClusterizerv0::fillPeakArea(), EmcPeakarea::GetChi2New(), EmcPeakarea::GetCLNew(), and GetE4(). |
|
|
Definition at line 179 of file EmcCluster.cxx. References fHitList. |
|
|
Returns the ToF of the ich-tower (numbering from 0).
Definition at line 119 of file EmcCluster.cxx. References fHitList. |
|
|
Returns the Warning Map of the ich-tower (numbering from 0).
Definition at line 149 of file EmcCluster.cxx. References fHitList. |
|
|
Definition at line 228 of file EmcCluster.cxx. References GetMaxTower(), and EmcModule::warnmap. |
|
|
Definition at line 213 of file EmcCluster.h. Referenced by EmcScSectorRec::CorrectPosition(), and GetImpactTower(). |
|
||||||||||||
|
Definition at line 182 of file EmcCluster.h. |
|
||||||||||||
|
Definition at line 178 of file EmcCluster.h. |
|
||||||||||||
|
Definition at line 174 of file EmcCluster.h. Referenced by EmcScSectorRec::SetTowerThreshold(), and EmcGlSectorRec::ShapeFunc(). |
|
||||||||||||
|
Definition at line 195 of file EmcCluster.h. |
|
||||||||||||
|
Definition at line 191 of file EmcCluster.h. |
|
||||||||||||
|
Definition at line 187 of file EmcCluster.h. Referenced by EmcScSectorRec::Chi2Limit(), EmcGlSectorRec::Chi2Limit(), and GetHits(). |
|
|
Reinitializes EmcCluster supplying new Hit List.
Definition at line 84 of file EmcCluster.h. References fHitList. Referenced by EmcSectorRec::FindClusters(). |
|
|
Definition at line 166 of file EmcCluster.h. Referenced by EmcPeakarea::GetCGmin(), EmcPeakarea::GetChar(), and EmcPeakarea::GetChi2(). |
|
|
Definition at line 165 of file EmcCluster.h. |
|
|
Definition at line 163 of file EmcCluster.h. Referenced by GetPeaks(). |
|
|
Definition at line 164 of file EmcCluster.h. |
|
|
Definition at line 167 of file EmcCluster.h. Referenced by EmcPeakarea::GetCGmin(), EmcPeakarea::GetGammas(), and GetMoments(). |
|
|
Definition at line 168 of file EmcCluster.h. Referenced by EmcPeakarea::GetCGmin(), EmcPeakarea::GetGammas(), and GetMoments(). |
|
|
Definition at line 157 of file EmcCluster.h. Referenced by EmcCluster(), EmcPeakarea::GetCGmin(), EmcPeakarea::GetChar(), EmcPeakarea::GetChi2(), GetE9(), GetECore(), EmcPeakarea::GetGammas(), GetHitList(), GetHits(), GetMaxTower(), GetMoments(), GetNofHits(), GetPeaks(), GetTotalEnergy(), GetTowerADC(), GetTowerDeadMap(), GetTowerEnergy(), GetTowerTAC(), GetTowerToF(), GetTowerWarnMap(), and ReInitialize(). |
|
|
Definition at line 160 of file EmcCluster.h. Referenced by EmcPeakarea::GetCGmin(), EmcPeakarea::GetChar(), GetChar(), EmcPeakarea::GetChi2(), EmcPeakarea::GetChi2New(), EmcPeakarea::GetCLNew(), GetCorrPos(), GetE4(), GetE9(), GetECore(), GetErrors(), EmcPeakarea::GetGammas(), GetGlobalPos(), GetHits(), GetImpactTower(), GetPeaks(), and GetTowerEnergy(). |