BmnRoot
Loading...
Searching...
No Matches
BmnFD Class Reference

#include <BmnFD.h>

Inheritance diagram for BmnFD:
[legend]
Collaboration diagram for BmnFD:
[legend]

Public Member Functions

 BmnFD ()
 
 BmnFD (const char *name, Bool_t active)
 
virtual ~BmnFD ()
 
virtual void Initialize ()
 
virtual Bool_t ProcessHits (FairVolume *vol=0)
 
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)
 
BmnFDPointAddHit (Int_t trackID, Int_t detID, Int_t copyNo, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Bool_t isPrimary, Double_t charge, Int_t pdgId, Double_t lightYield, Double_t timeIn, Double_t timeOut, Double_t lengthtrack)
 
 BmnFD ()
 
 BmnFD (const char *name, Bool_t active)
 
virtual ~BmnFD ()
 
virtual void Initialize ()
 
virtual Bool_t ProcessHits (FairVolume *vol=0)
 
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)
 
BmnFDPointAddHit (Int_t trackID, Int_t detID, Int_t copyNo, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Bool_t isPrimary, Double_t charge, Int_t pdgId, Double_t lightYield, Double_t timeIn, Double_t timeOut, Double_t lengthtrack)
 

Detailed Description

Definition at line 21 of file BmnFD.h.

Constructor & Destructor Documentation

◆ BmnFD() [1/4]

BmnFD::BmnFD ( )

Default constructor

Definition at line 33 of file BmnFD.cxx.

◆ BmnFD() [2/4]

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

Standard constructor.

Parameters
namedetetcor name
activesensitivity flag

Definition at line 46 of file BmnFD.cxx.

◆ ~BmnFD() [1/2]

BmnFD::~BmnFD ( )
virtual

Destructor

Definition at line 61 of file BmnFD.cxx.

◆ BmnFD() [3/4]

BmnFD::BmnFD ( )

Default constructor

◆ BmnFD() [4/4]

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

Standard constructor.

Parameters
namedetetcor name
activesensitivity flag

◆ ~BmnFD() [2/2]

virtual BmnFD::~BmnFD ( )
virtual

Destructor

Member Function Documentation

◆ AddHit() [1/2]

BmnFDPoint * BmnFD::AddHit ( Int_t  trackID,
Int_t  detID,
Int_t  copyNo,
TVector3  posIn,
TVector3  posOut,
TVector3  momIn,
TVector3  momOut,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Bool_t  isPrimary,
Double_t  charge,
Int_t  pdgId,
Double_t  lightYield,
Double_t  timeIn,
Double_t  timeOut,
Double_t  lengthtrack 
)

Definition at line 374 of file BmnFD.cxx.

Referenced by ProcessHits().

◆ AddHit() [2/2]

BmnFDPoint * BmnFD::AddHit ( Int_t  trackID,
Int_t  detID,
Int_t  copyNo,
TVector3  posIn,
TVector3  posOut,
TVector3  momIn,
TVector3  momOut,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Bool_t  isPrimary,
Double_t  charge,
Int_t  pdgId,
Double_t  lightYield,
Double_t  timeIn,
Double_t  timeOut,
Double_t  lengthtrack 
)

◆ BeginEvent() [1/2]

void BmnFD::BeginEvent ( )
virtual

Definition at line 79 of file BmnFD.cxx.

◆ BeginEvent() [2/2]

virtual void BmnFD::BeginEvent ( )
virtual

◆ CheckIfSensitive() [1/2]

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

Definition at line 364 of file BmnFD.cxx.

◆ CheckIfSensitive() [2/2]

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

◆ ConstructAsciiGeometry() [1/2]

void BmnFD::ConstructAsciiGeometry ( )
virtual

Definition at line 326 of file BmnFD.cxx.

References BmnFDGeoPar::GetGeoPassiveNodes(), and BmnFDGeoPar::GetGeoSensitiveNodes().

Referenced by ConstructGeometry().

◆ ConstructAsciiGeometry() [2/2]

virtual void BmnFD::ConstructAsciiGeometry ( )
virtual

◆ ConstructGeometry() [1/2]

void BmnFD::ConstructGeometry ( )
virtual

Virtual method Construct geometry

Definition at line 310 of file BmnFD.cxx.

References ConstructAsciiGeometry().

◆ ConstructGeometry() [2/2]

virtual void BmnFD::ConstructGeometry ( )
virtual

Virtual method Construct geometry

◆ CopyClones() [1/2]

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

Virtual method CopyClones

Copies the hit collection with a given track index offset

Parameters
cl1Origin
cl2Target
offsetIndex offset

Definition at line 293 of file BmnFD.cxx.

References i.

◆ CopyClones() [2/2]

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

Virtual method CopyClones

Copies the hit collection with a given track index offset

Parameters
cl1Origin
cl2Target
offsetIndex offset

◆ EndOfEvent() [1/2]

void BmnFD::EndOfEvent ( )
virtual

Virtual method EndOfEvent

If verbosity level is set, print hit collection at the end of the event and resets it afterwards.

Definition at line 256 of file BmnFD.cxx.

References Print(), and Reset().

◆ EndOfEvent() [2/2]

virtual void BmnFD::EndOfEvent ( )
virtual

Virtual method EndOfEvent

If verbosity level is set, print hit collection at the end of the event and resets it afterwards.

◆ GetCollection() [1/2]

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

Accessor to the hit collection

Definition at line 267 of file BmnFD.cxx.

◆ GetCollection() [2/2]

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

Accessor to the hit collection

◆ Initialize() [1/2]

void BmnFD::Initialize ( )
virtual

Virtual method Initialize Initialises detector. Stores volume IDs for MUO detector and mirror.

Definition at line 71 of file BmnFD.cxx.

◆ Initialize() [2/2]

virtual void BmnFD::Initialize ( )
virtual

Virtual method Initialize Initialises detector. Stores volume IDs for MUO detector and mirror.

◆ Print() [1/2]

void BmnFD::Print ( Option_t *  ) const
virtual

Virtual method Print

Screen output of hit collection.

Definition at line 274 of file BmnFD.cxx.

References i.

Referenced by EndOfEvent().

◆ Print() [2/2]

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

Virtual method Print

Screen output of hit collection.

◆ ProcessHits() [1/2]

Bool_t BmnFD::ProcessHits ( FairVolume *  vol = 0)
virtual

Virtual method ProcessHits

Defines the action to be taken when a step is inside the active volume. Creates BmnFDPoints adds them to the collections.

Parameters
volPointer to the active volume

Definition at line 87 of file BmnFD.cxx.

References AddHit(), and kFD.

◆ ProcessHits() [2/2]

virtual Bool_t BmnFD::ProcessHits ( FairVolume *  vol = 0)
virtual

Virtual method ProcessHits

Defines the action to be taken when a step is inside the active volume. Creates BmnFDPoints adds them to the collections.

Parameters
volPointer to the active volume

◆ Register() [1/2]

void BmnFD::Register ( )
virtual

Virtual method Register

Registers the hit collection in the ROOT manager.

Definition at line 262 of file BmnFD.cxx.

◆ Register() [2/2]

virtual void BmnFD::Register ( )
virtual

Virtual method Register

Registers the hit collection in the ROOT manager.

◆ Reset() [1/2]

void BmnFD::Reset ( )
virtual

Virtual method Reset

Clears the hit collection

Definition at line 285 of file BmnFD.cxx.

Referenced by EndOfEvent().

◆ Reset() [2/2]

virtual void BmnFD::Reset ( )
virtual

Virtual method Reset

Clears the hit collection


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