EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BEmcRecFEMC Class Reference

#include <fun4all_coresoftware/blob/master/offline/packages/CaloReco/BEmcRecFEMC.h>

+ Inheritance diagram for BEmcRecFEMC:
+ Collaboration diagram for BEmcRecFEMC:

Public Member Functions

 BEmcRecFEMC ()
 
 ~BEmcRecFEMC () override
 
void CorrectEnergy (float energy, float x, float y, float &ecorr) override
 
void CorrectECore (float ecore, float x, float y, float &ecorecorr) override
 
void CorrectPosition (float energy, float x, float y, float &xcorr, float &ycorr) override
 
void CorrectShowerDepth (float energy, float x, float y, float z, float &xc, float &yc, float &zc) override
 
void LoadProfile (const std::string &fname) override
 
void GetImpactThetaPhi (float xg, float yg, float zg, float &theta, float &phi) override
 
- Public Member Functions inherited from BEmcRec
 BEmcRec ()
 
virtual ~BEmcRec ()
 
void SetVertex (float *vv)
 
void SetDim (int nx, int ny)
 
bool SetTowerGeometry (int ix, int iy, float xx, float yy, float zz)
 
bool GetTowerGeometry (int ix, int iy, TowerGeom &geom)
 
bool CompleteTowerGeometry ()
 
void PrintTowerGeometry (const std::string &fname)
 
void SetPlanarGeometry ()
 
void SetCylindricalGeometry ()
 
bool isCylindrical () const
 
void SetProfileProb (bool bprob)
 
void SetCalotype (int caloid)
 
void SetScinSize (float S_S)
 
int GetNx () const
 
int GetNy () const
 
int GetCalotype () const
 
float GetScinSize () const
 
float GetVx () const
 
float GetVy () const
 
float GetVz () const
 
void SetPeakThreshold (float Thresh)
 
float GetPeakThreshold ()
 
void SetTowerThreshold (float Thresh)
 
float GetTowerThreshold ()
 
void SetModules (std::vector< EmcModule > const *modules)
 
std::vector< EmcModule > * GetModules ()
 
std::vector< EmcCluster > * GetClusters ()
 
int iTowerDist (int ix1, int ix2)
 
float fTowerDist (float x1, float x2)
 
int FindClusters ()
 
void Momenta (std::vector< EmcModule > *, float &, float &, float &, float &, float &, float &, float thresh=0)
 
void Tower2Global (float E, float xC, float yC, float &xA, float &yA, float &zA)
 
float GetTowerEnergy (int iy, int iz, std::vector< EmcModule > *plist)
 
float PredictEnergy (float, float, float, int, int)
 
float PredictEnergyProb (float en, float xcg, float ycg, int ix, int iy)
 
virtual float PredictEnergyParam (float, float, float)
 
float GetProb (std::vector< EmcModule > HitList, float e, float xg, float yg, float zg, float &chi2, int &ndf)
 
void SetProbNoiseParam (float rn)
 
float GetProbNoiseParam ()
 
virtual std::string Name () const
 
virtual void Name (const std::string &name)
 

Static Public Member Functions

static float GetImpactAngle (float e, float x, float y)
 
- Static Public Member Functions inherited from BEmcRec
static int HitNCompare (const void *, const void *)
 
static int HitACompare (const void *, const void *)
 
static void CopyVector (int *, int *, int)
 
static void CopyVector (EmcModule *, EmcModule *, int)
 
static void ZeroVector (int *, int)
 
static void ZeroVector (float *, int)
 
static void ZeroVector (EmcModule *, int)
 

Additional Inherited Members

- Protected Attributes inherited from BEmcRec
bool bCYL = true
 
bool bProfileProb = false
 
int fNx = -1
 
int fNy = -1
 
std::map< int, TowerGeomfTowerGeom
 
float fVx = 0.
 
float fVy = 0.
 
float fVz = 0.
 
std::vector< EmcModule > * fModules
 
std::vector< EmcCluster > * fClusters
 
float fgProbNoiseParam = 0.04
 
float fgTowerThresh = 0.01
 
float fgMinPeakEnergy = 0.08
 
BEmcProfile_emcprof = nullptr
 
- Static Protected Attributes inherited from BEmcRec
static int const fgMaxLen = 1000
 

Detailed Description

Definition at line 12 of file BEmcRecFEMC.h.

View newest version in sPHENIX GitHub at line 12 of file BEmcRecFEMC.h

Constructor & Destructor Documentation

BEmcRecFEMC::BEmcRecFEMC ( )

Definition at line 10 of file BEmcRecFEMC.cc.

View newest version in sPHENIX GitHub at line 10 of file BEmcRecFEMC.cc

References configureMap::Name.

BEmcRecFEMC::~BEmcRecFEMC ( )
override

Definition at line 17 of file BEmcRecFEMC.cc.

View newest version in sPHENIX GitHub at line 17 of file BEmcRecFEMC.cc

Member Function Documentation

void BEmcRecFEMC::CorrectECore ( float  ecore,
float  x,
float  y,
float &  ecorecorr 
)
overridevirtual

Reimplemented from BEmcRec.

Definition at line 97 of file BEmcRecFEMC.cc.

View newest version in sPHENIX GitHub at line 97 of file BEmcRecFEMC.cc

void BEmcRecFEMC::CorrectEnergy ( float  energy,
float  x,
float  y,
float &  ecorr 
)
overridevirtual

Reimplemented from BEmcRec.

Definition at line 74 of file BEmcRecFEMC.cc.

View newest version in sPHENIX GitHub at line 74 of file BEmcRecFEMC.cc

void BEmcRecFEMC::CorrectPosition ( float  energy,
float  x,
float  y,
float &  xcorr,
float &  ycorr 
)
overridevirtual

Reimplemented from BEmcRec.

Definition at line 124 of file BEmcRecFEMC.cc.

View newest version in sPHENIX GitHub at line 124 of file BEmcRecFEMC.cc

References EmcCluster::ABS(), EmcCluster::lowint(), t, x, and y.

+ Here is the call graph for this function:

void BEmcRecFEMC::CorrectShowerDepth ( float  energy,
float  x,
float  y,
float  z,
float &  xc,
float &  yc,
float &  zc 
)
overridevirtual

Reimplemented from BEmcRec.

Definition at line 49 of file BEmcRecFEMC.cc.

View newest version in sPHENIX GitHub at line 49 of file BEmcRecFEMC.cc

float BEmcRecFEMC::GetImpactAngle ( float  e,
float  x,
float  y 
)
static

Definition at line 80 of file BEmcRecFEMC.cc.

View newest version in sPHENIX GitHub at line 80 of file BEmcRecFEMC.cc

void BEmcRecFEMC::GetImpactThetaPhi ( float  xg,
float  yg,
float  zg,
float &  theta,
float &  phi 
)
overridevirtual

Reimplemented from BEmcRec.

Definition at line 28 of file BEmcRecFEMC.cc.

View newest version in sPHENIX GitHub at line 28 of file BEmcRecFEMC.cc

void BEmcRecFEMC::LoadProfile ( const std::string &  fname)
overridevirtual

Reimplemented from BEmcRec.

Definition at line 23 of file BEmcRecFEMC.cc.

View newest version in sPHENIX GitHub at line 23 of file BEmcRecFEMC.cc


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