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

#include <NewDetectorPoint.h>

Inheritance diagram for NewDetectorPoint:
FairMCPoint FairMCPoint FairMultiLinkedData_Interface FairMultiLinkedData_Interface

Public Member Functions

 NewDetectorPoint ()
 
 NewDetectorPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss)
 
virtual ~NewDetectorPoint ()
 
virtual void Print (const Option_t *opt) const
 
 NewDetectorPoint ()
 
 NewDetectorPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss)
 
virtual ~NewDetectorPoint ()
 
virtual void Print (const Option_t *opt) const
 
uint32_t GetEventID () const
 
int GetTrackID () const
 event identifier More...
 
double GetPx () const
 
double GetPy () const
 
double GetPz () const
 
double GetTime () const
 
double GetLength () const
 
double GetEnergyLoss () const
 
void Momentum (TVector3 &mom) const
 
int GetDetectorID () const
 
double GetX () const
 
double GetY () const
 
double GetZ () const
 
void Position (TVector3 &pos) const
 
void SetEventID (uint32_t eventId)
 
virtual void SetTrackID (int id)
 
void SetTime (double time)
 
void SetLength (double length)
 
void SetEnergyLoss (double eLoss)
 
void SetMomentum (const TVector3 &mom)
 
void SetDetectorID (int detID)
 
void SetX (double x)
 
void SetY (double y)
 
void SetZ (double z)
 
void SetXYZ (double x, double y, double z)
 
void SetPosition (const TVector3 &pos)
 
 NewDetectorPoint ()
 
 NewDetectorPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss)
 
virtual ~NewDetectorPoint ()
 
virtual void Print (const Option_t *opt) const
 
 NewDetectorPoint ()
 
 NewDetectorPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss)
 
virtual ~NewDetectorPoint ()
 
virtual void Print (const Option_t *opt) const
 
uint32_t GetEventID () const
 
int GetTrackID () const
 event identifier More...
 
double GetPx () const
 
double GetPy () const
 
double GetPz () const
 
double GetTime () const
 
double GetLength () const
 
double GetEnergyLoss () const
 
void Momentum (TVector3 &mom) const
 
int GetDetectorID () const
 
double GetX () const
 
double GetY () const
 
double GetZ () const
 
void Position (TVector3 &pos) const
 
void SetEventID (uint32_t eventId)
 
virtual void SetTrackID (int id)
 
void SetTime (double time)
 
void SetLength (double length)
 
void SetEnergyLoss (double eLoss)
 
void SetMomentum (const TVector3 &mom)
 
void SetDetectorID (int detID)
 
void SetX (double x)
 
void SetY (double y)
 
void SetZ (double z)
 
void SetXYZ (double x, double y, double z)
 
void SetPosition (const TVector3 &pos)
 
- 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 Attributes

int fTrackID
 Track index. More...
 
uint32_t fEventId
 MC Event id. More...
 
double fPx
 
double fPy
 
double fPz
 Momentum components [GeV]. More...
 
double fTime
 Time since event start [ns]. More...
 
double fLength
 Track length since creation [cm]. More...
 
double fELoss
 Energy loss at this point [GeV]. More...
 
int fDetectorID
 Detector unique identifier. More...
 
double fX
 
double fY
 
double fZ
 Position of hit [cm]. More...
 
- 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
 

Additional Inherited Members

- 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)
 

Detailed Description

Definition at line 16 of file NewDetectorPoint.h.

Constructor & Destructor Documentation

NewDetectorPoint::NewDetectorPoint ( )

Default constructor

Definition at line 15 of file NewDetectorPoint.cxx.

NewDetectorPoint::NewDetectorPoint ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posCcoordinates at entrance to active volume [cm]
momMomentum of track at entrance [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]

Definition at line 21 of file NewDetectorPoint.cxx.

NewDetectorPoint::~NewDetectorPoint ( )
virtual

Destructor

Definition at line 33 of file NewDetectorPoint.cxx.

NewDetectorPoint::NewDetectorPoint ( )

Default constructor

NewDetectorPoint::NewDetectorPoint ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posCcoordinates at entrance to active volume [cm]
momMomentum of track at entrance [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]
virtual NewDetectorPoint::~NewDetectorPoint ( )
virtual

Destructor

NewDetectorPoint::NewDetectorPoint ( )

Default constructor

