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

#include <BmnTOF1.h>

Inheritance diagram for BmnTOF1:
Collaboration diagram for BmnTOF1:

Public Member Functions

 BmnTOF1 ()
 BmnTOF1 (const char *name, Bool_t active)
virtual ~BmnTOF1 ()
virtual void Initialize ()
virtual Bool_t ProcessHits (FairVolume *vol=nullptr)
virtual void EndOfEvent ()
virtual void BeginEvent ()
virtual void Register ()
virtual TClonesArray * GetCollection (Int_t iColl) const
virtual void Print (Option_t *) const
virtual void Reset ()
virtual void CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
virtual void ConstructGeometry ()
virtual void ConstructAsciiGeometry ()
virtual Bool_t CheckIfSensitive (std::string name)
BmnTOF1Point * AddPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Int_t volUID)
 BmnTOF1 ()
 BmnTOF1 (const char *name, Bool_t active)
virtual ~BmnTOF1 ()
virtual void Initialize ()
virtual Bool_t ProcessHits (FairVolume *vol=nullptr)
virtual void EndOfEvent ()
virtual void BeginEvent ()
virtual void Register ()
virtual TClonesArray * GetCollection (Int_t iColl) const
virtual void Print (Option_t *) const
virtual void Reset ()
virtual void CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
virtual void ConstructGeometry ()
virtual void ConstructAsciiGeometry ()
virtual Bool_t CheckIfSensitive (std::string name)
BmnTOF1Point * AddPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Int_t volUID)

Private Member Functions

void ResetParameters ()
 Hit collection.
 BmnTOF1 (const BmnTOF1 &)=delete
BmnTOF1 operator= (const BmnTOF1 &)=delete
void ResetParameters ()
 Hit collection.
 BmnTOF1 (const BmnTOF1 &)=delete
BmnTOF1 operator= (const BmnTOF1 &)=delete

Private Attributes

TLorentzVector fPos
TLorentzVector fMom
 position
Double32_t fTime
 momentum
Double32_t fLength
 time
Double32_t fELoss
 length
Int_t fPosIndex
 energy loss
const double nan
TClonesArray * fTofCollection
 KG: nan is set to -10 000 000, but i think it should be 0.

Detailed Description

Definition at line 27 of file BmnTOF1.h.

Constructor & Destructor Documentation

◆ BmnTOF1() [1/6]

BmnTOF1::BmnTOF1 ( )

Definition at line 6 of file BmnTOF1.cxx.

References fMom, fPos, fPosIndex, fTofCollection, and nan.

Referenced by BmnTOF1(), and operator=().

Here is the caller graph for this function:

◆ BmnTOF1() [2/6]

BmnTOF1::BmnTOF1 ( const char * name,
Bool_t active )

Definition at line 17 of file BmnTOF1.cxx.

References fMom, fPos, fPosIndex, fTofCollection, and nan.

◆ ~BmnTOF1() [1/2]

BmnTOF1::~BmnTOF1 ( )
virtual

Definition at line 29 of file BmnTOF1.cxx.

References fTofCollection.

◆ BmnTOF1() [3/6]

BmnTOF1::BmnTOF1 ( const BmnTOF1 & )
privatedelete

References BmnTOF1().

Here is the call graph for this function:

◆ BmnTOF1() [4/6]

BmnTOF1::BmnTOF1 ( )

◆ BmnTOF1() [5/6]

BmnTOF1::BmnTOF1 ( const char * name,
Bool_t active )

◆ ~BmnTOF1() [2/2]

virtual BmnTOF1::~BmnTOF1 ( )
virtual

◆ BmnTOF1() [6/6]

BmnTOF1::BmnTOF1 ( const BmnTOF1 & )
privatedelete

References BmnTOF1().

Here is the call graph for this function:

Member Function Documentation

◆ AddPoint() [1/2]

