PandaRoot
PndSciTHit Class Reference

#include <PndSciTHit.h>

Inheritance diagram for PndSciTHit:

Public Member Functions

 PndSciTHit ()
 
 PndSciTHit (Int_t detID, TString detName, Double_t time, Double_t dt, Double_t sipm1, Double_t dsipm1, Double_t sipm2, Double_t dsipm2, TVector3 &pos, TVector3 &dpos, Int_t index, Double_t charge)
 
virtual ~PndSciTHit ()
 
TString GetDetName () const
 
Double_t GetCharge ()
 
Double_t GetSiPm1 ()
 
Double_t GetDSiPm1 ()
 
Double_t GetSiPm2 ()
 
Double_t GetDSiPm2 ()
 
Double_t GetTime ()
 
Double_t GetDt ()
 
TVector3 GetPosition () const
 
void SetDetName (TString name)
 
void SetCharge (Double_t charge)
 
void AddCharge (double charge)
 
void SetSiPm1 (Double_t sipm1)
 
void SetDSiPm1 (Double_t dsipm1)
 
void SetSiPm2 (Double_t sipm2)
 
void SetDSiPm2 (Double_t dsipm2)
 
virtual bool operator< (const PndSciTHit &right) const
 
virtual bool operator> (const PndSciTHit &right) const
 
virtual bool equal (FairTimeStamp *data)
 
virtual void Print (const Option_t *opt=nullptr) const
 
 ClassDef (PndSciTHit, 3)
 

Public Attributes

TString fDetName
 
Double_t fCharge
 
Double_t fSiPm1
 
Double_t fDSiPm1
 
Double_t fSiPm2
 
Double_t fDSiPm2
 

Friends

std::ostream & operator<< (std::ostream &out, PndSciTHit &hit)
 

Detailed Description

PndSciTHit.h

Author
D. Steinschaden domin.nosp@m.ik.s.nosp@m.teins.nosp@m.chad.nosp@m.en@oe.nosp@m.aw.a.nosp@m.c.at

A hit in a tof wall station of SciT. In addition to the base class FairHit, it holds the energy deposit in one detector tile. All coordinates are in the LAB frame.

Definition at line 27 of file PndSciTHit.h.

Constructor & Destructor Documentation

◆ PndSciTHit() [1/2]

PndSciTHit::PndSciTHit ( )

◆ PndSciTHit() [2/2]

PndSciTHit::PndSciTHit ( Int_t  detID,
TString  detName,
Double_t  time,
Double_t  dt,
Double_t  sipm1,
Double_t  dsipm1,
Double_t  sipm2,
Double_t  dsipm2,
TVector3 &  pos,
TVector3 &  dpos,
Int_t  index,
Double_t  charge 
)

◆ ~PndSciTHit()

virtual PndSciTHit::~PndSciTHit ( )
virtual

Member Function Documentation

◆ AddCharge()

void PndSciTHit::AddCharge ( double  charge)
inline

Definition at line 61 of file PndSciTHit.h.

References fCharge.

61 { fCharge += charge; }
Double_t fCharge
Definition: PndSciTHit.h:82

◆ ClassDef()

PndSciTHit::ClassDef ( PndSciTHit  ,
 
)

◆ equal()

virtual bool PndSciTHit::equal ( FairTimeStamp *  data)
virtual

Referenced by SetDSiPm2().

◆ GetCharge()

Double_t PndSciTHit::GetCharge ( )
inline

Definition at line 43 of file PndSciTHit.h.

References fCharge.

43 { return fCharge; };
Double_t fCharge
Definition: PndSciTHit.h:82

◆ GetDetName()

TString PndSciTHit::GetDetName ( ) const
inline

Definition at line 42 of file PndSciTHit.h.

References fDetName.

42 { return fDetName; };
TString fDetName
Definition: PndSciTHit.h:81

◆ GetDSiPm1()

Double_t PndSciTHit::GetDSiPm1 ( )
inline

Definition at line 46 of file PndSciTHit.h.

References fDSiPm1.

46 { return fDSiPm1; };
Double_t fDSiPm1
Definition: PndSciTHit.h:85

◆ GetDSiPm2()

Double_t PndSciTHit::GetDSiPm2 ( )
inline

Definition at line 48 of file PndSciTHit.h.

References fDSiPm2.

48 { return fDSiPm2; };
Double_t fDSiPm2
Definition: PndSciTHit.h:87

◆ GetDt()

