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

Go to the source code of this file.

Functions

void DrawEcal_pDST (const TString infile="G4Hits_sPHENIX_gamma_eta0_8GeV-0000.root_Ana.root")
 
void MakeRadiusCut (TString infile, const double R_CEMC, const double R_HCALIN, TCut good_track_cut)
 
void Edep_Checks (TString infile, const double R_CEMC, const double R_HCALIN, TCut good_track_cut)
 
void TrackProjection_Checks (TString infile, TCut good_track_cut)
 
void UpsilonPair_Checks (TString infile)
 
TGraphErrors * Distribution2Efficiency (TH1F *hCEMC3_Max)
 
void TrackProjection_Checks_Comparison ()
 
void Logs ()
 

Variables

TFile * _file0 = NULL
 
TTree * T = NULL
 
TString cuts = ""
 

Function Documentation

TGraphErrors* Distribution2Efficiency ( TH1F *  hCEMC3_Max)

Definition at line 509 of file DrawEcal_pDST.C.

View newest version in sPHENIX GitHub at line 509 of file DrawEcal_pDST.C

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

void DrawEcal_pDST ( const TString  infile = "G4Hits_sPHENIX_gamma_eta0_8GeV-0000.root_Ana.root")

Definition at line 26 of file DrawEcal_pDST.C.

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

References _file0, assert, cuts, event_sel, infile, n, next, out, SetOKStyle(), t, Acts::UnitConstants::T, and TrackProjection_Checks().

+ Here is the call graph for this function:

void Edep_Checks ( TString  infile,
const double  R_CEMC,
const double  R_HCALIN,
TCut  good_track_cut 
)

Definition at line 285 of file DrawEcal_pDST.C.

View newest version in sPHENIX GitHub at line 285 of file DrawEcal_pDST.C

References _file0, cuts, Acts::UnitConstants::e, ambiguity_solver_full_chain::idx, MakeRadiusCut(), merge_hashes::p, SaveCanvas(), and Acts::UnitConstants::T.

+ Here is the call graph for this function:

void Logs ( )

Definition at line 615 of file DrawEcal_pDST.C.

View newest version in sPHENIX GitHub at line 615 of file DrawEcal_pDST.C

void MakeRadiusCut ( TString  infile,
const double  R_CEMC,
const double  R_HCALIN,
TCut  good_track_cut 
)

Definition at line 101 of file DrawEcal_pDST.C.

View newest version in sPHENIX GitHub at line 101 of file DrawEcal_pDST.C

References _file0, assert, cuts, Distribution2Efficiency(), Acts::UnitConstants::e, f, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), and Acts::UnitConstants::T.

+ Here is the call graph for this function:

void TrackProjection_Checks ( TString  infile,
TCut  good_track_cut 
)

Definition at line 371 of file DrawEcal_pDST.C.

View newest version in sPHENIX GitHub at line 371 of file DrawEcal_pDST.C

References _file0, cuts, Acts::UnitConstants::e, ambiguity_solver_full_chain::idx, merge_hashes::p, proj(), SaveCanvas(), and Acts::UnitConstants::T.

+ Here is the call graph for this function:

void TrackProjection_Checks_Comparison ( )

Definition at line 548 of file DrawEcal_pDST.C.

View newest version in sPHENIX GitHub at line 548 of file DrawEcal_pDST.C

References assert, Draw(), f, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), SetOKStyle(), and text().

+ Here is the call graph for this function:

void UpsilonPair_Checks ( TString  infile)

Definition at line 466 of file DrawEcal_pDST.C.

View newest version in sPHENIX GitHub at line 466 of file DrawEcal_pDST.C

References _file0, cuts, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), and Acts::UnitConstants::T.

+ Here is the call graph for this function:

Variable Documentation

TFile* _file0 = NULL

Definition at line 21 of file DrawEcal_pDST.C.

View newest version in sPHENIX GitHub at line 21 of file DrawEcal_pDST.C

TString cuts = ""

Definition at line 23 of file DrawEcal_pDST.C.

View newest version in sPHENIX GitHub at line 23 of file DrawEcal_pDST.C

TTree* T = NULL

Definition at line 22 of file DrawEcal_pDST.C.

View newest version in sPHENIX GitHub at line 22 of file DrawEcal_pDST.C