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

#include <FairRadLenPoint.h>

Inheritance diagram for FairRadLenPoint:
FairMCPoint FairMultiLinkedData_Interface

Public Member Functions

 FairRadLenPoint ()
 
 FairRadLenPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, TVector3 posOut, TVector3 momOut, Float_t fA, Float_t fZ, Float_t fDensity, Float_t fRadLen)
 
virtual ~FairRadLenPoint ()
 
Float_t GetA ()
 
Float_t GetZm ()
 
Float_t GetRadLength ()
 
Float_t GetDensity ()
 
void SetA (Double_t A)
 
void SetZm (Double_t Z)
 
void SetRadLength (Double_t length)
 
void SetDensity (Double_t Density)
 
virtual void Print (const Option_t *opt) const
 
Double_t GetXOut () const
 
Double_t GetYOut () const
 
Double_t GetZOut () const
 
Double_t GetPxOut () const
 
Double_t GetPyOut () const
 
Double_t GetPzOut () const
 
TVector3 GetPosition () const
 
TVector3 GetPositionOut () const
 
void PositionOut (TVector3 &pos) const
 
void MomentumOut (TVector3 &mom) const
 
- Public Member Functions inherited from FairMCPoint
 FairMCPoint ()
 
 FairMCPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, UInt_t EventId=0)
 
virtual ~FairMCPoint ()
 
UInt_t GetEventID () const
 
Int_t GetTrackID () const
 event identifier More...
 
Double_t GetPx () const
 
Double_t GetPy () const
 
Double_t GetPz () const
 
Double_t GetTime () const
 
Double_t GetLength () const
 
Double_t GetEnergyLoss () const
 
void Momentum (TVector3 &mom) const
 
Int_t GetDetectorID () const
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetZ () const
 
void Position (TVector3 &pos) const
 
void SetEventID (UInt_t eventId)
 
virtual void SetTrackID (Int_t id)
 
void SetTime (Double_t time)
 
void SetLength (Double_t length)
 
void SetEnergyLoss (Double_t eLoss)
 
void SetMomentum (const TVector3 &mom)
 
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)
 
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 (FairRadLenPoint, 1)
 
- Protected Member Functions inherited from FairMCPoint
 ClassDef (FairMCPoint, 5)
 
- Protected Member Functions inherited from FairMultiLinkedData_Interface
FairMultiLinkedDataCreateFairMultiLinkedData ()
 returns non-owning pointer More...
 
 ClassDef (FairMultiLinkedData_Interface, 6)
 

Protected Attributes

Float_t fA
 
Float_t fZmat
 
Float_t fDensity
 
Float_t fRadLen
 
Double_t fXOut
 
Double_t fYOut
 
Double_t fZOut
 
Double_t fPxOut
 
Double_t fPyOut
 
Double_t fPzOut
 
- Protected Attributes inherited from FairMCPoint
Int_t fTrackID
 Track index. More...
 
UInt_t fEventId
 MC Event id. More...
 
Double32_t fPx
 
Double32_t fPy
 
Double32_t fPz
 Momentum components [GeV]. More...
 
Double32_t fTime
 Time since event start [ns]. More...
 
Double32_t fLength
 Track length since creation [cm]. More...
 
Double32_t fELoss
 Energy loss at this point [GeV]. 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 FairMultiLinkedData_Interface
std::unique_ptr
< FairMultiLinkedData
fLink
 

Detailed Description

FairRadLenPoint.h

Author
M. Al-Turany

Definition at line 26 of file FairRadLenPoint.h.

Constructor & Destructor Documentation

FairRadLenPoint::FairRadLenPoint ( )

Default constructor

default ctor

Definition at line 15 of file FairRadLenPoint.cxx.

FairRadLenPoint::FairRadLenPoint ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
TVector3  posOut,
TVector3  momOut,
Float_t  fA,
Float_t  fZ,
Float_t  fDensity,
Float_t  fRadLen 
)

Definition at line 31 of file FairRadLenPoint.cxx.