Double_t PndSciTHit::GetDt ( )
inline

Definition at line 54 of file PndSciTHit.h.

54 { return GetTimeStampError(); };

◆ GetPosition()

TVector3 PndSciTHit::GetPosition ( ) const
inline

Definition at line 55 of file PndSciTHit.h.

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

◆ GetSiPm1()

Double_t PndSciTHit::GetSiPm1 ( )
inline

Definition at line 45 of file PndSciTHit.h.

References fSiPm1.

45 { return fSiPm1; };
Double_t fSiPm1
Definition: PndSciTHit.h:84

◆ GetSiPm2()

Double_t PndSciTHit::GetSiPm2 ( )
inline

Definition at line 47 of file PndSciTHit.h.

References fSiPm2.

47 { return fSiPm2; };
Double_t fSiPm2
Definition: PndSciTHit.h:86

◆ GetTime()

Double_t PndSciTHit::GetTime ( )
inline

Definition at line 53 of file PndSciTHit.h.

53 { return GetTimeStamp(); };

◆ operator<()

virtual bool PndSciTHit::operator< ( const PndSciTHit right) const
virtual

Referenced by SetDSiPm2().

◆ operator>()

virtual bool PndSciTHit::operator> ( const PndSciTHit right) const
virtual

Referenced by SetDSiPm2().

◆ Print()

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

Screen output

Referenced by SetDSiPm2().

◆ SetCharge()

void PndSciTHit::SetCharge ( Double_t  charge)
inline

Definition at line 60 of file PndSciTHit.h.

References fCharge.

60 { fCharge = charge; };
Double_t fCharge
Definition: PndSciTHit.h:82

◆ SetDetName()

void PndSciTHit::SetDetName ( TString  name)
inline

Modifiers

Definition at line 59 of file PndSciTHit.h.

References fDetName.

59 { fDetName = name; };
TString fDetName
Definition: PndSciTHit.h:81

◆ SetDSiPm1()

void PndSciTHit::SetDSiPm1 ( Double_t  dsipm1)
inline

Definition at line 64 of file PndSciTHit.h.

References fDSiPm1.

64 { fDSiPm1 = dsipm1; };
Double_t fDSiPm1
Definition: PndSciTHit.h:85

◆ SetDSiPm2()

void PndSciTHit::SetDSiPm2 ( Double_t  dsipm2)
inline

Definition at line 66 of file PndSciTHit.h.

References equal(), fDSiPm2, operator<(), operator<<, operator>(), and Print().

66 { fDSiPm2 = dsipm2; };
Double_t fDSiPm2
Definition: PndSciTHit.h:87

◆ SetSiPm1()

void PndSciTHit::SetSiPm1 ( Double_t  sipm1)
inline

Definition at line 63 of file PndSciTHit.h.

References fSiPm1.

63 { fSiPm1 = sipm1; };
Double_t fSiPm1
Definition: PndSciTHit.h:84

◆ SetSiPm2()

void PndSciTHit::SetSiPm2 ( Double_t  sipm2)
inline

Definition at line 65 of file PndSciTHit.h.

References fSiPm2.

65 { fSiPm2 = sipm2; };
Double_t fSiPm2
Definition: PndSciTHit.h:86

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
PndSciTHit hit 
)
friend

Referenced by SetDSiPm2().

Member Data Documentation

◆ fCharge

Double_t PndSciTHit::fCharge

Definition at line 82 of file PndSciTHit.h.

Referenced by AddCharge(), GetCharge(), and SetCharge().

◆ fDetName

TString PndSciTHit::fDetName

Definition at line 81 of file PndSciTHit.h.

Referenced by GetDetName(), and SetDetName().

◆ fDSiPm1

Double_t PndSciTHit::fDSiPm1

Definition at line 85 of file PndSciTHit.h.

Referenced by GetDSiPm1(), and SetDSiPm1().

◆ fDSiPm2

Double_t PndSciTHit::fDSiPm2

Definition at line 87 of file PndSciTHit.h.

Referenced by GetDSiPm2(), and SetDSiPm2().

◆ fSiPm1

Double_t PndSciTHit::fSiPm1

Definition at line 84 of file PndSciTHit.h.

Referenced by GetSiPm1(), and SetSiPm1().

◆ fSiPm2

Double_t PndSciTHit::fSiPm2

Definition at line 86 of file PndSciTHit.h.

Referenced by GetSiPm2(), and SetSiPm2().


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