BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CbmTofHit Class Reference

#include <CbmTofHit.h>

Inheritance diagram for CbmTofHit:
Collaboration diagram for CbmTofHit:

Public Member Functions

 CbmTofHit ()
 Default constructor.
 CbmTofHit (Int_t address, TVector3 pos, TVector3 dpos, Int_t refIndex, Double_t tof, Int_t flag, Int_t channel)
 Constructor with hit parameters (1a).
 CbmTofHit (Int_t address, TVector3 pos, TVector3 dpos, Int_t refIndex, Double_t tof, Int_t flag)
 Constructor with hit parameters (1).
 CbmTofHit (Int_t address, TVector3 pos, TVector3 dpos, Int_t refIndex, Double_t tof)
 Constructor with hit parameters (2) [not the flag].
virtual ~CbmTofHit ()
 Destructor.
virtual string ToString () const
 Inherited from CbmBaseHit.
Int_t GetPlaneId () const
 Inherited from CbmBaseHit.
Int_t GetRefId () const
Double_t GetTime () const
 Accessors.
Int_t GetCh () const
void SetTime (Double_t time)
 Modifiers.
void SetType (HitType_o type)
 CbmTofHit ()
 Default constructor.
 CbmTofHit (Int_t address, TVector3 pos, TVector3 dpos, Int_t refIndex, Double_t tof, Int_t flag, Int_t channel)
 Constructor with hit parameters (1a).
 CbmTofHit (Int_t address, TVector3 pos, TVector3 dpos, Int_t refIndex, Double_t tof, Int_t flag)
 Constructor with hit parameters (1).
 CbmTofHit (Int_t address, TVector3 pos, TVector3 dpos, Int_t refIndex, Double_t tof)
 Constructor with hit parameters (2) [not the flag].
virtual ~CbmTofHit ()
 Destructor.
virtual string ToString () const
 Inherited from CbmBaseHit.
Int_t GetPlaneId () const
 Inherited from CbmBaseHit.
Int_t GetRefId () const
Double_t GetTime () const
 Accessors.
Int_t GetCh () const
void SetTime (Double_t time)
 Modifiers.
void SetType (HitType_o type)
Public Member Functions inherited from BmnHit
 BmnHit ()
 Default constructor.
 BmnHit (Int_t detUID, TVector3 posHit, TVector3 posHitErr, Int_t pointIndx)
 Constructor to use.
virtual ~BmnHit ()
 Destructor.
Bool_t IsUsed () const
Bool_t GetFlag () const
Int_t GetIndex () const
Double_t GetLength ()
DetectorId GetDetId () const
Short_t GetStation () const
Int_t GetModule ()
Int_t GetType ()
Bool_t IsPseudo ()
Double_t GetResX ()
Double_t GetResY ()
Double_t GetCovXY ()
BmnMatch GetDigitNumberMatch ()
Int_t GetUpperClusterIndex ()
Int_t GetLowerClusterIndex ()
void SetUsing (Bool_t use)
void SetFlag (Bool_t fl)
void SetIndex (Int_t id)
void SetLength (Double_t len)
void SetDetId (DetectorId det)
void SetStation (Short_t st)
void SetModule (Int_t mod)
void SetType (Int_t type)
void SetPseudo (Bool_t pseudo)
void SetResXY (Double_t resX, Double_t resY)
void SetCovXY (Double_t val)
void SetDigitNumberMatch (BmnMatch match)
void SetUpperClusterIndex (Int_t idx)
void SetLowerClusterIndex (Int_t idx)
 BmnHit ()
 Default constructor.
 BmnHit (Int_t detUID, TVector3 posHit, TVector3 posHitErr, Int_t pointIndx)
 Constructor to use.
virtual ~BmnHit ()
 Destructor.
