Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BEmcProfile Class Reference

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

+ Collaboration diagram for BEmcProfile:

Public Member Functions

 BEmcProfile (const std::string &fname)
 
 BEmcProfile (const BEmcProfile &)=delete
 
BEmcProfileoperator= (const BEmcProfile &)=delete
 
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)
explicit

Definition at line 18 of file BEmcProfile.cc.

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

References bloaded, energy_array, f, material_mapping_optimisation::format, hmean, hr4, hsigma, i, it, nen, NP, nth, str, theta_array, and Verbosity().

+ Here is the call graph for this function:

BEmcProfile::BEmcProfile ( const BEmcProfile )
explicitdelete
BEmcProfile::~BEmcProfile ( )
virtual

Definition at line 146 of file BEmcProfile.cc.

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

References bloaded, energy_array, hmean, hr4, hsigma, i, 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 168 of file BEmcProfile.cc.

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

References bloaded, check_license::err(), GetTowerEnergy(), i, NP, NX, 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 691 of file BEmcProfile.cc.

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

References i, izt, and NX.

Referenced by GetProb().

+ Here is the caller graph for this function:

bool BEmcProfile::IsLoaded ( )
inline

Definition at line 23 of file BEmcProfile.h.

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

References bloaded.

Referenced by BEmcRec::GetProb().

+ Here is the caller graph for this function:

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

Definition at line 398 of file BEmcProfile.cc.

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

References bloaded, energy_array, hmean, hsigma, configureMap::ibin, nen, NP, nth, 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 586 of file BEmcProfile.cc.

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

References bloaded, energy_array, hr4, configureMap::ibin, nen, nth, and theta_array.

Referenced by BEmcRec::PredictEnergyProb().

+ Here is the caller graph for this function:

int BEmcProfile::Verbosity ( ) const
inline

Definition at line 24 of file BEmcProfile.h.

View newest version in sPHENIX GitHub at line 24 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 25 of file BEmcProfile.h.

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

References i, and m_Verbosity.

Member Data Documentation

bool BEmcProfile::bloaded
protected

Definition at line 28 of file BEmcProfile.h.

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

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

float* BEmcProfile::energy_array
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(), PredictEnergy(), PredictEnergyR(), and ~BEmcProfile().

TH1F** BEmcProfile::hmean
protected

Definition at line 37 of file BEmcProfile.h.

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

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

TH1F** BEmcProfile::hr4
protected

Definition at line 39 of file BEmcProfile.h.

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

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

TH1F** BEmcProfile::hsigma
protected

Definition at line 38 of file BEmcProfile.h.

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

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

int BEmcProfile::m_Verbosity
private

Definition at line 42 of file BEmcProfile.h.

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

Referenced by Verbosity().

int BEmcProfile::nen
protected

Definition at line 31 of file BEmcProfile.h.

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

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

int BEmcProfile::nth
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(), PredictEnergyR(), and ~BEmcProfile().

float* BEmcProfile::theta_array
protected

Definition at line 35 of file BEmcProfile.h.

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

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

float BEmcProfile::thresh
protected

Definition at line 30 of file BEmcProfile.h.

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

Referenced by GetProb().


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