Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DrawPrototype3ShowerCalib_Sum.C File Reference
#include <cmath>
#include <TFile.h>
#include <TString.h>
#include <TLine.h>
#include <TTree.h>
#include <TLatex.h>
#include <TGraphErrors.h>
#include <cassert>
#include "SaveCanvas.C"
#include "SetOKStyle.C"
+ Include dependency graph for DrawPrototype3ShowerCalib_Sum.C:

Go to the source code of this file.

Classes

class  lin_res
 

Functions

void DrawPrototype3ShowerCalib_Sum ()
 
double GetMu2Pi (const double E)
 
void RejectionCompare (const double E=4)
 
TGraphErrors * GetSimRejCurve (const TString physics_lst, const TString energy, const TString particle)
 
void LineShapeCompare (const double E=4, const TString physics_lst="QGSP_BERT_HP")
 
void LineShapeCompare_Electron (const double E=4, const TString physics_lst="QGSP_BERT_HP")
 
TGraphErrors * FitProfile (const TH2 *h2)
 
TGraphErrors * Distribution2Efficiency (TH1F *hCEMC3_Max)
 
TGraphErrors * GetTGraphRatio (TGraphErrors *input, TGraphErrors *baseline)
 

Variables

TCut event_sel
 
TString cuts
 
TFile * _file0 = NULL
 
TTree * T = NULL
 

Function Documentation

TGraphErrors* Distribution2Efficiency ( TH1F *  hCEMC3_Max)

Definition at line 515 of file DrawPrototype3ShowerCalib_Sum.C.

View newest version in sPHENIX GitHub at line 515 of file DrawPrototype3ShowerCalib_Sum.C

References A, assert, i, n, and physmon_track_finding_ttbar::z.

void DrawPrototype3ShowerCalib_Sum ( )

Definition at line 40 of file DrawPrototype3ShowerCalib_Sum.C.

View newest version in sPHENIX GitHub at line 40 of file DrawPrototype3ShowerCalib_Sum.C

References RejectionCompare(), and SetOKStyle().

+ Here is the call graph for this function:

TGraphErrors* FitProfile ( const TH2 *  h2)

Definition at line 452 of file DrawPrototype3ShowerCalib_Sum.C.

View newest version in sPHENIX GitHub at line 452 of file DrawPrototype3ShowerCalib_Sum.C

References std::tr1::f2, h1, i, n, ambiguity_solver_full_chain::x, and y.

double GetMu2Pi ( const double  E)

Definition at line 76 of file DrawPrototype3ShowerCalib_Sum.C.

View newest version in sPHENIX GitHub at line 76 of file DrawPrototype3ShowerCalib_Sum.C

References assert.

TGraphErrors* GetSimRejCurve ( const TString  physics_lst,
const TString  energy,
const TString  particle 
)

Definition at line 274 of file DrawPrototype3ShowerCalib_Sum.C.

View newest version in sPHENIX GitHub at line 274 of file DrawPrototype3ShowerCalib_Sum.C

References assert, Distribution2Efficiency(), f, and filename.

+ Here is the call graph for this function:

TGraphErrors* GetTGraphRatio ( TGraphErrors *  input,
TGraphErrors *  baseline 
)

Definition at line 554 of file DrawPrototype3ShowerCalib_Sum.C.

View newest version in sPHENIX GitHub at line 554 of file DrawPrototype3ShowerCalib_Sum.C

References assert, and i.

void LineShapeCompare ( const double  E = 4,
const TString  physics_lst = "QGSP_BERT_HP" 
)

Definition at line 295 of file DrawPrototype3ShowerCalib_Sum.C.

View newest version in sPHENIX GitHub at line 295 of file DrawPrototype3ShowerCalib_Sum.C

References assert, E, energy, GetMu2Pi(), ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), and t.

+ Here is the call graph for this function:

void LineShapeCompare_Electron ( const double  E = 4,
const TString  physics_lst = "QGSP_BERT_HP" 
)

Definition at line 394 of file DrawPrototype3ShowerCalib_Sum.C.

View newest version in sPHENIX GitHub at line 394 of file DrawPrototype3ShowerCalib_Sum.C

References assert, E, energy, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), and t.

+ Here is the call graph for this function:

void RejectionCompare ( const double  E = 4)

Definition at line 103 of file DrawPrototype3ShowerCalib_Sum.C.

View newest version in sPHENIX GitHub at line 103 of file DrawPrototype3ShowerCalib_Sum.C

References assert, Distribution2Efficiency(), E, Acts::UnitConstants::e, energy, GetMu2Pi(), GetSimRejCurve(), GetTGraphRatio(), i, ambiguity_solver_full_chain::idx, leg, merge_hashes::p, SaveCanvas(), and t.

+ Here is the call graph for this function:

Variable Documentation

TFile* _file0 = NULL

Definition at line 27 of file DrawPrototype3ShowerCalib_Sum.C.

View newest version in sPHENIX GitHub at line 27 of file DrawPrototype3ShowerCalib_Sum.C

TString cuts

Definition at line 26 of file DrawPrototype3ShowerCalib_Sum.C.

View newest version in sPHENIX GitHub at line 26 of file DrawPrototype3ShowerCalib_Sum.C

TCut event_sel

Definition at line 25 of file DrawPrototype3ShowerCalib_Sum.C.

View newest version in sPHENIX GitHub at line 25 of file DrawPrototype3ShowerCalib_Sum.C

TTree* T = NULL

Definition at line 28 of file DrawPrototype3ShowerCalib_Sum.C.

View newest version in sPHENIX GitHub at line 28 of file DrawPrototype3ShowerCalib_Sum.C