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

#include <coresoftware/blob/master/calibrations/calorimeter/calo_emc_pi0_tbt/CaloCalibEmc_Pi0.h>

+ Inheritance diagram for CaloCalibEmc_Pi0:
+ Collaboration diagram for CaloCalibEmc_Pi0:

Public Member Functions

 CaloCalibEmc_Pi0 (const std::string &name="CaloCalibEmc_Pi0", const std::string &fnm="outJF")
 
virtual ~CaloCalibEmc_Pi0 ()
 
int InitRun (PHCompositeNode *topNode) override
 
int process_event (PHCompositeNode *topNode) override
 
int End (PHCompositeNode *topNode) override
 Called at the end of all processing.
 
void Loop (TString _filename, int nevts)
 
void FittingHistos ()
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
virtual int EndRun (const int)
 Called at the end of each run.
 
virtual int Init (PHCompositeNode *)
 
virtual int Reset (PHCompositeNode *)
 Reset.
 
virtual int ResetEvent (PHCompositeNode *)
 Clean up after each event.
 
void Print (const std::string &="ALL") const override
 
- Public Member Functions inherited from Fun4AllBase
virtual ~Fun4AllBase ()
 
virtual const std::string Name () const
 Returns the name of this module.
 
virtual void Name (const std::string &name)
 Sets the name of this module.
 
virtual void Verbosity (const int ival)
 Sets the verbosity of this module (0 by default=quiet).
 
virtual void Verbosity (enu_Verbosity ival)
 Sets the verbosity of this module (0 by default=quiet).
 
virtual int Verbosity () const
 Gets the verbosity of this module.
 

Private Attributes

int _ievent
 
TFile * cal_output
 
std::string _caloname
 
std::string _filename
 
TH1 * cemc_hist_eta_phi [96][258]
 
TH1 * eta_hist [96] = {0}
 
TH2F * mass_eta
 
TH3F * mass_eta_phi
 
TH1F * pairInvMassTotal
 
TTree * _eventTree
 
int _eventNumber
 
int _nClusters
 
float _clusterIDs [10000] ={0}
 
float _clusterEnergies [10000] ={0}
 
float _clusterPts [10000] ={0}
 
int _clusterEtas [10000] ={0}
 
int _clusterPhis [10000] ={0}
 
int maxTowerEta
 
int maxTowerPhi
 
int _maxTowerEtas [10000] ={0}
 
int _maxTowerPhis [10000] ={0}
 
float alphaCut
 

Additional Inherited Members

- Public Types inherited from Fun4AllBase
enum  enu_Verbosity {
  VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3,
  VERBOSITY_A_LOT = 4, VERBOSITY_MAX = INT_MAX - 10
}
 
- Protected Member Functions inherited from SubsysReco
 SubsysReco (const std::string &name="NONAME")
 

Detailed Description

Definition at line 19 of file CaloCalibEmc_Pi0.h.

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

Constructor & Destructor Documentation

CaloCalibEmc_Pi0::CaloCalibEmc_Pi0 ( const std::string &  name = "CaloCalibEmc_Pi0",
const std::string &  fnm = "outJF" 
)

Definition at line 47 of file CaloCalibEmc_Pi0.cc.

View newest version in sPHENIX GitHub at line 47 of file CaloCalibEmc_Pi0.cc

References cemc_hist_eta_phi, and eta_hist.

virtual CaloCalibEmc_Pi0::~CaloCalibEmc_Pi0 ( )
inlinevirtual

Definition at line 25 of file CaloCalibEmc_Pi0.h.

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

Member Function Documentation

int CaloCalibEmc_Pi0::End ( PHCompositeNode topNode)
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 355 of file CaloCalibEmc_Pi0.cc.

View newest version in sPHENIX GitHub at line 355 of file CaloCalibEmc_Pi0.cc

References cal_output, and Fun4AllReturnCodes::EVENT_OK.

Referenced by runLCELoop().

+ Here is the caller graph for this function:

void CaloCalibEmc_Pi0::FittingHistos ( )

Definition at line 475 of file CaloCalibEmc_Pi0.cc.

View newest version in sPHENIX GitHub at line 475 of file CaloCalibEmc_Pi0.cc

References cemc_hist_eta_phi, and eta_hist.

Referenced by runLCELoop().

+ Here is the caller graph for this function:

int CaloCalibEmc_Pi0::InitRun ( PHCompositeNode topNode)
overridevirtual

Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number. A place to book histograms which have to know the run number.

Reimplemented from SubsysReco.

Definition at line 78 of file CaloCalibEmc_Pi0.cc.

View newest version in sPHENIX GitHub at line 78 of file CaloCalibEmc_Pi0.cc

References _clusterEnergies, _clusterEtas, _clusterIDs, _clusterPhis, _clusterPts, _eventNumber, _eventTree, _filename, _ievent, _maxTowerEtas, _maxTowerPhis, _nClusters, a, b, cal_output, cemc_hist_eta_phi, eta_hist, Fun4AllReturnCodes::EVENT_OK, mass_eta, mass_eta_phi, and pairInvMassTotal.

Referenced by runLCELoop().

+ Here is the caller graph for this function:

