BmnRoot 26.10.0-18-g4e3414f9
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)
 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
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/6]

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

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

Definition at line 15 of file BmnTOF701.cxx.

References fPosIndex, fTofCollection, and nan.

◆ ~BmnTOF701() [1/2]

BmnTOF701::~BmnTOF701 ( )
virtual

Definition at line 25 of file BmnTOF701.cxx.

References fTofCollection.

◆ BmnTOF701() [3/6]

BmnTOF701::BmnTOF701 ( const BmnTOF701 & )
privatedelete

References BmnTOF701().

Here is the call graph for this function:

◆ BmnTOF701() [4/6]

BmnTOF701::BmnTOF701 ( )

◆ BmnTOF701() [5/6]

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

◆ ~BmnTOF701() [2/2]

virtual BmnTOF701::~BmnTOF701 ( )
virtual

◆ BmnTOF701() [6/6]

BmnTOF701::BmnTOF701 ( const BmnTOF701 & )
privatedelete

References BmnTOF701().

Here is the call graph for this function:

Member Function Documentation

◆ AddPoint() [1/2]

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:

◆ AddPoint() [2/2]

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 )

◆ BeginEvent() [1/2]

void BmnTOF701::BeginEvent ( )
virtual

Definition at line 38 of file BmnTOF701.cxx.

◆ BeginEvent() [2/2]

virtual void BmnTOF701::BeginEvent ( )
virtual

◆ CheckIfSensitive() [1/2]

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:

◆ CheckIfSensitive() [2/2]

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

◆ ConstructAsciiGeometry() [1/2]

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:

◆ ConstructAsciiGeometry() [2/2]

virtual void BmnTOF701::ConstructAsciiGeometry ( )
virtual

◆ ConstructGeometry() [1/2]

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:

◆ ConstructGeometry() [2/2]

virtual void BmnTOF701::ConstructGeometry ( )
virtual

◆ CopyClones() [1/2]

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:

◆ CopyClones() [2/2]

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

◆ EndOfEvent() [1/2]

void BmnTOF701::EndOfEvent ( )
virtual

Definition at line 77 of file BmnTOF701.cxx.

References Print(), and Reset().

Here is the call graph for this function:

◆ EndOfEvent() [2/2]

virtual void BmnTOF701::EndOfEvent ( )
virtual

◆ GetCollection() [1/2]

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

Definition at line 91 of file BmnTOF701.cxx.

References fTofCollection.

◆ GetCollection() [2/2]

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

◆ Initialize() [1/2]

void BmnTOF701::Initialize ( )
virtual

Definition at line 32 of file BmnTOF701.cxx.

◆ Initialize() [2/2]

virtual void BmnTOF701::Initialize ( )
virtual

◆ operator=() [1/2]

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

References BmnTOF701().

Here is the call graph for this function:

◆ operator=() [2/2]

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

References BmnTOF701().

Here is the call graph for this function:

◆ Print() [1/2]

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:

◆ Print() [2/2]

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

◆ ProcessHits() [1/2]

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:

◆ ProcessHits() [2/2]

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

◆ Register() [1/2]

void BmnTOF701::Register ( )
virtual

Definition at line 85 of file BmnTOF701.cxx.

References fTofCollection.

◆ Register() [2/2]

virtual void BmnTOF701::Register ( )
virtual

◆ Reset() [1/2]

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:

◆ Reset() [2/2]

virtual void BmnTOF701::Reset ( )
virtual

◆ ResetParameters() [1/2]

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:

◆ ResetParameters() [2/2]

void BmnTOF701::ResetParameters ( )
private

Member Data Documentation

◆ fELoss

Double32_t BmnTOF701::fELoss
private

Definition at line 61 of file BmnTOF701.h.

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

◆ fLength

Double32_t BmnTOF701::fLength
private

Definition at line 60 of file BmnTOF701.h.

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

◆ fMom

TLorentzVector BmnTOF701::fMom
private

Definition at line 58 of file BmnTOF701.h.

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

◆ fPos

TLorentzVector BmnTOF701::fPos
private

Definition at line 57 of file BmnTOF701.h.

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

◆ fPosIndex

Int_t BmnTOF701::fPosIndex
private

Definition at line 62 of file BmnTOF701.h.

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

◆ fTime

Double32_t BmnTOF701::fTime
private

Definition at line 59 of file BmnTOF701.h.

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


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