Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Examples/Scripts/TrackingPerformance/CommonUtils.h>
Public Member Functions | |
void | fill (unsigned int entry) |
Public Attributes | |
std::string | tag = "" |
A tag name. | |
std::string | residualStr = "" |
Title and names: residual. | |
std::string | residualUnit = "" |
std::string | errorStr = "" |
Title and names: error. | |
std::string | rangeDrawStr = "" |
The rangeDrawStr draw string. | |
std::string | rangeMaxStr = "" |
std::string | rangeCutStr = "" |
std::array< float, 2 > | range = {0., 0.} |
The range array. | |
std::function< float(ULong64_t)> | value |
std::function< float(ULong64_t)> | error |
The associated error accessor. | |
std::function< bool(ULong64_t)> | accept |
The acceptance. | |
TH1F * | rangeHist = nullptr |
TH1F * | residualHist = nullptr |
TH1F * | pullHist = nullptr |
ULong64_t | accepted = 0 |
A Parameter handle struct to deal with residuals and pulls.
This struct allows to define accessors and cuts for residual and pull analysis in order to be able to access them in an ROOT event loop
Definition at line 115 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 115 of file CommonUtils.h
|
inline |
Fill the entry
entry | is the current TTree entry to be processed |
Definition at line 155 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 155 of file CommonUtils.h
References accept, accepted, error, pullHist, residualHist, testSigmaEff::v, and value.
std::function<bool(ULong64_t)> ResidualPullHandle::accept |
The acceptance.
Definition at line 142 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 142 of file CommonUtils.h
Referenced by fill().
ULong64_t ResidualPullHandle::accepted = 0 |
Definition at line 150 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 150 of file CommonUtils.h
Referenced by fill().
std::function<float(ULong64_t)> ResidualPullHandle::error |
The associated error accessor.
Definition at line 139 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 139 of file CommonUtils.h
Referenced by fill().
std::string ResidualPullHandle::errorStr = "" |
Title and names: error.
Definition at line 124 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 124 of file CommonUtils.h
Referenced by bookHistograms().
TH1F* ResidualPullHandle::pullHist = nullptr |
Definition at line 148 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 148 of file CommonUtils.h
Referenced by bookHistograms(), and fill().
std::array<float, 2> ResidualPullHandle::range = {0., 0.} |
The range array.
Definition at line 132 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 132 of file CommonUtils.h
Referenced by bookHistograms(), and estimateResiudalRange().
std::string ResidualPullHandle::rangeCutStr = "" |
Definition at line 129 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 129 of file CommonUtils.h
Referenced by estimateResiudalRange().
std::string ResidualPullHandle::rangeDrawStr = "" |
The rangeDrawStr draw string.
Definition at line 127 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 127 of file CommonUtils.h
Referenced by estimateResiudalRange().
TH1F* ResidualPullHandle::rangeHist = nullptr |
Definition at line 144 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 144 of file CommonUtils.h
Referenced by estimateResiudalRange().
std::string ResidualPullHandle::rangeMaxStr = "" |
Definition at line 128 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 128 of file CommonUtils.h
Referenced by estimateResiudalRange().
TH1F* ResidualPullHandle::residualHist = nullptr |
Definition at line 146 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 146 of file CommonUtils.h
Referenced by bookHistograms(), and fill().
std::string ResidualPullHandle::residualStr = "" |
Title and names: residual.
Definition at line 120 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 120 of file CommonUtils.h
Referenced by bookHistograms().
std::string ResidualPullHandle::residualUnit = "" |
Definition at line 121 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 121 of file CommonUtils.h
Referenced by bookHistograms().
std::string ResidualPullHandle::tag = "" |
A tag name.
Definition at line 117 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 117 of file CommonUtils.h
Referenced by bookHistograms().
std::function<float(ULong64_t)> ResidualPullHandle::value |
Value function that allows to create combined parameters
Definition at line 136 of file CommonUtils.h.
View newest version in sPHENIX GitHub at line 136 of file CommonUtils.h
Referenced by pump.Token::__str__(), pump.Token::Clone(), and fill().