void CaloCalibEmc_Pi0::Loop ( TString  _filename,
int  nevts 
)

Definition at line 370 of file CaloCalibEmc_Pi0.cc.

View newest version in sPHENIX GitHub at line 370 of file CaloCalibEmc_Pi0.cc

References _clusterEnergies, _clusterEtas, _clusterIDs, _clusterPhis, _clusterPts, _eventNumber, _maxTowerEtas, _maxTowerPhis, _nClusters, cemc_hist_eta_phi, E, Acts::VectorHelpers::eta(), eta_hist, f, int(), phi, pt, and t1.

Referenced by runLCELoop().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::string CaloCalibEmc_Pi0::_caloname
private

Definition at line 50 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 50 of file CaloCalibEmc_Pi0.h

Referenced by process_event().

float CaloCalibEmc_Pi0::_clusterEnergies[10000] ={0}
private

Definition at line 67 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 67 of file CaloCalibEmc_Pi0.h

Referenced by InitRun(), Loop(), and process_event().

int CaloCalibEmc_Pi0::_clusterEtas[10000] ={0}
private

Definition at line 69 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 69 of file CaloCalibEmc_Pi0.h

Referenced by InitRun(), Loop(), and process_event().

float CaloCalibEmc_Pi0::_clusterIDs[10000] ={0}
private

Definition at line 66 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 66 of file CaloCalibEmc_Pi0.h

Referenced by InitRun(), Loop(), and process_event().

int CaloCalibEmc_Pi0::_clusterPhis[10000] ={0}
private

Definition at line 70 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 70 of file CaloCalibEmc_Pi0.h

Referenced by InitRun(), Loop(), and process_event().

float CaloCalibEmc_Pi0::_clusterPts[10000] ={0}
private

Definition at line 68 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 68 of file CaloCalibEmc_Pi0.h

Referenced by InitRun(), Loop(), and process_event().

int CaloCalibEmc_Pi0::_eventNumber
private

Definition at line 64 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 64 of file CaloCalibEmc_Pi0.h

Referenced by InitRun(), Loop(), and process_event().

TTree* CaloCalibEmc_Pi0::_eventTree
private

Definition at line 62 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 62 of file CaloCalibEmc_Pi0.h

Referenced by InitRun(), and process_event().

std::string CaloCalibEmc_Pi0::_filename
private

Definition at line 51 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 51 of file CaloCalibEmc_Pi0.h

Referenced by InitRun().

int CaloCalibEmc_Pi0::_ievent
private

Definition at line 48 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 48 of file CaloCalibEmc_Pi0.h

Referenced by InitRun(), and process_event().

int CaloCalibEmc_Pi0::_maxTowerEtas[10000] ={0}
private

Definition at line 76 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 76 of file CaloCalibEmc_Pi0.h

Referenced by InitRun(), Loop(), and process_event().

int CaloCalibEmc_Pi0::_maxTowerPhis[10000] ={0}
private

Definition at line 77 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 77 of file CaloCalibEmc_Pi0.h

Referenced by InitRun(), Loop(), and process_event().

int CaloCalibEmc_Pi0::_nClusters
private

Definition at line 65 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 65 of file CaloCalibEmc_Pi0.h

Referenced by InitRun(), Loop(), and process_event().

float CaloCalibEmc_Pi0::alphaCut
private

Definition at line 79 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 79 of file CaloCalibEmc_Pi0.h

Referenced by process_event().

TFile* CaloCalibEmc_Pi0::cal_output
private

Definition at line 49 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 49 of file CaloCalibEmc_Pi0.h

Referenced by End(), and InitRun().

TH1* CaloCalibEmc_Pi0::cemc_hist_eta_phi[96][258]
private

Definition at line 55 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 55 of file CaloCalibEmc_Pi0.h

Referenced by CaloCalibEmc_Pi0(), FittingHistos(), InitRun(), Loop(), and process_event().

TH1* CaloCalibEmc_Pi0::eta_hist[96] = {0}
private

Definition at line 56 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 56 of file CaloCalibEmc_Pi0.h

Referenced by CaloCalibEmc_Pi0(), FittingHistos(), InitRun(), Loop(), and process_event().

TH2F* CaloCalibEmc_Pi0::mass_eta
private

Definition at line 57 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 57 of file CaloCalibEmc_Pi0.h

Referenced by InitRun(), and process_event().

TH3F* CaloCalibEmc_Pi0::mass_eta_phi
private

Definition at line 58 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 58 of file CaloCalibEmc_Pi0.h

Referenced by InitRun(), and process_event().

int CaloCalibEmc_Pi0::maxTowerEta
private

Definition at line 73 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 73 of file CaloCalibEmc_Pi0.h

Referenced by process_event().

int CaloCalibEmc_Pi0::maxTowerPhi
private

Definition at line 74 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 74 of file CaloCalibEmc_Pi0.h

Referenced by process_event().

TH1F* CaloCalibEmc_Pi0::pairInvMassTotal
private

Definition at line 60 of file CaloCalibEmc_Pi0.h.

View newest version in sPHENIX GitHub at line 60 of file CaloCalibEmc_Pi0.h

Referenced by InitRun(), and process_event().


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