FairRadLenPoint::~FairRadLenPoint ( )
virtual

Destructor

Definition at line 57 of file FairRadLenPoint.cxx.

Member Function Documentation

FairRadLenPoint::ClassDef ( FairRadLenPoint  ,
 
)
protected
Float_t FairRadLenPoint::GetA ( )
inline

Accessors

Definition at line 50 of file FairRadLenPoint.h.

Float_t FairRadLenPoint::GetDensity ( )
inline

Definition at line 53 of file FairRadLenPoint.h.

TVector3 FairRadLenPoint::GetPosition ( ) const
inline

Definition at line 72 of file FairRadLenPoint.h.

TVector3 FairRadLenPoint::GetPositionOut ( ) const
inline

Definition at line 73 of file FairRadLenPoint.h.

Double_t FairRadLenPoint::GetPxOut ( ) const
inline

Definition at line 68 of file FairRadLenPoint.h.

Double_t FairRadLenPoint::GetPyOut ( ) const
inline

Definition at line 69 of file FairRadLenPoint.h.

Double_t FairRadLenPoint::GetPzOut ( ) const
inline

Definition at line 70 of file FairRadLenPoint.h.

Float_t FairRadLenPoint::GetRadLength ( )
inline

Definition at line 52 of file FairRadLenPoint.h.

Double_t FairRadLenPoint::GetXOut ( ) const
inline

Definition at line 64 of file FairRadLenPoint.h.

Double_t FairRadLenPoint::GetYOut ( ) const
inline

Definition at line 65 of file FairRadLenPoint.h.

Float_t FairRadLenPoint::GetZm ( )
inline

Definition at line 51 of file FairRadLenPoint.h.

Double_t FairRadLenPoint::GetZOut ( ) const
inline

Definition at line 66 of file FairRadLenPoint.h.

void FairRadLenPoint::MomentumOut ( TVector3 &  mom) const
inline

Definition at line 76 of file FairRadLenPoint.h.

void FairRadLenPoint::PositionOut ( TVector3 &  pos) const
inline

Definition at line 75 of file FairRadLenPoint.h.

void FairRadLenPoint::Print ( const Option_t *  opt) const
virtual

Output to screen

to be implimented

Reimplemented from FairMCPoint.

Definition at line 59 of file FairRadLenPoint.cxx.

void FairRadLenPoint::SetA ( Double_t  A)
inline

Modifiers

Definition at line 56 of file FairRadLenPoint.h.

void FairRadLenPoint::SetDensity ( Double_t  Density)
inline

Definition at line 59 of file FairRadLenPoint.h.

void FairRadLenPoint::SetRadLength ( Double_t  length)
inline

Definition at line 58 of file FairRadLenPoint.h.

void FairRadLenPoint::SetZm ( Double_t  Z)
inline

Definition at line 57 of file FairRadLenPoint.h.

Member Data Documentation

Float_t FairRadLenPoint::fA
protected

Definition at line 79 of file FairRadLenPoint.h.

Float_t FairRadLenPoint::fDensity
protected

Definition at line 81 of file FairRadLenPoint.h.

Double_t FairRadLenPoint::fPxOut
protected

Definition at line 85 of file FairRadLenPoint.h.

Double_t FairRadLenPoint::fPyOut
protected

Definition at line 85 of file FairRadLenPoint.h.

Double_t FairRadLenPoint::fPzOut
protected

Definition at line 85 of file FairRadLenPoint.h.

Float_t FairRadLenPoint::fRadLen
protected

Definition at line 82 of file FairRadLenPoint.h.

Double_t FairRadLenPoint::fXOut
protected

Definition at line 84 of file FairRadLenPoint.h.

Double_t FairRadLenPoint::fYOut
protected

Definition at line 84 of file FairRadLenPoint.h.

Float_t FairRadLenPoint::fZmat
protected

Definition at line 80 of file FairRadLenPoint.h.

Double_t FairRadLenPoint::fZOut
protected

Definition at line 84 of file FairRadLenPoint.h.


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