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

#include <FairTutPropHit.h>

Inheritance diagram for FairTutPropHit:
FairHit FairTimeStamp FairMultiLinkedData_Interface

Public Member Functions

 FairTutPropHit ()
 
 FairTutPropHit (int detID, int mcindex, const TVector3 &pos, const TVector3 &dpos, int trackID, int pdgCode, double charge, const TVector3 &mom, const TVector3 &dmom)
 
virtual ~FairTutPropHit ()
 
int GetTrackID ()
 
int GetPdgCode ()
 
double GetCharge ()
 
double GetPx ()
 
double GetPy ()
 
double GetPz ()
 
double GetDPx ()
 
double GetDPy ()
 
double GetDPz ()
 
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 23 of file FairTutPropHit.h.

Constructor & Destructor Documentation

FairTutPropHit::FairTutPropHit ( )

Default constructor

Definition at line 10 of file FairTutPropHit.cxx.

FairTutPropHit::FairTutPropHit ( int  detID,
int  mcindex,
const TVector3 &  pos,
const TVector3 &  dpos,
int  trackID,
int  pdgCode,
double  charge,
const TVector3 &  mom,
const TVector3 &  dmom 
)

Constructor

Definition at line 21 of file FairTutPropHit.cxx.

FairTutPropHit::~FairTutPropHit ( )
virtual

Destructor

Definition at line 42 of file FairTutPropHit.cxx.

Member Function Documentation

double FairTutPropHit::GetCharge ( )
inline

Definition at line 45 of file FairTutPropHit.h.

double FairTutPropHit::GetDPx ( )
inline

Definition at line 49 of file FairTutPropHit.h.

double FairTutPropHit::GetDPy ( )
inline

Definition at line 50 of file FairTutPropHit.h.

double FairTutPropHit::GetDPz ( )
inline

Definition at line 51 of file FairTutPropHit.h.

int FairTutPropHit::GetPdgCode ( )
inline

Definition at line 44 of file FairTutPropHit.h.

double FairTutPropHit::GetPx ( )
inline

Definition at line 46 of file FairTutPropHit.h.

double FairTutPropHit::GetPy ( )
inline

Definition at line 47 of file FairTutPropHit.h.

double FairTutPropHit::GetPz ( )
inline

Definition at line 48 of file FairTutPropHit.h.

int FairTutPropHit::GetTrackID ( )
inline

Definition at line 43 of file FairTutPropHit.h.

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

Definition at line 54 of file FairTutPropHit.h.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 69 of file FairTutPropHit.h.


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