NewDetectorPoint::NewDetectorPoint ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posCcoordinates at entrance to active volume [cm]
momMomentum of track at entrance [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]
virtual NewDetectorPoint::~NewDetectorPoint ( )
virtual

Destructor

NewDetectorPoint::NewDetectorPoint ( )

Default constructor

NewDetectorPoint::NewDetectorPoint ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posCcoordinates at entrance to active volume [cm]
momMomentum of track at entrance [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]
virtual NewDetectorPoint::~NewDetectorPoint ( )
virtual

Destructor

Member Function Documentation

int NewDetectorPoint::GetDetectorID ( ) const
inline

Definition at line 53 of file NewDetectorPoint.h.

int NewDetectorPoint::GetDetectorID ( ) const
inline

Definition at line 53 of file NewDetectorPoint.h.

double NewDetectorPoint::GetEnergyLoss ( ) const
inline

Definition at line 51 of file NewDetectorPoint.h.

double NewDetectorPoint::GetEnergyLoss ( ) const
inline

Definition at line 51 of file NewDetectorPoint.h.

uint32_t NewDetectorPoint::GetEventID ( ) const
inline

Accessors

Definition at line 44 of file NewDetectorPoint.h.

uint32_t NewDetectorPoint::GetEventID ( ) const
inline

Accessors

Definition at line 44 of file NewDetectorPoint.h.

double NewDetectorPoint::GetLength ( ) const
inline

Definition at line 50 of file NewDetectorPoint.h.

double NewDetectorPoint::GetLength ( ) const
inline

Definition at line 50 of file NewDetectorPoint.h.

double NewDetectorPoint::GetPx ( ) const
inline

Definition at line 46 of file NewDetectorPoint.h.

double NewDetectorPoint::GetPx ( ) const
inline

Definition at line 46 of file NewDetectorPoint.h.

double NewDetectorPoint::GetPy ( ) const
inline

Definition at line 47 of file NewDetectorPoint.h.

double NewDetectorPoint::GetPy ( ) const
inline

Definition at line 47 of file NewDetectorPoint.h.

double NewDetectorPoint::GetPz ( ) const
inline

Definition at line 48 of file NewDetectorPoint.h.

double NewDetectorPoint::GetPz ( ) const
inline

Definition at line 48 of file NewDetectorPoint.h.

double NewDetectorPoint::GetTime ( ) const
inline

Definition at line 49 of file NewDetectorPoint.h.

double NewDetectorPoint::GetTime ( ) const
inline

Definition at line 49 of file NewDetectorPoint.h.

int NewDetectorPoint::GetTrackID ( ) const
inline

event identifier

Definition at line 45 of file NewDetectorPoint.h.

int NewDetectorPoint::GetTrackID ( ) const
inline

event identifier

Definition at line 45 of file NewDetectorPoint.h.

double NewDetectorPoint::GetX ( ) const
inline

Definition at line 54 of file NewDetectorPoint.h.

double NewDetectorPoint::GetX ( ) const
inline

Definition at line 54 of file NewDetectorPoint.h.

double NewDetectorPoint::GetY ( ) const
inline

Definition at line 55 of file NewDetectorPoint.h.

double NewDetectorPoint::GetY ( ) const
inline

Definition at line 55 of file NewDetectorPoint.h.

double NewDetectorPoint::GetZ ( ) const
inline

Definition at line 56 of file NewDetectorPoint.h.

double NewDetectorPoint::GetZ ( ) const
inline

Definition at line 56 of file NewDetectorPoint.h.

void NewDetectorPoint::Momentum ( TVector3 &  mom) const
inline

Definition at line 52 of file NewDetectorPoint.h.

void NewDetectorPoint::Momentum ( TVector3 &  mom) const
inline

Definition at line 52 of file NewDetectorPoint.h.

void NewDetectorPoint::Position ( TVector3 &  pos) const
inline

Definition at line 57 of file NewDetectorPoint.h.

void NewDetectorPoint::Position ( TVector3 &  pos) const
inline

Definition at line 57 of file NewDetectorPoint.h.

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

Output to screen

Reimplemented from FairMCPoint.

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

Output to screen

Reimplemented from FairMCPoint.

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

Output to screen

Reimplemented from FairMCPoint.

Definition at line 37 of file NewDetectorPoint.cxx.

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

Output to screen

Reimplemented from FairMCPoint.

void NewDetectorPoint::SetDetectorID ( int  detID)
inline