BmnTOF1Point * BmnTOF1::AddPoint ( Int_t trackID,
Int_t detID,
TVector3 pos,
TVector3 mom,
Double_t tof,
Double_t length,
Double_t eLoss,
Int_t volUID )

Definition at line 207 of file BmnTOF1.cxx.

References fTofCollection.

Referenced by ProcessHits().

Here is the caller graph for this function:

◆ AddPoint() [2/2]

BmnTOF1Point * BmnTOF1::AddPoint ( Int_t trackID,
Int_t detID,
TVector3 pos,
TVector3 mom,
Double_t tof,
Double_t length,
Double_t eLoss,
Int_t volUID )

◆ BeginEvent() [1/2]

void BmnTOF1::BeginEvent ( )
virtual

Definition at line 44 of file BmnTOF1.cxx.

◆ BeginEvent() [2/2]

virtual void BmnTOF1::BeginEvent ( )
virtual

◆ CheckIfSensitive() [1/2]

Bool_t BmnTOF1::CheckIfSensitive ( std::string name)
virtual

Definition at line 197 of file BmnTOF1.cxx.

References TString::Contains().

Here is the call graph for this function:

◆ CheckIfSensitive() [2/2]

virtual Bool_t BmnTOF1::CheckIfSensitive ( std::string name)
virtual

◆ ConstructAsciiGeometry() [1/2]

void BmnTOF1::ConstructAsciiGeometry ( )
virtual

Definition at line 158 of file BmnTOF1.cxx.

References TObjArray::AddLast(), BmnTOF1GeoPar::GetGeoPassiveNodes(), BmnTOF1GeoPar::GetGeoSensitiveNodes(), and TListIter::Next().

Referenced by ConstructGeometry().

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

◆ ConstructAsciiGeometry() [2/2]

virtual void BmnTOF1::ConstructAsciiGeometry ( )
virtual

◆ ConstructGeometry() [1/2]

void BmnTOF1::ConstructGeometry ( )
virtual

Definition at line 144 of file BmnTOF1.cxx.

References ConstructAsciiGeometry(), TString::Data(), and TString::EndsWith().

Here is the call graph for this function:

◆ ConstructGeometry() [2/2]

virtual void BmnTOF1::ConstructGeometry ( )
virtual

◆ CopyClones() [1/2]

void BmnTOF1::CopyClones ( TClonesArray * cl1,
TClonesArray * cl2,
Int_t offset )
virtual

Definition at line 125 of file BmnTOF1.cxx.

References TObjArray::At(), fPosIndex, TObjArray::GetEntriesFast(), and i.

Here is the call graph for this function:

◆ CopyClones() [2/2]

virtual void BmnTOF1::CopyClones ( TClonesArray * cl1,
TClonesArray * cl2,
Int_t offset )
virtual

◆ EndOfEvent() [1/2]

void BmnTOF1::EndOfEvent ( )
virtual

Definition at line 83 of file BmnTOF1.cxx.

References Print(), and Reset().

Here is the call graph for this function:

◆ EndOfEvent() [2/2]

virtual void BmnTOF1::EndOfEvent ( )
virtual

◆ GetCollection() [1/2]

TClonesArray * BmnTOF1::GetCollection ( Int_t iColl) const
virtual

Definition at line 97 of file BmnTOF1.cxx.

References fTofCollection.

◆ GetCollection() [2/2]

virtual TClonesArray * BmnTOF1::GetCollection ( Int_t iColl) const
virtual

◆ Initialize() [1/2]

void BmnTOF1::Initialize ( )
virtual

Definition at line 36 of file BmnTOF1.cxx.

◆ Initialize() [2/2]

virtual void BmnTOF1::Initialize ( )
virtual

◆ operator=() [1/2]

BmnTOF1 BmnTOF1::operator= ( const BmnTOF1 & )
privatedelete

References BmnTOF1().

Here is the call graph for this function:

◆ operator=() [2/2]

