Analysis Software
Documentation for sPHENIX simulation software
|
Public Member Functions | |
MaterialHistograms ()=default | |
MaterialHistograms (const std::string &name, unsigned int iA, unsigned int bins, float eta) | |
void | fillAndClear (float eta, float phi) |
void | write () |
Public Attributes | |
TProfile * | x0_vs_eta = nullptr |
TProfile * | l0_vs_eta = nullptr |
TProfile * | x0_vs_phi = nullptr |
TProfile * | l0_vs_phi = nullptr |
float | s_x0 = 0. |
float | s_l0 = 0. |
Definition at line 22 of file materialComposition.C.
View newest version in sPHENIX GitHub at line 22 of file materialComposition.C
|
default |
|
inline |
Material histogram constructor
iA | the atomic number |
Definition at line 37 of file materialComposition.C.
View newest version in sPHENIX GitHub at line 37 of file materialComposition.C
References bins, eta, l0_vs_eta, l0_vs_phi, to_string(), x0_vs_eta, and x0_vs_phi.
|
inline |
This fills the event into the histograms and clears the cache accordingly
eta | the pseudorapidity value |
phi | the phi value |
Definition at line 70 of file materialComposition.C.
View newest version in sPHENIX GitHub at line 70 of file materialComposition.C
References l0_vs_eta, l0_vs_phi, s_l0, s_x0, x0_vs_eta, and x0_vs_phi.
|
inline |
Write out the histograms, the TDirectory needs to be set before
Histograms with no contribution will not be written to file.
Definition at line 86 of file materialComposition.C.
View newest version in sPHENIX GitHub at line 86 of file materialComposition.C
TProfile* MaterialHistograms::l0_vs_eta = nullptr |
Definition at line 24 of file materialComposition.C.
View newest version in sPHENIX GitHub at line 24 of file materialComposition.C
Referenced by fillAndClear(), MaterialHistograms(), and write().
TProfile* MaterialHistograms::l0_vs_phi = nullptr |
Definition at line 27 of file materialComposition.C.
View newest version in sPHENIX GitHub at line 27 of file materialComposition.C
Referenced by fillAndClear(), MaterialHistograms(), and write().
float MaterialHistograms::s_l0 = 0. |
Definition at line 30 of file materialComposition.C.
View newest version in sPHENIX GitHub at line 30 of file materialComposition.C
Referenced by fillAndClear().
float MaterialHistograms::s_x0 = 0. |
Definition at line 29 of file materialComposition.C.
View newest version in sPHENIX GitHub at line 29 of file materialComposition.C
Referenced by fillAndClear().
TProfile* MaterialHistograms::x0_vs_eta = nullptr |
Definition at line 23 of file materialComposition.C.
View newest version in sPHENIX GitHub at line 23 of file materialComposition.C
Referenced by fillAndClear(), MaterialHistograms(), and write().
TProfile* MaterialHistograms::x0_vs_phi = nullptr |
Definition at line 26 of file materialComposition.C.
View newest version in sPHENIX GitHub at line 26 of file materialComposition.C
Referenced by fillAndClear(), MaterialHistograms(), and write().