Definition at line 66 of file NewDetectorPoint.h.

void NewDetectorPoint::SetDetectorID ( int  detID)
inline

Definition at line 66 of file NewDetectorPoint.h.

void NewDetectorPoint::SetEnergyLoss ( double  eLoss)
inline

Definition at line 64 of file NewDetectorPoint.h.

void NewDetectorPoint::SetEnergyLoss ( double  eLoss)
inline

Definition at line 64 of file NewDetectorPoint.h.

void NewDetectorPoint::SetEventID ( uint32_t  eventId)
inline

Modifiers

Definition at line 60 of file NewDetectorPoint.h.

void NewDetectorPoint::SetEventID ( uint32_t  eventId)
inline

Modifiers

Definition at line 60 of file NewDetectorPoint.h.

void NewDetectorPoint::SetLength ( double  length)
inline

Definition at line 63 of file NewDetectorPoint.h.

void NewDetectorPoint::SetLength ( double  length)
inline

Definition at line 63 of file NewDetectorPoint.h.

void NewDetectorPoint::SetMomentum ( const TVector3 &  mom)
inline

Definition at line 91 of file NewDetectorPoint.h.

void NewDetectorPoint::SetMomentum ( const TVector3 &  mom)
void NewDetectorPoint::SetPosition ( const TVector3 &  pos)
void NewDetectorPoint::SetPosition ( const TVector3 &  pos)
inline

Definition at line 105 of file NewDetectorPoint.h.

void NewDetectorPoint::SetTime ( double  time)
inline

Definition at line 62 of file NewDetectorPoint.h.

void NewDetectorPoint::SetTime ( double  time)
inline

Definition at line 62 of file NewDetectorPoint.h.

virtual void NewDetectorPoint::SetTrackID ( int  id)
inlinevirtual

Definition at line 61 of file NewDetectorPoint.h.

virtual void NewDetectorPoint::SetTrackID ( int  id)
inlinevirtual

Definition at line 61 of file NewDetectorPoint.h.

void NewDetectorPoint::SetX ( double  x)
inline

Definition at line 67 of file NewDetectorPoint.h.

void NewDetectorPoint::SetX ( double  x)
inline

Definition at line 67 of file NewDetectorPoint.h.

void NewDetectorPoint::SetXYZ ( double  x,
double  y,
double  z 
)
void NewDetectorPoint::SetXYZ ( double  x,
double  y,
double  z 
)
void NewDetectorPoint::SetY ( double  y)
inline

Definition at line 68 of file NewDetectorPoint.h.

void NewDetectorPoint::SetY ( double  y)
inline

Definition at line 68 of file NewDetectorPoint.h.

void NewDetectorPoint::SetZ ( double  z)
inline

Definition at line 69 of file NewDetectorPoint.h.

void NewDetectorPoint::SetZ ( double  z)
inline

Definition at line 69 of file NewDetectorPoint.h.

Member Data Documentation

int NewDetectorPoint::fDetectorID
protected

Detector unique identifier.

Definition at line 80 of file NewDetectorPoint.h.

double NewDetectorPoint::fELoss
protected

Energy loss at this point [GeV].

Definition at line 79 of file NewDetectorPoint.h.

uint32_t NewDetectorPoint::fEventId
protected

MC Event id.

Definition at line 75 of file NewDetectorPoint.h.

double NewDetectorPoint::fLength
protected

Track length since creation [cm].

Definition at line 78 of file NewDetectorPoint.h.

double NewDetectorPoint::fPx
protected

Definition at line 76 of file NewDetectorPoint.h.

double NewDetectorPoint::fPy
protected

Definition at line 76 of file NewDetectorPoint.h.

double NewDetectorPoint::fPz
protected

Momentum components [GeV].

Definition at line 76 of file NewDetectorPoint.h.

double NewDetectorPoint::fTime
protected

Time since event start [ns].

Definition at line 77 of file NewDetectorPoint.h.

int NewDetectorPoint::fTrackID
protected

Track index.

Definition at line 74 of file NewDetectorPoint.h.

double NewDetectorPoint::fX
protected

Definition at line 81 of file NewDetectorPoint.h.

double NewDetectorPoint::fY
protected

Definition at line 81 of file NewDetectorPoint.h.

double NewDetectorPoint::fZ
protected

Position of hit [cm].

Definition at line 81 of file NewDetectorPoint.h.


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