BmnTOF1 BmnTOF1::operator= ( const BmnTOF1 & )
privatedelete

References BmnTOF1().

Here is the call graph for this function:

◆ Print() [1/2]

void BmnTOF1::Print ( Option_t * ) const
virtual

Definition at line 106 of file BmnTOF1.cxx.

References fTofCollection, and i.

Referenced by EndOfEvent().

Here is the caller graph for this function:

◆ Print() [2/2]

virtual void BmnTOF1::Print ( Option_t * ) const
virtual

◆ ProcessHits() [1/2]

Bool_t BmnTOF1::ProcessHits ( FairVolume * vol = nullptr)
virtual

Definition at line 47 of file BmnTOF1.cxx.

References AddPoint(), fELoss, fLength, fMom, fPos, fTime, BmnTOF1Point::GetVolumeUID(), kTOF1, and ResetParameters().

Here is the call graph for this function:

◆ ProcessHits() [2/2]

virtual Bool_t BmnTOF1::ProcessHits ( FairVolume * vol = nullptr)
virtual

◆ Register() [1/2]

void BmnTOF1::Register ( )
virtual

Definition at line 91 of file BmnTOF1.cxx.

References fTofCollection.

◆ Register() [2/2]

virtual void BmnTOF1::Register ( )
virtual

◆ Reset() [1/2]

void BmnTOF1::Reset ( )
virtual

Definition at line 117 of file BmnTOF1.cxx.

References fPosIndex, and fTofCollection.

Referenced by EndOfEvent().

Here is the caller graph for this function:

◆ Reset() [2/2]

virtual void BmnTOF1::Reset ( )
virtual

◆ ResetParameters() [1/2]

void BmnTOF1::ResetParameters ( )
inlineprivate

Definition at line 75 of file BmnTOF1.h.

References fELoss, fLength, fMom, fPos, fPosIndex, fTime, and nan.

Referenced by ProcessHits().

Here is the caller graph for this function:

◆ ResetParameters() [2/2]

void BmnTOF1::ResetParameters ( )
private

Member Data Documentation

◆ fELoss

Double32_t BmnTOF1::fELoss
private

Definition at line 61 of file BmnTOF1.h.

Referenced by AddPoint(), ProcessHits(), and ResetParameters().

◆ fLength

Double32_t BmnTOF1::fLength
private

Definition at line 60 of file BmnTOF1.h.

Referenced by AddPoint(), ProcessHits(), and ResetParameters().

◆ fMom

TLorentzVector BmnTOF1::fMom
private

Definition at line 58 of file BmnTOF1.h.

Referenced by BmnTOF1(), BmnTOF1(), AddPoint(), ProcessHits(), and ResetParameters().

◆ fPos

TLorentzVector BmnTOF1::fPos
private

Definition at line 57 of file BmnTOF1.h.

Referenced by BmnTOF1(), BmnTOF1(), AddPoint(), ProcessHits(), and ResetParameters().

◆ fPosIndex

Int_t BmnTOF1::fPosIndex
private

Definition at line 62 of file BmnTOF1.h.

Referenced by BmnTOF1(), BmnTOF1(), AddPoint(), CopyClones(), Reset(), and ResetParameters().

◆ fTime

Double32_t BmnTOF1::fTime
private

Definition at line 59 of file BmnTOF1.h.

Referenced by AddPoint(), ProcessHits(), and ResetParameters().

◆ fTofCollection

TClonesArray * BmnTOF1::fTofCollection
private

Definition at line 65 of file BmnTOF1.h.

Referenced by BmnTOF1(), BmnTOF1(), ~BmnTOF1(), AddPoint(), GetCollection(), Print(), Register(), and Reset().

◆ nan

const double BmnTOF1::nan
private

Definition at line 63 of file BmnTOF1.h.

Referenced by BmnTOF1(), BmnTOF1(), AddPoint(), and ResetParameters().


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