mEmcClusterNewModule Class Reference
[Deprecated StuffTower clustering]

#include <mEmcClusterNewModule.h>

Inherits EMCModule.

Inheritance diagram for mEmcClusterNewModule:

Inheritance graph
[legend]
List of all members.

Detailed Description

(OLD) Module for clusterizing EMCAL.

Deprecated:
With the removal of the usage of STAF tables, see now mEmcClusterizerv0

Definition at line 25 of file mEmcClusterNewModule.h.

Public Member Functions

 mEmcClusterNewModule (mEmcGeometryModule *, int runnumber=0)
virtual ~mEmcClusterNewModule ()
void SetMinClusterEnergy (float eClMin)
void SetMinClusterEnergyPbSc (float eClMin)
void SetMinClusterEnergyPbGl (float eClMin)
void SetTowerThreshold (float Thresh)
void SetTowerThreshold (int is, float Thresh)
void SetTowerThresholdPbSc (float Thresh)
void SetTowerThresholdPbGl (float Thresh)
void SetPeakThreshold (float Thresh)
void SetPeakThreshold (int is, float Thresh)
PHBoolean event (PHCompositeNode *root)
void ToF_Process (EmcModule *phit, float dist, EmcModule &hmax, float *ptof, float *petof, float *ptofcorr, float *pdtof, float *ptofmin, float *petofmin, float *ptofmincorr, float *ptofmax, float *petofmax, float *ptofmaxcorr)

Private Attributes

EmcScSectorRec ScSector [6]
EmcGlSectorRec GlSector [2]
float fMinClusterEnergySc
float fMinClusterEnergyGl
int fRunNumber


Constructor & Destructor Documentation

mEmcClusterNewModule::mEmcClusterNewModule mEmcGeometryModule ,
int  runnumber = 0
 

Definition at line 32 of file mEmcClusterNewModule.C.

References fRunNumber, mEmcGeometryModule::GetMatrixVector(), mEmcGeometryModule::GetSectorDim(), mEmcGeometryModule::GetTowerSize(), GlSector, MAX_SECTORS_PROCESS, EMCModule::name, SecGeom::nx, SecGeom::ny, ScSector, EmcSectorRec::SetChi2Limit(), EmcSectorRec::SetGeometry(), EmcSectorRec::SetPeakThreshold(), EmcSectorRec::SetTowerThreshold(), SecGeom::Tower_xSize, and SecGeom::Tower_ySize.

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

Definition at line 30 of file mEmcClusterNewModule.h.


Member Function Documentation

PHBoolean mEmcClusterNewModule::event PHCompositeNode *  root  )  [virtual]
 

Implements EMCModule.

Definition at line 172 of file mEmcClusterNewModule.C.

References HITS_TO_TABLE, MAX_SECTORS_PROCESS, and MaxNofPeaks.

void mEmcClusterNewModule::SetMinClusterEnergy float  eClMin  )  [inline]
 

Definition at line 31 of file mEmcClusterNewModule.h.

References fMinClusterEnergyGl, and fMinClusterEnergySc.

void mEmcClusterNewModule::SetMinClusterEnergyPbGl float  eClMin  )  [inline]
 

Definition at line 33 of file mEmcClusterNewModule.h.

References fMinClusterEnergyGl.

Referenced by mEmcRecoModuleRealYear3::setup().

void mEmcClusterNewModule::SetMinClusterEnergyPbSc float  eClMin  )  [inline]
 

Definition at line 32 of file mEmcClusterNewModule.h.

References fMinClusterEnergySc.

Referenced by mEmcRecoModuleRealYear3::setup().

void mEmcClusterNewModule::SetPeakThreshold int  is,
float  Thresh
 

Definition at line 154 of file mEmcClusterNewModule.C.

References GlSector, MAX_SECTORS_PROCESS, ScSector, and EmcSectorRec::SetPeakThreshold().

void mEmcClusterNewModule::SetPeakThreshold float  Thresh  ) 
 

Definition at line 138 of file mEmcClusterNewModule.C.

References MAX_SECTORS_PROCESS, and ScSector.

void mEmcClusterNewModule::SetTowerThreshold int  is,
float  Thresh
 

Definition at line 103 of file mEmcClusterNewModule.C.

References GlSector, MAX_SECTORS_PROCESS, ScSector, EmcGlSectorRec::SetTowerThreshold(), and EmcScSectorRec::SetTowerThreshold().

void mEmcClusterNewModule::SetTowerThreshold float  Thresh  ) 
 

Definition at line 87 of file mEmcClusterNewModule.C.

References MAX_SECTORS_PROCESS, and ScSector.

Referenced by SetTowerThresholdPbGl(), and SetTowerThresholdPbSc().

void mEmcClusterNewModule::SetTowerThresholdPbGl float  Thresh  ) 
 

Definition at line 129 of file mEmcClusterNewModule.C.

References GlSector, and SetTowerThreshold().

Referenced by mEmcRecoModuleRealYear3::setup().

void mEmcClusterNewModule::SetTowerThresholdPbSc float  Thresh  ) 
 

Definition at line 121 of file mEmcClusterNewModule.C.

References ScSector, and SetTowerThreshold().

Referenced by mEmcRecoModuleRealYear3::setup().

void mEmcClusterNewModule::ToF_Process EmcModule phit,
float  dist,
EmcModule hmax,
float *  ptof,
float *  petof,
float *  ptofcorr,
float *  pdtof,
float *  ptofmin,
float *  petofmin,
float *  ptofmincorr,
float *  ptofmax,
float *  petofmax,
float *  ptofmaxcorr
 

Definition at line 555 of file mEmcClusterNewModule.C.

References EmcModule::amp, and EmcModule::tof.


Member Data Documentation

float mEmcClusterNewModule::fMinClusterEnergyGl [private]
 

Definition at line 52 of file mEmcClusterNewModule.h.

Referenced by SetMinClusterEnergy(), and SetMinClusterEnergyPbGl().

float mEmcClusterNewModule::fMinClusterEnergySc [private]
 

Definition at line 51 of file mEmcClusterNewModule.h.

Referenced by SetMinClusterEnergy(), and SetMinClusterEnergyPbSc().

int mEmcClusterNewModule::fRunNumber [private]
 

Definition at line 53 of file mEmcClusterNewModule.h.

Referenced by mEmcClusterNewModule().

EmcGlSectorRec mEmcClusterNewModule::GlSector[2] [private]
 

Definition at line 50 of file mEmcClusterNewModule.h.

Referenced by mEmcClusterNewModule(), SetPeakThreshold(), SetTowerThreshold(), and SetTowerThresholdPbGl().

EmcScSectorRec mEmcClusterNewModule::ScSector[6] [private]
 

Definition at line 49 of file mEmcClusterNewModule.h.

Referenced by mEmcClusterNewModule(), SetPeakThreshold(), SetTowerThreshold(), and SetTowerThresholdPbSc().


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