FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairTimeStamp Class Reference

#include <FairTimeStamp.h>

Inheritance diagram for FairTimeStamp:
FairMultiLinkedData_Interface FairHit FairTestDetectorDigi MyDigi PixelDigi PixelTrack FairTestDetectorHit FairTutorialDet4Hit FairTutPropHit MyHit PixelHit

Public Member Functions

 FairTimeStamp ()
 
 FairTimeStamp (Double_t time)
 
 FairTimeStamp (Double_t time, Double_t timeerror)
 
virtual ~FairTimeStamp ()
 
Double_t GetTimeStamp () const
 
Double_t GetTimeStampError () const
 
void SetTimeStamp (Double_t t)
 
void SetTimeStampError (Double_t t)
 
virtual Int_t Compare (const TObject *obj) const
 
virtual std::ostream & PrintTimeInfo (std::ostream &out=std::cout) const
 
virtual Bool_t IsSortable () const
 
virtual bool equal (FairTimeStamp *data)
 
virtual bool operator< (const FairTimeStamp *rValue) const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
- Public Member Functions inherited from FairMultiLinkedData_Interface
 FairMultiLinkedData_Interface ()=default
 Default constructor. More...
 
 FairMultiLinkedData_Interface (FairMultiLinkedData &links, Bool_t persistanceCheck=kTRUE)
 Constructor. More...
 
 FairMultiLinkedData_Interface (TString dataType, std::vector< Int_t > links, Int_t fileId=-1, Int_t evtId=-1, Bool_t persistanceCheck=kTRUE, Bool_t bypass=kFALSE, Float_t mult=1.0)
 Constructor. More...
 
 FairMultiLinkedData_Interface (Int_t dataType, std::vector< Int_t > links, Int_t fileId=-1, Int_t evtId=-1, Bool_t persistanceCheck=kTRUE, Bool_t bypass=kFALSE, Float_t mult=1.0)
 Constructor. More...
 
 FairMultiLinkedData_Interface (const FairMultiLinkedData_Interface &toCopy)
 
 ~FairMultiLinkedData_Interface ()=default
 
FairMultiLinkedData_Interfaceoperator= (const FairMultiLinkedData_Interface &rhs)
 
std::set< FairLinkGetLinks () const
 returns stored links as FairLinks More...
 
Int_t GetNLinks () const
 returns the number of stored links More...
 
FairLink GetLink (Int_t pos) const
 returns the FairLink at the given position More...
 
FairMultiLinkedData GetLinksWithType (Int_t type) const
 returns all FairLinks with the corresponding type More...
 
FairLink GetEntryNr () const
 
FairMultiLinkedDataGetPointerToLinks () const
 returns non-owning pointer More...
 
std::vector< FairLinkGetSortedMCTracks ()
 
void SetLinks (FairMultiLinkedData links)
 Sets the links as vector of FairLink. More...
 
void SetLink (FairLink link)
 Sets the Links with a single FairLink. More...
 
void SetInsertHistory (Bool_t val)
 
void SetEntryNr (FairLink val)
 
void SetPointerToLinks (FairMultiLinkedData *links)
 
void SetPointerToLinks (std::unique_ptr< FairMultiLinkedData > links)
 
void AddLinks (FairMultiLinkedData links, Float_t mult=1.0)
 Adds a List of FairLinks (FairMultiLinkedData_Interface) to fLinks. More...
 
void AddLink (FairLink link)
 
void AddInterfaceData (FairMultiLinkedData_Interface *data)
 
void ResetLinks ()
 
std::ostream & PrintLinkInfo (std::ostream &out=std::cout) const
 Output. More...
 

Protected Member Functions

 ClassDef (FairTimeStamp, 4)
 
- Protected Member Functions inherited from FairMultiLinkedData_Interface
FairMultiLinkedDataCreateFairMultiLinkedData ()
 returns non-owning pointer More...
 
 ClassDef (FairMultiLinkedData_Interface, 6)
 

Protected Attributes

Double_t fTimeStamp
 
Double_t fTimeStampError
 
- Protected Attributes inherited from FairMultiLinkedData_Interface
std::unique_ptr
< FairMultiLinkedData
fLink
 

Friends

class boost::serialization::access
 
std::ostream & operator<< (std::ostream &out, const FairTimeStamp &link)
 

Detailed Description

Base class for Time stamp information Aug. 2010

Author
M.Al-Turany m.al-.nosp@m.tura.nosp@m.ny@gs.nosp@m.i.de

Definition at line 31 of file FairTimeStamp.h.

Constructor & Destructor Documentation

FairTimeStamp::FairTimeStamp ( )
inline

Default constructor

Definition at line 108 of file FairTimeStamp.h.

FairTimeStamp::FairTimeStamp ( Double_t  time)
inline

Constructor with time

Definition at line 115 of file FairTimeStamp.h.

FairTimeStamp::FairTimeStamp ( Double_t  time,
Double_t  timeerror 
)
inline

Constructor with time and time error

Definition at line 121 of file FairTimeStamp.h.

virtual FairTimeStamp::~FairTimeStamp ( )
inlinevirtual

Destructor

Definition at line 42 of file FairTimeStamp.h.

Member Function Documentation

FairTimeStamp::ClassDef ( FairTimeStamp  ,
 
)
protected

Error on time stamp

virtual Int_t FairTimeStamp::Compare ( const TObject *  obj) const
inlinevirtual

Definition at line 49 of file FairTimeStamp.h.

virtual bool FairTimeStamp::equal ( FairTimeStamp data)
inlinevirtual

Reimplemented in FairTestDetectorDigi, and MyDigi.

Definition at line 71 of file FairTimeStamp.h.

Double_t FairTimeStamp::GetTimeStamp ( ) const
inline

Accessors

Definition at line 44 of file FairTimeStamp.h.

Double_t FairTimeStamp::GetTimeStampError ( ) const
inline

Definition at line 45 of file FairTimeStamp.h.

virtual Bool_t FairTimeStamp::IsSortable ( ) const
inlinevirtual

Definition at line 69 of file FairTimeStamp.h.

virtual bool FairTimeStamp::operator< ( const FairTimeStamp rValue) const
inlinevirtual

Definition at line 82 of file FairTimeStamp.h.

std::ostream & FairTimeStamp::PrintTimeInfo ( std::ostream &  out = std::cout) const
virtual

Definition at line 10 of file FairTimeStamp.cxx.

template<class Archive >
void FairTimeStamp::serialize ( Archive &  ar,
const unsigned  int 
)
inline

Definition at line 91 of file FairTimeStamp.h.

void FairTimeStamp::SetTimeStamp ( Double_t  t)
inline

Modifiers

Definition at line 47 of file FairTimeStamp.h.

void FairTimeStamp::SetTimeStampError ( Double_t  t)
inline

Definition at line 48 of file FairTimeStamp.h.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 99 of file FairTimeStamp.h.

std::ostream& operator<< ( std::ostream &  out,
const FairTimeStamp link 
)
friend

Definition at line 76 of file FairTimeStamp.h.

Member Data Documentation

Double_t FairTimeStamp::fTimeStamp
protected

Definition at line 101 of file FairTimeStamp.h.

Double_t FairTimeStamp::fTimeStampError
protected

Time of digit or Hit [ns]

Definition at line 102 of file FairTimeStamp.h.


The documentation for this class was generated from the following files: