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

#include <MyDigi.h>

Inheritance diagram for MyDigi:
FairTimeStamp FairMultiLinkedData_Interface

Public Member Functions

 MyDigi ()
 
 MyDigi (Int_t x, Int_t y, Int_t z, Double_t timeStamp, Double_t timeStampError=0.0)
 
virtual ~MyDigi ()
 
void SetXYZ (Int_t x, Int_t y, Int_t z)
 
void SetX (Int_t x)
 
void SetY (Int_t y)
 
void SetZ (Int_t z)
 
Int_t GetX () const
 
Int_t GetY () const
 
Int_t GetZ () const
 
virtual bool equal (FairTimeStamp *data)
 
virtual bool operator< (const MyDigi &myDigi) const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
- Public Member Functions inherited from FairTimeStamp
 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 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...
 

Friends

class boost::serialization::access
 
std::ostream & operator<< (std::ostream &out, MyDigi &digi)
 

Additional Inherited Members

- Protected Member Functions inherited from FairTimeStamp
 ClassDef (FairTimeStamp, 4)
 
- Protected Member Functions inherited from FairMultiLinkedData_Interface
FairMultiLinkedDataCreateFairMultiLinkedData ()
 returns non-owning pointer More...
 
 ClassDef (FairMultiLinkedData_Interface, 6)
 
- Protected Attributes inherited from FairTimeStamp
Double_t fTimeStamp
 
Double_t fTimeStampError
 
- Protected Attributes inherited from FairMultiLinkedData_Interface
std::unique_ptr
< FairMultiLinkedData
fLink
 

Detailed Description

Definition at line 32 of file MyDigi.h.

Constructor & Destructor Documentation

MyDigi::MyDigi ( )

Definition at line 19 of file MyDigi.cxx.

MyDigi::MyDigi ( Int_t  x,
Int_t  y,
Int_t  z,
Double_t  timeStamp,
Double_t  timeStampError = 0.0 
)

Definition at line 26 of file MyDigi.cxx.

MyDigi::~MyDigi ( )
virtual

Definition at line 33 of file MyDigi.cxx.

Member Function Documentation

virtual bool MyDigi::equal ( FairTimeStamp data)
inlinevirtual

Reimplemented from FairTimeStamp.

Definition at line 54 of file MyDigi.h.

Int_t MyDigi::GetX ( ) const
inline

Definition at line 49 of file MyDigi.h.

Int_t MyDigi::GetY ( ) const
inline

Definition at line 50 of file MyDigi.h.

Int_t MyDigi::GetZ ( ) const
inline

Definition at line 51 of file MyDigi.h.

virtual bool MyDigi::operator< ( const MyDigi myDigi) const
inlinevirtual

Definition at line 67 of file MyDigi.h.

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

Definition at line 96 of file MyDigi.h.

void MyDigi::SetX ( Int_t  x)
inline

Definition at line 45 of file MyDigi.h.

void MyDigi::SetXYZ ( Int_t  x,
Int_t  y,
Int_t  z 
)
inline

Definition at line 39 of file MyDigi.h.

void MyDigi::SetY ( Int_t  y)
inline

Definition at line 46 of file MyDigi.h.

void MyDigi::SetZ ( Int_t  z)
inline

Definition at line 47 of file MyDigi.h.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 105 of file MyDigi.h.

std::ostream& operator<< ( std::ostream &  out,
MyDigi digi 
)
friend

Definition at line 87 of file MyDigi.h.


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