Analysis Software
Documentation for sPHENIX simulation software
|
Go to the source code of this file.
Functions | |
TChain * | handleFile (string name, string extension, string treename, unsigned int filecount) |
TEfficiency * | makepTRes (TFile *out_file, TChain *ttree=NULL, TTree *allTree=NULL) |
unsigned | totalMB (string path, string extension, string hardname, string softname) |
TH1F * | calculateRate (TEfficiency *rate, TFile *file, unsigned nMB) |
void | derivitvePlot (TH1F *finalrate) |
void | conversionRate () |
TH1F* calculateRate | ( | TEfficiency * | rate, |
TFile * | file, | ||
unsigned | nMB | ||
) |
rate | the uniform conversion rate |
file | file to get the pythia pT spectra from |
Definition at line 97 of file conversionRate.C.
View newest version in sPHENIX GitHub at line 97 of file conversionRate.C
Referenced by conversionRate().
void conversionRate | ( | ) |
Definition at line 121 of file conversionRate.C.
View newest version in sPHENIX GitHub at line 121 of file conversionRate.C
References calculateRate(), derivitvePlot(), handleFile(), makepTRes(), and totalMB().
void derivitvePlot | ( | TH1F * | finalrate | ) |
Definition at line 110 of file conversionRate.C.
View newest version in sPHENIX GitHub at line 110 of file conversionRate.C
References acts::error, and i.
Referenced by conversionRate().
TChain* handleFile | ( | string | name, |
string | extension, | ||
string | treename, | ||
unsigned int | filecount | ||
) |
Definition at line 2 of file conversionRate.C.
View newest version in sPHENIX GitHub at line 2 of file conversionRate.C
References i, and physmon_simulation::s.
Referenced by conversionRate(), mapper(), minBiasRecoAna(), photonEff2(), trackpT(), train(), vtxPredictionTraining(), and vtxRS().
TEfficiency* makepTRes | ( | TFile * | out_file, |
TChain * | ttree = NULL , |
||
TTree * | allTree = NULL |
||
) |
makes a TEff holding the hists for a uniform conversion rate
out_file | file data is saved to this is used for read and write needs converted and truth pT spectra to be inside these are created by photonEff if the pT spectra are not inside the file |
ttree | and |
allTree | will be used to calculate these spectra |
ttree | tree for converted data |
allTree | tree for nonconverted data |
Definition at line 22 of file conversionRate.C.
View newest version in sPHENIX GitHub at line 22 of file conversionRate.C
References event, i, and graph_fancy::pT.
Referenced by conversionRate(), and photonEff2().
unsigned totalMB | ( | string | path, |
string | extension, | ||
string | hardname, | ||
string | softname | ||
) |
Definition at line 82 of file conversionRate.C.
View newest version in sPHENIX GitHub at line 82 of file conversionRate.C
References extension, perf_headwind::name, and physmon_track_finding_ttbar::r.
Referenced by conversionRate().