EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
FairTimeStamp.cxx
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file FairTimeStamp.cxx
1
#include "
FairTimeStamp.h
"
2
3
// ----- Default constructor -------------------------------------------
4
FairTimeStamp::FairTimeStamp
()
5
:
FairMultiLinkedData
(),
6
fTimeStamp(-1),
7
fTimeStampError(-1),
8
fEntryNr()
9
{
10
}
11
// ----- Standard constructor ------------------------------------------
12
FairTimeStamp::FairTimeStamp
(Double_t
time
)
13
:
FairMultiLinkedData
(),
14
fTimeStamp(time),
15
fTimeStampError(-1),
16
fEntryNr()
17
{
18
}
19
20
FairTimeStamp::FairTimeStamp
(Double_t
time
, Double_t timeerror)
21
:
FairMultiLinkedData
(),
22
fTimeStamp(time),
23
fTimeStampError(timeerror),
24
fEntryNr()
25
{
26
}
27
// ----- Destructor ----------------------------------------------------
28
FairTimeStamp::~FairTimeStamp
()
29
{
30
}
31
32
// -------------------------------------------------------------------------
33
34
void
FairTimeStamp::Print
(std::ostream& out)
const
35
{
36
out <<
"EntryNr of Data: "
<<
fEntryNr
<<
" TimeStamp: "
<<
GetTimeStamp
() <<
" +/- "
<<
GetTimeStampError
() << std::endl;
37
FairMultiLinkedData::Print
(out);
38
}
39
ClassImp
(
FairTimeStamp
)
EicRoot
blob
master
base
FairTimeStamp.cxx
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:32
using
1.8.2 with
EIC GitHub integration