BmnRoot 26.10.0-233-gb9bbe585
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnTOF701 Class Reference

#include <BmnTOF701.h>

Inheritance diagram for BmnTOF701:
Collaboration diagram for BmnTOF701:

Public Member Functions

 BmnTOF701 ()
 BmnTOF701 (const char *name, Bool_t active)
virtual ~BmnTOF701 ()
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.
 BmnTOF701 (const BmnTOF701 &)=delete
BmnTOF701 operator= (const BmnTOF701 &)=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 BmnTOF701.h.

Constructor & Destructor Documentation

◆ BmnTOF701() [1/3]

BmnTOF701::BmnTOF701 ( )

Definition at line 6 of file BmnTOF701.cxx.

References fPosIndex, fTofCollection, and nan.

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

Here is the caller graph for this function:

◆ BmnTOF701() [2/3]

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

Definition at line 15 of file BmnTOF701.cxx.

References fPosIndex, fTofCollection, and nan.

◆ ~BmnTOF701()

BmnTOF701::~BmnTOF701 ( )
virtual

Definition at line 25 of file BmnTOF701.cxx.

References fTofCollection.

◆ BmnTOF701() [3/3]

BmnTOF701::BmnTOF701 ( const BmnTOF701 & )
privatedelete

References BmnTOF701().

Here is the call graph for this function:

Member Function Documentation

◆ AddPoint()

BmnTOF1Point * BmnTOF701::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 201 of file BmnTOF701.cxx.

References fTofCollection.

Referenced by ProcessHits().

Here is the caller graph for this function:

◆ BeginEvent()

void BmnTOF701::BeginEvent ( )
virtual

Definition at line 38 of file BmnTOF701.cxx.

◆ CheckIfSensitive()

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

Definition at line 191 of file BmnTOF701.cxx.

References TString::Contains().

Here is the call graph for this function:

◆ ConstructAsciiGeometry()

void BmnTOF701::ConstructAsciiGeometry ( )
virtual

Definition at line 152 of file BmnTOF701.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 BmnTOF701::ConstructGeometry ( )
virtual

Definition at line 138 of file BmnTOF701.cxx.

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

Here is the call graph for this function:

◆ CopyClones()

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

Definition at line 119 of file BmnTOF701.cxx.

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

Here is the call graph for this function:

◆ EndOfEvent()

void BmnTOF701::EndOfEvent ( )
virtual

Definition at line 77 of file BmnTOF701.cxx.

References Print(), and Reset().

Here is the call graph for this function:

◆ GetCollection()

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

Definition at line 91 of file BmnTOF701.cxx.

References fTofCollection.

◆ Initialize()

void BmnTOF701::Initialize ( )
virtual

Definition at line 32 of file BmnTOF701.cxx.

◆ operator=()

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

References BmnTOF701().

Here is the call graph for this function:

◆ Print()

void BmnTOF701::Print ( Option_t * ) const
virtual

Definition at line 100 of file BmnTOF701.cxx.

References fTofCollection, and i.

Referenced by EndOfEvent().

Here is the caller graph for this function:

◆ ProcessHits()

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

Definition at line 41 of file BmnTOF701.cxx.

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

Here is the call graph for this function:

◆ Register()

void BmnTOF701::Register ( )
virtual

Definition at line 85 of file BmnTOF701.cxx.

References fTofCollection.

◆ Reset()

void BmnTOF701::Reset ( )
virtual

Definition at line 111 of file BmnTOF701.cxx.

References fPosIndex, and fTofCollection.

Referenced by EndOfEvent().

Here is the caller graph for this function:

◆ ResetParameters()

void BmnTOF701::ResetParameters ( )
inlineprivate

Definition at line 75 of file BmnTOF701.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 BmnTOF701::fELoss
private

Definition at line 61 of file BmnTOF701.h.

Referenced by ProcessHits(), and ResetParameters().

◆ fLength

Double32_t BmnTOF701::fLength
private

Definition at line 60 of file BmnTOF701.h.

Referenced by ProcessHits(), and ResetParameters().

◆ fMom

TLorentzVector BmnTOF701::fMom
private

Definition at line 58 of file BmnTOF701.h.

Referenced by ProcessHits(), and ResetParameters().

◆ fPos

TLorentzVector BmnTOF701::fPos
private

Definition at line 57 of file BmnTOF701.h.

Referenced by ProcessHits(), and ResetParameters().

◆ fPosIndex

Int_t BmnTOF701::fPosIndex
private

Definition at line 62 of file BmnTOF701.h.

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

◆ fTime

Double32_t BmnTOF701::fTime
private

Definition at line 59 of file BmnTOF701.h.

Referenced by ProcessHits(), and ResetParameters().

◆ fTofCollection

TClonesArray* BmnTOF701::fTofCollection
private

Definition at line 65 of file BmnTOF701.h.

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

◆ nan

const double BmnTOF701::nan
private

Definition at line 63 of file BmnTOF701.h.

Referenced by BmnTOF701(), BmnTOF701(), and ResetParameters().


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