Bool_t IsUsed () const
Bool_t GetFlag () const
Int_t GetIndex () const
Double_t GetLength ()
DetectorId GetDetId () const
Short_t GetStation () const
Int_t GetModule ()
Int_t GetType ()
Bool_t IsPseudo ()
Double_t GetResX ()
Double_t GetResY ()
Double_t GetCovXY ()
BmnMatch GetDigitNumberMatch ()
Int_t GetUpperClusterIndex ()
Int_t GetLowerClusterIndex ()
void SetUsing (Bool_t use)
void SetFlag (Bool_t fl)
void SetIndex (Int_t id)
void SetLength (Double_t len)
void SetDetId (DetectorId det)
void SetStation (Short_t st)
void SetModule (Int_t mod)
void SetType (Int_t type)
void SetPseudo (Bool_t pseudo)
void SetResXY (Double_t resX, Double_t resY)
void SetCovXY (Double_t val)
void SetDigitNumberMatch (BmnMatch match)
void SetUpperClusterIndex (Int_t idx)
void SetLowerClusterIndex (Int_t idx)

Private Attributes

HitType_o fType
 Hit type.
Double32_t fTime
 Time since event start [ns].
Int_t fChannel
 Channel identifier.

Additional Inherited Members

Protected Member Functions inherited from BmnHit
StripCluster * GetCluster (const char *cluster_branch_name, StripLayerType layer)
 Strip cluster of the hit in the given strip layer, taken from the cluster branch of this layer (e.g.
StripCluster * GetCluster (const char *cluster_branch_name, StripLayerType layer)
 Strip cluster of the hit in the given strip layer, taken from the cluster branch of this layer (e.g.

Detailed Description

Definition at line 16 of file CbmTofHit.h.

Constructor & Destructor Documentation

◆ CbmTofHit() [1/8]

CbmTofHit::CbmTofHit ( )

Definition at line 12 of file CbmTofHit.cxx.

References BmnHit::BmnHit(), fChannel, fTime, kTOFHIT_o, BmnHit::SetFlag(), and SetType().

Here is the call graph for this function:

◆ CbmTofHit() [2/8]

CbmTofHit::CbmTofHit ( Int_t address,
TVector3 pos,
TVector3 dpos,
Int_t refIndex,
Double_t tof,
Int_t flag,
Int_t channel )

Definition at line 21 of file CbmTofHit.cxx.

References BmnHit::BmnHit(), fChannel, fTime, kTOFHIT_o, BmnHit::SetFlag(), and SetType().

Here is the call graph for this function:

◆ CbmTofHit() [3/8]

CbmTofHit::CbmTofHit ( Int_t address,
TVector3 pos,
TVector3 dpos,
Int_t refIndex,
Double_t tof,
Int_t flag )

Definition at line 30 of file CbmTofHit.cxx.

References BmnHit::BmnHit(), fChannel, fTime, kTOFHIT_o, BmnHit::SetFlag(), and SetType().

Here is the call graph for this function:

◆ CbmTofHit() [4/8]

CbmTofHit::CbmTofHit ( Int_t address,
TVector3 pos,
TVector3 dpos,
Int_t refIndex,
Double_t tof )

Definition at line 39 of file CbmTofHit.cxx.

References BmnHit::BmnHit(), fChannel, fTime, kTOFHIT_o, BmnHit::SetFlag(), and SetType().

Here is the call graph for this function:

◆ ~CbmTofHit() [1/2]

CbmTofHit::~CbmTofHit ( )
virtual

Definition at line 48 of file CbmTofHit.cxx.

◆ CbmTofHit() [5/8]

CbmTofHit::CbmTofHit ( )

◆ CbmTofHit() [6/8]

CbmTofHit::CbmTofHit ( Int_t address,
TVector3 pos,
TVector3 dpos,
Int_t refIndex,
Double_t tof,
Int_t flag,
Int_t channel )

References tof.

◆ CbmTofHit() [7/8]

CbmTofHit::CbmTofHit ( Int_t address,
TVector3 pos,
TVector3 dpos,
Int_t refIndex,
Double_t tof,
Int_t flag )

References tof.

◆ CbmTofHit() [8/8]

CbmTofHit::CbmTofHit ( Int_t address,
TVector3 pos,
TVector3 dpos,
Int_t refIndex,
Double_t tof )

References tof.

◆ ~CbmTofHit() [2/2]

virtual CbmTofHit::~CbmTofHit ( )
virtual

Member Function Documentation

◆ GetCh() [1/2]

Int_t CbmTofHit::GetCh ( ) const
inline

Definition at line 58 of file CbmTofHit.h.

References fChannel.

Referenced by ToString().

Here is the caller graph for this function:

◆ GetCh() [2/2]

Int_t CbmTofHit::GetCh ( ) const
inline

Definition at line 58 of file CbmTofHit.h.

References fChannel.

◆ GetPlaneId() [1/2]

Int_t CbmTofHit::GetPlaneId ( ) const
inline

Definition at line 52 of file CbmTofHit.h.

◆ GetPlaneId() [2/2]

Int_t CbmTofHit::GetPlaneId ( ) const
inline

Definition at line 52 of file CbmTofHit.h.

◆ GetRefId() [1/2]

Int_t CbmTofHit::GetRefId ( ) const
inline

Definition at line 54 of file CbmTofHit.h.

References BmnHit::GetIndex().

Referenced by ToString().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetRefId() [2/2]

Int_t CbmTofHit::GetRefId ( ) const
inline

Definition at line 54 of file CbmTofHit.h.

References BmnHit::GetIndex().

Here is the call graph for this function:

◆ GetTime() [1/2]

Double_t CbmTofHit::GetTime ( ) const
inline

Definition at line 57 of file CbmTofHit.h.

References fTime.

Referenced by CbmKFParticlesFinder::Exec(), and ToString().

Here is the caller graph for this function:

◆ GetTime() [2/2]

Double_t CbmTofHit::GetTime ( ) const
inline

Definition at line 57 of file CbmTofHit.h.

References fTime.

◆ SetTime() [1/2]

void CbmTofHit::SetTime ( Double_t time)
inline

Definition at line 61 of file CbmTofHit.h.

References fTime.

◆ SetTime() [2/2]

void CbmTofHit::SetTime ( Double_t time)
inline

Definition at line 61 of file CbmTofHit.h.

References fTime.

◆ SetType() [1/2]

void CbmTofHit::SetType ( HitType_o type)
inline

Definition at line 62 of file CbmTofHit.h.

References fType.

Referenced by CbmTofHit(), CbmTofHit(), CbmTofHit(), and CbmTofHit().

Here is the caller graph for this function:

◆ SetType() [2/2]

void CbmTofHit::SetType ( HitType_o type)
inline

Definition at line 62 of file CbmTofHit.h.

References fType.

◆ ToString() [1/2]

string CbmTofHit::ToString ( ) const
virtual

Definition at line 50 of file CbmTofHit.cxx.

References GetCh(), BmnHit::GetDetId(), BmnHit::GetFlag(), GetRefId(), GetTime(), GetX(), GetY(), and GetZ().

Here is the call graph for this function:

◆ ToString() [2/2]

virtual string CbmTofHit::ToString ( ) const
virtual

Member Data Documentation

◆ fChannel

Int_t CbmTofHit::fChannel
private

Definition at line 67 of file CbmTofHit.h.

Referenced by CbmTofHit(), CbmTofHit(), CbmTofHit(), CbmTofHit(), and GetCh().

◆ fTime

Double32_t CbmTofHit::fTime
private

Definition at line 66 of file CbmTofHit.h.

Referenced by CbmTofHit(), CbmTofHit(), CbmTofHit(), CbmTofHit(), GetTime(), and SetTime().

◆ fType

HitType_o CbmTofHit::fType
private

Definition at line 65 of file CbmTofHit.h.

Referenced by SetType().


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