KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVRunFile.cpp
1//Created by KVClassFactory on Thu Aug 4 12:08:39 2016
2//Author: John Frankland,,,
3
4#include "KVRunFile.h"
5
7
8
9
11
13 : KVBase(), fRun(nullptr)
14{
15 // Default constructor
16}
17
18
19
21
22KVRunFile::KVRunFile(KVDBRun* r, const KVString& f, const KVDatime& d, const KVString& v, const KVString& w)
23 : KVBase(f, "KVRunFile"), fRun(r), fFileWritten(d), fVersion(v), fUser(w)
24{
25
26}
27
28
29
30
33
35{
36 // Destructor
37}
38
39
40
41
45
47{
48 // Compare two run numbers for sorting lists.
49 // Lists will be sorted in ascending order.
50
51 KVRunFile* dbobj =
52 dynamic_cast < KVRunFile* >(const_cast < TObject* >(obj));
53 return (dbobj->GetRunNumber() ==
54 GetRunNumber() ? 0 : (dbobj->GetRunNumber() > GetRunNumber() ? -1 : 1));
55}
56
57
int Int_t
ROOT::R::TRInterface & r
#define d(i)
#define f(i)
winID w
Base class for KaliVeda framework.
Definition KVBase.h:142
Description of an experimental run in database ,,.
Definition KVDBRun.h:36
Extension of TDatime to handle various useful date formats.
Definition KVDatime.h:33
Description of an individual run file in an experimental dataset.
Definition KVRunFile.h:19
KVRunFile()
Default constructor.
Definition KVRunFile.cpp:12
Int_t GetRunNumber() const
Definition KVRunFile.h:35
Int_t Compare(const TObject *obj) const
Definition KVRunFile.cpp:46
virtual ~KVRunFile()
Destructor.
Definition KVRunFile.cpp:34
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition KVString.h:73
v
ClassImp(TPyArg)