PandaRoot
PndFtofHit Class Reference

#include <PndFtofHit.h>

Inheritance diagram for PndFtofHit:

Public Member Functions

 PndFtofHit ()
 
 PndFtofHit (Int_t trackID, Int_t detID, TString detName, Double_t time, Double_t dt, TVector3 &pos, TVector3 &dpos, Int_t index, Double_t charge)
 
virtual ~PndFtofHit ()
 
void SetTrackID (Int_t id)
 
void SetDetName (TString name)
 
void SetCharge (Double_t charge)
 
void SetTime (Double_t time)
 
TString GetDetName () const
 
Int_t GetTrackID ()
 
Double_t GetCharge ()
 
Double_t GetTime ()
 
Double_t GetDt ()
 
TVector3 GetPosition () const
 
virtual void Print (const Option_t *opt=nullptr) const
 
 ClassDef (PndFtofHit, 6)
 

Public Attributes

TString fDetName
 
Int_t fTrackID
 
Double_t fCharge
 
Double_t ftime
 
Double_t fdt
 

Detailed Description

PndFtofHit.h

Author
A. Sanchez a.san.nosp@m.chez.nosp@m.@gsi..nosp@m.de

A hit in a tof wall station of Ftof. In addition to the base class FairHit, it holds the number of the reconstructed hits (column and row).

Definition at line 20 of file PndFtofHit.h.

Constructor & Destructor Documentation

◆ PndFtofHit() [1/2]

PndFtofHit::PndFtofHit ( )

Default constructor (not for use)

◆ PndFtofHit() [2/2]

PndFtofHit::PndFtofHit ( Int_t  trackID,
Int_t  detID,
TString  detName,
Double_t  time,
Double_t  dt,
TVector3 &  pos,
TVector3 &  dpos,
Int_t  index,
Double_t  charge 
)

Standard constructor with all paramneters

Parameters
trackIDTrack ID
detIDDetector ID
detNameDetector Name
posPosition vector [cm]
dposPosition error vector [cm]
chargeCharge measured in hit
NPixelHitsNumber of pixels fired for this event

◆ ~PndFtofHit()

virtual PndFtofHit::~PndFtofHit ( )
virtual

Destructor

Member Function Documentation

◆ ClassDef()

PndFtofHit::ClassDef ( PndFtofHit  ,
 
)

◆ GetCharge()

Double_t PndFtofHit::GetCharge ( )
inline

Definition at line 51 of file PndFtofHit.h.

References fCharge.

51 { return fCharge; };
Double_t fCharge
Definition: PndFtofHit.h:63

◆ GetDetName()

TString PndFtofHit::GetDetName ( ) const
inline

Definition at line 49 of file PndFtofHit.h.

References fDetName.

49 { return fDetName; }
TString fDetName
Definition: PndFtofHit.h:61

◆ GetDt()

Double_t PndFtofHit::GetDt ( )
inline

Definition at line 53 of file PndFtofHit.h.

References fdt.

53 { return fdt; };
Double_t fdt
Definition: PndFtofHit.h:63

◆ GetPosition()

TVector3 PndFtofHit::GetPosition ( ) const
inline

Definition at line 55 of file PndFtofHit.h.

References Print().

55 { return TVector3(fX, fY, fZ); }

◆ GetTime()

Double_t PndFtofHit::GetTime ( )
inline

Definition at line 52 of file PndFtofHit.h.

References ftime.

52 { return ftime; };
Double_t ftime
Definition: PndFtofHit.h:63

◆ GetTrackID()

Int_t PndFtofHit::GetTrackID ( )
inline

Definition at line 50 of file PndFtofHit.h.

References fTrackID.

50 { return fTrackID; };
Int_t fTrackID
Definition: PndFtofHit.h:62

◆ Print()

virtual void PndFtofHit::Print ( const Option_t *  opt = nullptr) const
virtual

Screen output

Referenced by GetPosition().

◆ SetCharge()

void PndFtofHit::SetCharge ( Double_t  charge)
inline

Definition at line 45 of file PndFtofHit.h.

References fCharge.

45 { fCharge = charge; };
Double_t fCharge
Definition: PndFtofHit.h:63

◆ SetDetName()

void PndFtofHit::SetDetName ( TString  name)
inline

Definition at line 44 of file PndFtofHit.h.

References fDetName.

44 { fDetName = name; };
TString fDetName
Definition: PndFtofHit.h:61

◆ SetTime()

void PndFtofHit::SetTime ( Double_t  time)
inline

Definition at line 46 of file PndFtofHit.h.

References ftime.

46 { ftime = time; };
Double_t ftime
Definition: PndFtofHit.h:63

◆ SetTrackID()

void PndFtofHit::SetTrackID ( Int_t  id)
inline

Accessors

Definition at line 43 of file PndFtofHit.h.

References fTrackID.

43 { fTrackID = id; };
Int_t fTrackID
Definition: PndFtofHit.h:62

Member Data Documentation

◆ fCharge

Double_t PndFtofHit::fCharge

Definition at line 63 of file PndFtofHit.h.

Referenced by GetCharge(), and SetCharge().

◆ fDetName

TString PndFtofHit::fDetName

Definition at line 61 of file PndFtofHit.h.

Referenced by GetDetName(), and SetDetName().

◆ fdt

Double_t PndFtofHit::fdt

Definition at line 63 of file PndFtofHit.h.

Referenced by GetDt().

◆ ftime

Double_t PndFtofHit::ftime

Definition at line 63 of file PndFtofHit.h.

Referenced by GetTime(), and SetTime().

◆ fTrackID

Int_t PndFtofHit::fTrackID

Definition at line 62 of file PndFtofHit.h.

Referenced by GetTrackID(), and SetTrackID().


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