NCFS-Pack
A generic (astro)particle physics analysis framework
 
Loading...
Searching...
No Matches
NcVersion.cxx
Go to the documentation of this file.
1
31
33
62
63#include "NcVersion.h"
64#include "Riostream.h"
65
66ClassImp(NcVersion); // Class implementation to enable ROOT I/O
67
70{
76
77 fVersion="6.4a";
78 fRev="Branch: master";
79 fDate="October 1, 2025 11:05 UTC";
80}
81
90
91NcVersion::NcVersion(const NcVersion& v) : TObject(v)
92{
98
100 fRev=v.fRev;
101 fDate=v.fDate;
102}
103
105{
111
113 fRev=q.fRev;
114 fDate=q.fDate;
115
116 return *this;
117}
118
119void NcVersion::Data() const
120{
126
127 cout << endl;
128 cout << " *" << ClassName() << "* Version information." << endl;
129 cout << " NCFS-Pack version : " << fVersion << " corresponding to GIT " << fRev << endl;
130 cout << " Created at " << fDate << endl;
131 cout << endl;
132}
133
135{
141
142 return fVersion;
143}
144
ClassImp(NcVersion)
Facility to provide version information.
Definition NcVersion.h:12
TString fDate
Definition NcVersion.h:24
NcVersion & operator=(const NcVersion &q)
TString GetVersion() const
TString fRev
Definition NcVersion.h:23
virtual void Data() const
TString fVersion
Definition NcVersion.h:22
virtual ~NcVersion()
Definition NcVersion.cxx:82