Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
make_fmod_calibrations.C File Reference
#include "SetOKStyle.C"
+ Include dependency graph for make_fmod_calibrations.C:

Go to the source code of this file.

Functions

void make_fmod_calibrations ()
 
void instantiate ()
 
void write ()
 
void write_recals_to_text ()
 
void fit ()
 
void loop_tree ()
 
vector< doubleGetBeamMom ()
 

Variables

TTree * tree
 
const int nbins = 17
 
float bins [nbins]
 
TH1F * resolutions3x3 [nbins-1][nbins-1]
 
TF1 * fits3x3 [nbins-1][nbins-1]
 
float recal_consts3x3 [nbins-1][nbins-1]
 
TH1F * resolutions5x5 [nbins-1][nbins-1]
 
TF1 * fits5x5 [nbins-1][nbins-1]
 
float recal_consts5x5 [nbins-1][nbins-1]
 

Function Documentation

vector<double> GetBeamMom ( )

Definition at line 202 of file make_fmod_calibrations.C.

View newest version in sPHENIX GitHub at line 202 of file make_fmod_calibrations.C

References momentum, t, and tree.

void instantiate ( )

Definition at line 37 of file make_fmod_calibrations.C.

View newest version in sPHENIX GitHub at line 37 of file make_fmod_calibrations.C

References i, j, perf_headwind::name, nbins, resolutions3x3, and resolutions5x5.

Referenced by make_fmod_calibrations().

+ Here is the caller graph for this function:

void loop_tree ( )

Definition at line 141 of file make_fmod_calibrations.C.

View newest version in sPHENIX GitHub at line 141 of file make_fmod_calibrations.C

References bins, Proto3ShowerCalib::Eval_Run::getbeammom(), Proto3ShowerCalib::Eval_Cluster::getfmodeta(), Proto3ShowerCalib::Eval_Cluster::getfmodphi(), Proto3ShowerCalib::Eval_Cluster::getsumE(), i, j, nbins, resolutions3x3, resolutions5x5, utils::run, and tree.

Referenced by make_fmod_calibrations().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void make_fmod_calibrations ( )

Definition at line 14 of file make_fmod_calibrations.C.

View newest version in sPHENIX GitHub at line 14 of file make_fmod_calibrations.C

References bins, f, fit(), i, instantiate(), loop_tree(), nbins, SetOKStyle(), tree, write(), and write_recals_to_text().

+ Here is the call graph for this function:

void write_recals_to_text ( )

Definition at line 66 of file make_fmod_calibrations.C.

View newest version in sPHENIX GitHub at line 66 of file make_fmod_calibrations.C

References i, j, nbins, recal_consts3x3, and recal_consts5x5.

Referenced by make_fmod_calibrations().

+ Here is the caller graph for this function:

Variable Documentation

TF1* fits3x3[nbins-1][nbins-1]

Definition at line 8 of file make_fmod_calibrations.C.

View newest version in sPHENIX GitHub at line 8 of file make_fmod_calibrations.C

Referenced by fit().

TF1* fits5x5[nbins-1][nbins-1]

Definition at line 11 of file make_fmod_calibrations.C.

View newest version in sPHENIX GitHub at line 11 of file make_fmod_calibrations.C

Referenced by fit().

const int nbins = 17

Definition at line 4 of file make_fmod_calibrations.C.

View newest version in sPHENIX GitHub at line 4 of file make_fmod_calibrations.C

float recal_consts3x3[nbins-1][nbins-1]

Definition at line 9 of file make_fmod_calibrations.C.

View newest version in sPHENIX GitHub at line 9 of file make_fmod_calibrations.C

Referenced by fit(), and write_recals_to_text().

float recal_consts5x5[nbins-1][nbins-1]

Definition at line 12 of file make_fmod_calibrations.C.

View newest version in sPHENIX GitHub at line 12 of file make_fmod_calibrations.C

Referenced by fit(), and write_recals_to_text().

TH1F* resolutions3x3[nbins-1][nbins-1]

Definition at line 7 of file make_fmod_calibrations.C.

View newest version in sPHENIX GitHub at line 7 of file make_fmod_calibrations.C

Referenced by fit(), instantiate(), loop_tree(), and write().

TH1F* resolutions5x5[nbins-1][nbins-1]

Definition at line 10 of file make_fmod_calibrations.C.

View newest version in sPHENIX GitHub at line 10 of file make_fmod_calibrations.C

Referenced by fit(), instantiate(), loop_tree(), and write().