195 static void SetRunInfo(
int runnum = 0,
int subrunnum = -1);
212 if(run_title !=
nullptr) {
Get()->
fRunTitle.assign(run_title); }
216 if(run_comment !=
nullptr) {
Get()->
fRunComment.assign(run_comment); }
247 static Bool_t
ParseInputData(
const char* inputdata =
"", Option_t* opt =
"q");
255 Long64_t
Merge(TCollection* list);
269 static std::string
CreateLabel(
bool quiet =
false);
274 void Print(Option_t* opt =
"")
const override;
275 void Clear(Option_t* opt =
"")
override;
std::string fDate
The date of the last commit used in this version - GRSI_GIT_COMMIT_TIME from GVersion....
static void SetXMLODBFileData(const char *data)
TRunInfo(const TRunInfo &)=default
static void ClearVersion()
static void SetRunInfoFile(const char *ffile)
int fFirstSubRunNumber
The first sub run number (for combined subruns)
double fRunStart
The start of the current run in seconds - no idea why we store this as double?
std::string fRunInfoFileName
The name of the Run info file.
static void SetRunComment(const char *run_comment)
std::vector< int > fBadCycleList
!List of bad cycles to be used for cycle rejection
static void ClearLibraryPath()
static int LastRunNumber()
int fLastSubRunNumber
The last sub run number (for combined subruns)
static void SetRunStart(double tmp)
static void SetDate(const char *ver)
static void SetXMLODBFileName(const char *name)
static std::string PrintToString(Option_t *opt="")
void PrintRunList() const
std::string fFullVersion
The full version of GRSISort that generated the file (includes last commit) - GRSI_GIT_COMMIT from GV...
std::string fRunInfoFile
The contents of the run info file.
int fLastRunNumber
The last run number (for combined runs)
static void SetVersion(std::string ver)
static void RemoveBadCycle(int cycle)
static void SetFullVersion(const char *ver)
Long64_t Merge(TCollection *list)
static int SubRunNumber()
std::string fLibraryPath
The path of the parser/file library that generated the file.
static void SetRunStop(double tmp)
static Bool_t ReadInfoFile(const char *filename="")
void Clear(Option_t *opt="") override
static std::string GetLibraryVersion()
static Bool_t ParseInputData(const char *inputdata="", Option_t *opt="q")
void Add(TRunInfo *runinfo, bool verbose=false)
std::string fXMLODBFileName
Name of XML Odb file.
static int LastSubRunNumber()
std::string fCalFile
Cal File to load into Cal of tree.
static std::string RunComment()
static void AddBadCycle(int bad_cycle)
std::string fRunComment
The comment on the run.
static bool WriteToRoot(TFile *fileptr=nullptr)
static std::string RunTitle()
static int FirstSubRunNumber()
static const char * GetRunInfoFileData()
static void SetSubRunNumber(int tmp)
static void ClearFullVersion()
void Print(Option_t *opt="") const override
static double HPGeArrayPosition()
int fRunNumber
The current run number.
static int FirstRunNumber()
static void SetCalFileData(const char *data)
static void SetCalFileName(const char *name)
static double RunLength()
static void SetRunNumber(int tmp)
TDetectorInformation * fDetectorInformation
! pointer to detector specific information (set by each parser library)
static const char * GetXMLODBFileData()
static std::string GetLibraryPath()
static const char * GetXMLODBFileName()
static void SetRunLength(double tmp)
static void SetHPGeArrayPosition(const double arr_pos)
double fRunStop
The stop of the current run in seconds - no idea why we store this as double?
static void SetRunInfo(int runnum=0, int subrunnum=-1)
std::string ListOfMissingRuns(bool all=false) const
static const char * GetCalFileName()
static std::string GetFullVersion()
static std::string CreateLabel(bool quiet=false)
std::string fCalFileName
Name of calfile that generated cal.
static const char * GetRunInfoFileName()
static std::string GetDate()
int fFirstRunNumber
The first run number (for combined runs)
static void ClearLibraryVersion()
std::string fRunTitle
The title of the run.
static void SetAnalysisTreeBranches(TTree *)
static const char * GetCalFileData()
static std::string GetVersion()
static void SetVersion(const char *ver)
std::string fLibraryVersion
The version of the parser/file library that generated the file.
virtual TEventBuildingLoop::EBuildMode BuildMode() const
static void SetDetectorInformation(TDetectorInformation *inf)
void PrintVersion() const
double fHPGeArrayPosition
Position of the HPGe Array (default = 110.0 mm );.
std::string fVersion
The version of GRSISort that generated the file - GRSI_RELEASE from GVersion.h.
static void SetFullVersion(std::string ver)
static void SetLibraryVersion(std::string ver)
static Bool_t ReadInfoFromFile(TFile *tempf=nullptr)
static void SetLibraryVersion(const char *ver)
static bool WriteInfoFile(const std::string &filename)
double fRunLength
The length of the current run in seconds - no idea why we store this as double?
static void SetDate(std::string ver)
static void SetLibraryPath(std::string ver)
static void SetRunTitle(const char *run_title)
std::set< std::pair< int, int > > fRunList
List of all runs added to this run info.
static void SetRunLength()
TRunInfo(TRunInfo &&) noexcept=default
std::string fXMLODBFile
The odb.
static bool IsBadCycle(int cycle)
static void PrintBadCycles()
static void SetRunInfoFileName(const char *fname)
static void SetLibraryPath(const char *ver)
int fSubRunNumber
The current sub run number.
static TDetectorInformation * GetDetectorInformation()
static TRunInfo * Get(bool verbose=false)