BmnRoot 26.10.0-233-gb9bbe585
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)

Private Member Functions

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/3]

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/3]

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

Definition at line 17 of file BmnTOF1.cxx.

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

◆ ~BmnTOF1()

BmnTOF1::~BmnTOF1 ( )
virtual

Definition at line 29 of file BmnTOF1.cxx.

References fTofCollection.

◆ BmnTOF1() [3/3]

BmnTOF1::BmnTOF1 ( const BmnTOF1 & )
privatedelete

References BmnTOF1().

Here is the call graph for this function:

Member Function Documentation

◆ AddPoint()

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:

◆ BeginEvent()

void BmnTOF1::BeginEvent ( )
virtual

Definition at line 44 of file BmnTOF1.cxx.

◆ CheckIfSensitive()

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:

◆ ConstructAsciiGeometry()

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:

◆ ConstructGeometry()

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:

◆ CopyClones()

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:

◆ EndOfEvent()

void BmnTOF1::EndOfEvent ( )
virtual

Definition at line 83 of file BmnTOF1.cxx.

References Print(), and Reset().

Here is the call graph for this function:

◆ GetCollection()

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

Definition at line 97 of file BmnTOF1.cxx.

References fTofCollection.

◆ Initialize()

void BmnTOF1::Initialize ( )
virtual

Definition at line 36 of file BmnTOF1.cxx.

◆ operator=()

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

References BmnTOF1().

Here is the call graph for this function:

◆ Print()

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:

◆ ProcessHits()

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:

◆ Register()

void BmnTOF1::Register ( )
virtual

Definition at line 91 of file BmnTOF1.cxx.

References fTofCollection.

◆ Reset()

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:

◆ ResetParameters()

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:

Member Data Documentation

◆ fELoss

Double32_t BmnTOF1::fELoss
private

Definition at line 61 of file BmnTOF1.h.

Referenced by ProcessHits(), and ResetParameters().

◆ fLength

Double32_t BmnTOF1::fLength
private

Definition at line 60 of file BmnTOF1.h.

Referenced by ProcessHits(), and ResetParameters().

◆ fMom

TLorentzVector BmnTOF1::fMom
private

Definition at line 58 of file BmnTOF1.h.

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

◆ fPos

TLorentzVector BmnTOF1::fPos
private

Definition at line 57 of file BmnTOF1.h.

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

◆ fPosIndex

Int_t BmnTOF1::fPosIndex
private

Definition at line 62 of file BmnTOF1.h.

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

◆ fTime

Double32_t BmnTOF1::fTime
private

Definition at line 59 of file BmnTOF1.h.

Referenced by 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(), and ResetParameters().


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