StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
StEEmcEnergyApportionerIU_t Class Reference

#include <StEEmcEnergyApportionerIU.h>

Inheritance diagram for StEEmcEnergyApportionerIU_t:
StEEmcEnergyApportioner_t StFinderAlg_t

Public Types

enum  WeightFunction_t { SMD_SUM, SMD_SUM_AND_LEAKAGE }
 

Public Member Functions

virtual void clear ()
 clear things before doing the finding for the next event
 
virtual Int_t find (EEmcEnergy_t *eemcEnergyPtr, const StSimpleClusterVec_t &towerClusterVec, const StESMDClustersVec_t &smdClusterVec, StEEmcHitVec_t &hitVec)
 apportion the energy
 
void setWeightFunction (WeightFunction_t funcType)
 
void setCheckTowerBits (Bool_t doCheck)
 
- Public Member Functions inherited from StFinderAlg_t
Bool_t isReady () const
 Check if status is ready for hit finding.
 

Protected Types

typedef std::map< Int_t, Float_t > sparseVec_t
 

Protected Member Functions

Float_t smdSumWeightFunc (const StEEmcHit_t &hit, Int_t thisTowerIdx)
 Use just sum of SMD energies.
 
Float_t smdSumAndLeakageWeightFunc (const StEEmcHit_t &hit, Int_t thisTowerIdx)
 Use sum of SMD energies times leakage function (spline), i.e. the eeTowerFunction. More...
 

Protected Attributes

Bool_t mCheckTowerBits
 
EEmcGeomSimple mEEmcGeomSimple
 
Float_t(StEEmcEnergyApportionerIU_t::* weightFunc )(const StEEmcHit_t &hit, Int_t thisTowerIdx)
 pointer to which function to use for weights
 
- Protected Attributes inherited from StFinderAlg_t
Bool_t mIsReady
 

Additional Inherited Members

- Static Public Member Functions inherited from StFinderAlg_t
static void setEventNum (Int_t eventNum)
 
static Int_t getEventNum ()
 

Detailed Description

Author
Stephen Gliske sglis.nosp@m.ke@a.nosp@m.nl.go.nosp@m.v

Weihong/Jason's energy sharing methods: weight the surrounding towers by either the sum of the SMD cluster energies, or this sum times a "leakage" factore (determined by Jason's spline function.)

Definition at line 22 of file StEEmcEnergyApportionerIU.h.

Member Function Documentation

Float_t StEEmcEnergyApportionerIU_t::smdSumAndLeakageWeightFunc ( const StEEmcHit_t hit,
Int_t  thisTowerIdx 
)
protected

Use sum of SMD energies times leakage function (spline), i.e. the eeTowerFunction.

Considers both the SMD energy and a leakage function.

Definition at line 175 of file StEEmcEnergyApportionerIU.cxx.

References EEmcGeomSimple::getTower().


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