This class stores those command line arguments passed to GRSISort, that are pertinent to the analysis. This includes such settings as the addback window width, whether to correct cross talk, etc.
Definition at line 23 of file TAnalysisOptions.h.
Public Member Functions | |
TAnalysisOptions () | |
double | AddbackWindow () |
bool | BuildEventsByTimeStamp () |
long int | BuildWindow () |
void | Clear (Option_t *opt="") override |
bool | IsCorrectingCrossTalk () |
bool | IsWaveformFitting () |
void | Print (Option_t *opt="") const override |
void | ReadFromFile (const std::string &file) |
void | ReadFromFile (TFile *file=nullptr) |
void | SetAddbackWindow (const double t_abw) |
void | SetBuildEventsByTimeStamp (bool val) |
void | SetBuildWindow (const long int t_bw) |
void | SetCorrectCrossTalk (const bool flag, Option_t *opt="") |
void | SetSuppressionEnergy (const double e_sup) |
void | SetSuppressionWindow (const double t_sup) |
void | SetWaveformFitting (const bool flag) |
bool | StaticWindow () const |
double | SuppressionEnergy () |
double | SuppressionWindow () |
bool | WriteToFile (const std::string &file) |
bool | WriteToFile (TFile *file=nullptr) |
Private Attributes | |
int | fAddbackWindow |
bool | fBuildEventsByTimeStamp |
long int | fBuildWindow |
bool | fIsCorrectingCrossTalk |
bool | fStaticWindow |
double | fSuppressionEnergy |
double | fSuppressionWindow |
bool | fWaveformFitting |
Friends | |
class | TGRSIOptions |
#include <TAnalysisOptions.h>
TAnalysisOptions::TAnalysisOptions | ( | ) |
Definition at line 15 of file TAnalysisOptions.cxx.
References Clear().
|
inline |
Definition at line 52 of file TAnalysisOptions.h.
References fAddbackWindow.
Referenced by TFipps::CTCorrectedEnergy(), TIfin::CTCorrectedEnergy(), TGriffin::CTCorrectedEnergy(), DefaultAddback(), DefaultFippsAddback(), DefaultGriffinAddback(), and DefaultIfinAddback().
|
inline |
Definition at line 51 of file TAnalysisOptions.h.
References fBuildEventsByTimeStamp.
|
inline |
Definition at line 50 of file TAnalysisOptions.h.
References fBuildWindow.
Referenced by TGRSIint::SetupPipeline().
|
override |
Clears all of the variables in the TAnalysisOptions
Definition at line 20 of file TAnalysisOptions.cxx.
References fAddbackWindow, fBuildEventsByTimeStamp, fBuildWindow, fIsCorrectingCrossTalk, fStaticWindow, fSuppressionEnergy, fSuppressionWindow, and fWaveformFitting.
Referenced by TGRSIOptions::Clear(), and TAnalysisOptions().
|
inline |
Definition at line 48 of file TAnalysisOptions.h.
References fIsCorrectingCrossTalk.
Referenced by TFipps::FixCrossTalk().
|
inline |
Definition at line 45 of file TAnalysisOptions.h.
References fWaveformFitting.
Referenced by TS3::AddFragment(), and TTigress::BuildHits().
|
override |
Print the current status of TAnalysisOptions, includes all names, lists and flags
Definition at line 33 of file TAnalysisOptions.cxx.
References BLUE, DCYAN, fAddbackWindow, fBuildEventsByTimeStamp, fBuildWindow, fIsCorrectingCrossTalk, fStaticWindow, fSuppressionEnergy, fSuppressionWindow, fWaveformFitting, and RESET_COLOR.
Referenced by TGRSIOptions::Print(), and TGRSIint::SetupPipeline().
void TAnalysisOptions::ReadFromFile | ( | const std::string & | file | ) |
Definition at line 101 of file TAnalysisOptions.cxx.
Referenced by TGRSIOptions::Load(), main(), and TGRSISelector::Process().
void TAnalysisOptions::ReadFromFile | ( | TFile * | file = nullptr | ) |
Definition at line 110 of file TAnalysisOptions.cxx.
References CYAN, and RESET_COLOR.
|
inline |
Definition at line 40 of file TAnalysisOptions.h.
References fAddbackWindow.
|
inline |
Definition at line 39 of file TAnalysisOptions.h.
References fBuildEventsByTimeStamp.
|
inline |
Definition at line 38 of file TAnalysisOptions.h.
References fBuildWindow.
void TAnalysisOptions::SetCorrectCrossTalk | ( | const bool | flag, |
Option_t * | opt = "" |
||
) |
Definition at line 132 of file TAnalysisOptions.cxx.
References fIsCorrectingCrossTalk.
|
inline |
Definition at line 42 of file TAnalysisOptions.h.
References fSuppressionEnergy.
|
inline |
Definition at line 41 of file TAnalysisOptions.h.
References fSuppressionWindow.
|
inline |
Definition at line 44 of file TAnalysisOptions.h.
References fWaveformFitting.
|
inline |
Definition at line 70 of file TAnalysisOptions.h.
References fStaticWindow.
Referenced by TEventBuildingLoop::CheckTimeCondition(), and TEventBuildingLoop::CheckTimestampCondition().
|
inline |
Definition at line 65 of file TAnalysisOptions.h.
References fSuppressionEnergy.
Referenced by DefaultFippsSuppression(), DefaultGriffinSuppression(), DefaultIfinSuppression(), DefaultLaBrSuppression(), and DefaultSuppression().
|
inline |
Definition at line 60 of file TAnalysisOptions.h.
References fSuppressionWindow.
Referenced by DefaultFippsSuppression(), DefaultGriffinSuppression(), DefaultIfinSuppression(), DefaultLaBrSuppression(), and DefaultSuppression().
bool TAnalysisOptions::WriteToFile | ( | const std::string & | file | ) |
Definition at line 47 of file TAnalysisOptions.cxx.
Referenced by TGRSISelector::Terminate(), TAnalysisWriteLoop::Write(), and TGRSIOptions::WriteToFile().
bool TAnalysisOptions::WriteToFile | ( | TFile * | file = nullptr | ) |
Writes options information to the root file
Definition at line 57 of file TAnalysisOptions.cxx.
References Write().
|
friend |
Definition at line 24 of file TAnalysisOptions.h.
|
private |
Time used to build Addback-Ge-Events for TIGRESS/GRIFFIN. (default = 300 ns (300))
Definition at line 77 of file TAnalysisOptions.h.
Referenced by AddbackWindow(), Clear(), TGRSIOptions::Load(), Print(), and SetAddbackWindow().
|
private |
use time stamps instead of time (including CFD) to build events
Definition at line 76 of file TAnalysisOptions.h.
Referenced by BuildEventsByTimeStamp(), Clear(), TGRSIOptions::Load(), Print(), and SetBuildEventsByTimeStamp().
|
private |
if building with a window(GRIFFIN) this is the size of the window. (default = 2us (2000))
Definition at line 75 of file TAnalysisOptions.h.
Referenced by BuildWindow(), Clear(), TGRSIOptions::Load(), Print(), and SetBuildWindow().
|
private |
True if we are correcting for cross-talk in GRIFFIN at analysis-level.
Definition at line 80 of file TAnalysisOptions.h.
Referenced by Clear(), IsCorrectingCrossTalk(), TGRSIOptions::Load(), Print(), and SetCorrectCrossTalk().
|
private |
Flag to use static window (default moving)
Definition at line 82 of file TAnalysisOptions.h.
Referenced by Clear(), TGRSIOptions::Load(), Print(), and StaticWindow().
|
private |
Minimum energy used to suppress Ge-Events. (default = 0 keV)
Definition at line 79 of file TAnalysisOptions.h.
Referenced by Clear(), TGRSIOptions::Load(), Print(), SetSuppressionEnergy(), and SuppressionEnergy().
|
private |
Time used to suppress Ge-Events. (default = 300 ns (300))
Definition at line 78 of file TAnalysisOptions.h.
Referenced by Clear(), TGRSIOptions::Load(), Print(), SetSuppressionWindow(), and SuppressionWindow().
|
private |
If true, waveform fitting with SFU algorithm will be performed.
Definition at line 81 of file TAnalysisOptions.h.
Referenced by Clear(), IsWaveformFitting(), TGRSIOptions::Load(), Print(), and SetWaveformFitting().