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

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

Public Member Functions

 BEmcProfile (const std::string &fname)
 
virtual ~BEmcProfile ()
 
float GetProb (std::vector< EmcModule > *plist, int NX, float en, float theta, float phi)
 
float GetTowerEnergy (int iy, int iz, std::vector< EmcModule > *plist, int nx)
 
void PredictEnergy (int ip, float en, float theta, float phi, float ddz, float ddy, float &ep, float &err)
 
float PredictEnergyR (float energy, float theta, float phi, float rr)
 
bool IsLoaded ()
 
int Verbosity () const
 
void Verbosity (const int i)
 

Protected Attributes

bool bloaded
 
float thresh
 
int nen
 
int nth
 
float * energy_array
 
float * theta_array
 
TH1F ** hmean
 
TH1F ** hsigma
 
TH1F ** hr4
 

Private Attributes

int m_Verbosity
 

Detailed Description

Definition at line 7 of file BEmcProfile.h.

View newest version in sPHENIX GitHub at line 7 of file BEmcProfile.h

Constructor & Destructor Documentation

BEmcProfile::BEmcProfile ( const std::string &  fname)

Definition at line 20 of file BEmcProfile.cc.

View newest version in sPHENIX GitHub at line 20 of file BEmcProfile.cc

References bloaded, energy_array, hmean, hr4, hsigma, ip(), it, nen, NP, nth, theta_array, and Verbosity().

+ Here is the call graph for this function:

BEmcProfile::~BEmcProfile ( )
virtual

Definition at line 143 of file BEmcProfile.cc.

View newest version in sPHENIX GitHub at line 143 of file BEmcProfile.cc

References bloaded, energy_array, hmean, hr4, hsigma, nen, NP, nth, and theta_array.

Member Function Documentation

float BEmcProfile::GetProb ( std::vector< EmcModule > *  plist,
int  NX,
float  en,
float  theta,
float  phi 
)

Definition at line 165 of file BEmcProfile.cc.

View newest version in sPHENIX GitHub at line 165 of file BEmcProfile.cc

References kdfinder::abs(), bloaded, check_license::err(), GetTowerEnergy(), ip(), NP, PredictEnergy(), and thresh.

+ Here is the call graph for this function:

float BEmcProfile::GetTowerEnergy ( int  iy,
int  iz,
std::vector< EmcModule > *  plist,
int  nx 
)

Definition at line 598 of file BEmcProfile.cc.

View newest version in sPHENIX GitHub at line 598 of file BEmcProfile.cc

References izt.

Referenced by GetProb().

+ Here is the caller graph for this function:

bool BEmcProfile::IsLoaded ( )
inline

Definition at line 18 of file BEmcProfile.h.

View newest version in sPHENIX GitHub at line 18 of file BEmcProfile.h

References bloaded.

Referenced by BEmcRec::GetProb().

+ Here is the caller graph for this function:

void BEmcProfile::PredictEnergy ( int  ip,
float  en,
float  theta,
float  phi,
float  ddz,
float  ddy,
float &  ep,
float &  err 
)

Definition at line 364 of file BEmcProfile.cc.

View newest version in sPHENIX GitHub at line 364 of file BEmcProfile.cc

References bloaded, energy_array, hmean, hsigma, nen, NP, nth, rr, th1, th2, and theta_array.

Referenced by GetProb(), BEmcRec::GetProb(), and BEmcRec::PredictEnergyProb().

+ Here is the caller graph for this function:

float BEmcProfile::PredictEnergyR ( float  energy,
float  theta,
float  phi,
float  rr 
)

Definition at line 514 of file BEmcProfile.cc.

View newest version in sPHENIX GitHub at line 514 of file BEmcProfile.cc

References bloaded, energy_array, hr4, nen, nth, th1, th2, and theta_array.

Referenced by BEmcRec::PredictEnergyProb().

+ Here is the caller graph for this function:

int BEmcProfile::Verbosity ( ) const
inline

Definition at line 19 of file BEmcProfile.h.

View newest version in sPHENIX GitHub at line 19 of file BEmcProfile.h

References m_Verbosity.

Referenced by BEmcProfile().

+ Here is the caller graph for this function:

void BEmcProfile::Verbosity ( const int  i)
inline

Definition at line 20 of file BEmcProfile.h.

View newest version in sPHENIX GitHub at line 20 of file BEmcProfile.h

References m_Verbosity.

Member Data Documentation

bool BEmcProfile::bloaded
protected

Definition at line 23 of file BEmcProfile.h.

View newest version in sPHENIX GitHub at line 23 of file BEmcProfile.h

Referenced by BEmcProfile(), GetProb(), IsLoaded(), PredictEnergy(), PredictEnergyR(), and ~BEmcProfile().

float* BEmcProfile::energy_array
protected

Definition at line 29 of file BEmcProfile.h.

View newest version in sPHENIX GitHub at line 29 of file BEmcProfile.h

Referenced by BEmcProfile(), PredictEnergy(), PredictEnergyR(), and ~BEmcProfile().

TH1F** BEmcProfile::hmean
protected

Definition at line 32 of file BEmcProfile.h.

View newest version in sPHENIX GitHub at line 32 of file BEmcProfile.h

Referenced by BEmcProfile(), PredictEnergy(), and ~BEmcProfile().

TH1F* * BEmcProfile::hr4
protected

Definition at line 34 of file BEmcProfile.h.

View newest version in sPHENIX GitHub at line 34 of file BEmcProfile.h

Referenced by BEmcProfile(), PredictEnergyR(), and ~BEmcProfile().

TH1F** BEmcProfile::hsigma
protected

Definition at line 33 of file BEmcProfile.h.

View newest version in sPHENIX GitHub at line 33 of file BEmcProfile.h

Referenced by BEmcProfile(), PredictEnergy(), and ~BEmcProfile().

int BEmcProfile::m_Verbosity
private

Definition at line 37 of file BEmcProfile.h.

View newest version in sPHENIX GitHub at line 37 of file BEmcProfile.h

Referenced by Verbosity().

int BEmcProfile::nen
protected

Definition at line 26 of file BEmcProfile.h.

View newest version in sPHENIX GitHub at line 26 of file BEmcProfile.h

Referenced by BEmcProfile(), PredictEnergy(), PredictEnergyR(), and ~BEmcProfile().

int BEmcProfile::nth
protected

Definition at line 27 of file BEmcProfile.h.

View newest version in sPHENIX GitHub at line 27 of file BEmcProfile.h

Referenced by BEmcProfile(), PredictEnergy(), PredictEnergyR(), and ~BEmcProfile().

float* BEmcProfile::theta_array
protected

Definition at line 30 of file BEmcProfile.h.

View newest version in sPHENIX GitHub at line 30 of file BEmcProfile.h

Referenced by BEmcProfile(), PredictEnergy(), PredictEnergyR(), and ~BEmcProfile().

float BEmcProfile::thresh
protected

Definition at line 25 of file BEmcProfile.h.

View newest version in sPHENIX GitHub at line 25 of file BEmcProfile.h

Referenced by GetProb().


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