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

#include <MyHit.h>

Inheritance diagram for MyHit:
FairHit FairTimeStamp FairMultiLinkedData_Interface

Public Member Functions

 MyHit ()
 
 MyHit (Int_t detID, Int_t mcindex, const TVector3 &pos, const TVector3 &dpos)
 
 MyHit (Int_t detID, Int_t mcindex, const TVector3 &pos, const TVector3 &dpos, Double_t timeStamp, Double_t timeStampError)
 
virtual ~MyHit ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
- Public Member Functions inherited from FairHit
 FairHit ()
 
 FairHit (Int_t detID, const TVector3 &pos, const TVector3 &dpos, Int_t index)
 
virtual ~FairHit ()
 
Double_t GetDx () const
 
Double_t GetDy () const
 
Double_t GetDz () const
 
Int_t GetRefIndex () const
 
void PositionError (TVector3 &dpos) const
 
Int_t GetDetectorID () const
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetZ () const
 
void Position (TVector3 &pos) const
 
void SetDx (Double_t dx)
 
void SetDy (Double_t dy)
 
void SetDz (Double_t dz)
 
void SetDxyz (Double_t dx, Double_t dy, Double_t dz)
 
void SetPositionError (const TVector3 &dpos)
 
void SetRefIndex (Int_t index)
 
void SetDetectorID (Int_t detID)
 
void SetX (Double_t x)
 
void SetY (Double_t y)
 
void SetZ (Double_t z)
 
void SetXYZ (Double_t x, Double_t y, Double_t z)
 
void SetPosition (const TVector3 &pos)
 
virtual void Print (const Option_t *) 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 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...
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Protected Member Functions inherited from FairHit
 ClassDef (FairHit, 3)
 
- 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 FairHit
Double32_t fDx
 
Double32_t fDy
 
Double32_t fDz
 Errors of position [cm]. More...
 
Int_t fRefIndex
 Index of FairMCPoint for this hit. More...
 
Int_t fDetectorID
 Detector unique identifier. More...
 
Double32_t fX
 
Double32_t fY
 
Double32_t fZ
 Position of hit [cm]. More...
 
- 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 MyHit.h.

Constructor & Destructor Documentation

MyHit::MyHit ( )

Default constructor

Definition at line 18 of file MyHit.cxx.

MyHit::MyHit ( Int_t  detID,
Int_t  mcindex,
const TVector3 &  pos,
const TVector3 &  dpos 
)

Constructor

Definition at line 22 of file MyHit.cxx.

MyHit::MyHit ( Int_t  detID,
Int_t  mcindex,
const TVector3 &  pos,
const TVector3 &  dpos,
Double_t  timeStamp,
Double_t  timeStampError 
)

Definition at line 26 of file MyHit.cxx.

MyHit::~MyHit ( )
virtual

Destructor

Definition at line 38 of file MyHit.cxx.

Member Function Documentation

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

Definition at line 51 of file MyHit.h.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 57 of file MyHit.h.


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