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

#include <BmnScWall.h>

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

Public Member Functions

 BmnScWall ()
 
 BmnScWall (const char *name, Bool_t active)
 
virtual ~BmnScWall ()
 
virtual void Initialize ()
 
virtual Bool_t ProcessHits (FairVolume *vol=0)
 
virtual void EndOfEvent ()
 
virtual void BeginEvent ()
 
virtual void FinishPrimary ()
 
virtual void FinishRun ()
 
virtual void BeginPrimary ()
 
virtual void PostTrack ()
 
virtual void PreTrack ()
 
virtual void Register ()
 
virtual TClonesArray * GetCollection (Int_t iColl) const
 
virtual void Print (Option_t *) const
 
virtual void Reset ()
 
virtual void ConstructGeometry ()
 
virtual Bool_t CheckIfSensitive (std::string name)
 
BmnScWallPointGetHit (Int_t i) const
 
BmnScWallPointGetHit (Int_t slice, Int_t cell) const
 
Int_t GetCellSmallCutVolId ()
 
Int_t GetCellSmallCutVolId_10mm ()
 
Int_t GetCellSmallCutVolId_20mm ()
 
Int_t GetCellSmallTrapVolId ()
 
Int_t GetCellSmallTrapVolId_10mm ()
 
Int_t GetCellSmallTrapVolId_20mm ()
 
Int_t GetCellLargeCutVolId ()
 
Int_t GetCellLargeTrapVolId ()
 
BmnScWallPointAddHit (Int_t trackID, Int_t detID, Int_t copyNo, Int_t copyNoMother, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss)
 
 BmnScWall ()
 
 BmnScWall (const char *name, Bool_t active)
 
virtual ~BmnScWall ()
 
virtual void Initialize ()
 
virtual Bool_t ProcessHits (FairVolume *vol=0)
 
virtual void EndOfEvent ()
 
virtual void BeginEvent ()
 
virtual void FinishPrimary ()
 
virtual void FinishRun ()
 
virtual void BeginPrimary ()
 
virtual void PostTrack ()
 
virtual void PreTrack ()
 
virtual void Register ()
 
virtual TClonesArray * GetCollection (Int_t iColl) const
 
virtual void Print (Option_t *) const
 
virtual void Reset ()
 
virtual void ConstructGeometry ()
 
virtual Bool_t CheckIfSensitive (std::string name)
 
BmnScWallPointGetHit (Int_t i) const
 
BmnScWallPointGetHit (Int_t slice, Int_t cell) const
 
Int_t GetCellSmallCutVolId ()
 
Int_t GetCellSmallCutVolId_10mm ()
 
Int_t GetCellSmallCutVolId_20mm ()
 
Int_t GetCellSmallTrapVolId ()
 
Int_t GetCellSmallTrapVolId_10mm ()
 
Int_t GetCellSmallTrapVolId_20mm ()
 
Int_t GetCellLargeCutVolId ()
 
Int_t GetCellLargeTrapVolId ()
 
BmnScWallPointAddHit (Int_t trackID, Int_t detID, Int_t copyNo, Int_t copyNoMother, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss)
 

Detailed Description

Definition at line 25 of file BmnScWall.h.

Constructor & Destructor Documentation

◆ BmnScWall() [1/4]

BmnScWall::BmnScWall ( )

Default constructor

Definition at line 31 of file BmnScWall.cxx.

◆ BmnScWall() [2/4]

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

Standard constructor.

Parameters
namedetetcor name
activesensitivity flag

Definition at line 50 of file BmnScWall.cxx.

◆ ~BmnScWall() [1/2]

BmnScWall::~BmnScWall ( )
virtual

Destructor

Definition at line 68 of file BmnScWall.cxx.

◆ BmnScWall() [3/4]

BmnScWall::BmnScWall ( )

Default constructor

◆ BmnScWall() [4/4]

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

Standard constructor.

Parameters
namedetetcor name
activesensitivity flag

◆ ~BmnScWall() [2/2]

virtual BmnScWall::~BmnScWall ( )
virtual

Destructor

Member Function Documentation

◆ AddHit() [1/2]

BmnScWallPoint * BmnScWall::AddHit ( Int_t  trackID,
Int_t  detID,
Int_t  copyNo,
Int_t  copyNoMother,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss 
)

Definition at line 380 of file BmnScWall.cxx.

Referenced by ProcessHits().

◆ AddHit() [2/2]

BmnScWallPoint * BmnScWall::AddHit ( Int_t  trackID,
Int_t  detID,
Int_t  copyNo,
Int_t  copyNoMother,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss 
)

◆ BeginEvent() [1/2]

virtual void BmnScWall::BeginEvent ( )
inlinevirtual

Definition at line 62 of file BmnScWall.h.

◆ BeginEvent() [2/2]

virtual void BmnScWall::BeginEvent ( )
inlinevirtual

Definition at line 62 of file BmnScWall.h.

◆ BeginPrimary() [1/2]

virtual void BmnScWall::BeginPrimary ( )
inlinevirtual

Definition at line 65 of file BmnScWall.h.

◆ BeginPrimary() [2/2]

virtual void BmnScWall::BeginPrimary ( )
inlinevirtual

Definition at line 65 of file BmnScWall.h.

◆ CheckIfSensitive() [1/2]

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

Definition at line 371 of file BmnScWall.cxx.

◆ CheckIfSensitive() [2/2]

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

◆ ConstructGeometry() [1/2]

void BmnScWall::ConstructGeometry ( )
virtual

Virtual method Construct geometry

Definition at line 360 of file BmnScWall.cxx.

◆ ConstructGeometry() [2/2]

virtual void BmnScWall::ConstructGeometry ( )
virtual

Virtual method Construct geometry

◆ EndOfEvent() [1/2]

void BmnScWall::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 321 of file BmnScWall.cxx.

References Print(), and Reset().

◆ EndOfEvent() [2/2]

virtual void BmnScWall::EndOfEvent ( )
virtual

Virtual method EndOfEvent

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

◆ FinishPrimary() [1/2]

virtual void BmnScWall::FinishPrimary ( )
inlinevirtual

Definition at line 63 of file BmnScWall.h.

◆ FinishPrimary() [2/2]

virtual void BmnScWall::FinishPrimary ( )
inlinevirtual

Definition at line 63 of file BmnScWall.h.

◆ FinishRun() [1/2]

virtual void BmnScWall::FinishRun ( )
inlinevirtual

Definition at line 64 of file BmnScWall.h.

◆ FinishRun() [2/2]

virtual void BmnScWall::FinishRun ( )
inlinevirtual

Definition at line 64 of file BmnScWall.h.

◆ GetCellLargeCutVolId() [1/2]

Int_t BmnScWall::GetCellLargeCutVolId ( )
inline

Definition at line 104 of file BmnScWall.h.

◆ GetCellLargeCutVolId() [2/2]

Int_t BmnScWall::GetCellLargeCutVolId ( )
inline

Definition at line 104 of file BmnScWall.h.

◆ GetCellLargeTrapVolId() [1/2]

Int_t BmnScWall::GetCellLargeTrapVolId ( )
inline

Definition at line 105 of file BmnScWall.h.

◆ GetCellLargeTrapVolId() [2/2]

Int_t BmnScWall::GetCellLargeTrapVolId ( )
inline

Definition at line 105 of file BmnScWall.h.

◆ GetCellSmallCutVolId() [1/2]

Int_t BmnScWall::GetCellSmallCutVolId ( )
inline

Definition at line 98 of file BmnScWall.h.

◆ GetCellSmallCutVolId() [2/2]

Int_t BmnScWall::GetCellSmallCutVolId ( )
inline

Definition at line 98 of file BmnScWall.h.

◆ GetCellSmallCutVolId_10mm() [1/2]

Int_t BmnScWall::GetCellSmallCutVolId_10mm ( )
inline

Definition at line 99 of file BmnScWall.h.

◆ GetCellSmallCutVolId_10mm() [2/2]

Int_t BmnScWall::GetCellSmallCutVolId_10mm ( )
inline

Definition at line 99 of file BmnScWall.h.

◆ GetCellSmallCutVolId_20mm() [1/2]

Int_t BmnScWall::GetCellSmallCutVolId_20mm ( )
inline

Definition at line 100 of file BmnScWall.h.

◆ GetCellSmallCutVolId_20mm() [2/2]

Int_t BmnScWall::GetCellSmallCutVolId_20mm ( )
inline

Definition at line 100 of file BmnScWall.h.

◆ GetCellSmallTrapVolId() [1/2]

Int_t BmnScWall::GetCellSmallTrapVolId ( )
inline

Definition at line 101 of file BmnScWall.h.

◆ GetCellSmallTrapVolId() [2/2]

Int_t BmnScWall::GetCellSmallTrapVolId ( )
inline

Definition at line 101 of file BmnScWall.h.

◆ GetCellSmallTrapVolId_10mm() [1/2]

Int_t BmnScWall::GetCellSmallTrapVolId_10mm ( )
inline

Definition at line 102 of file BmnScWall.h.

◆ GetCellSmallTrapVolId_10mm() [2/2]

Int_t BmnScWall::GetCellSmallTrapVolId_10mm ( )
inline

Definition at line 102 of file BmnScWall.h.

◆ GetCellSmallTrapVolId_20mm() [1/2]

Int_t BmnScWall::GetCellSmallTrapVolId_20mm ( )
inline

Definition at line 103 of file BmnScWall.h.

◆ GetCellSmallTrapVolId_20mm() [2/2]

Int_t BmnScWall::GetCellSmallTrapVolId_20mm ( )
inline

Definition at line 103 of file BmnScWall.h.

◆ GetCollection() [1/2]

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

Accessor to the hit collection

Definition at line 335 of file BmnScWall.cxx.

◆ GetCollection() [2/2]

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

Accessor to the hit collection

◆ GetHit() [1/4]

BmnScWallPoint * BmnScWall::GetHit ( Int_t  i) const

Definition at line 98 of file BmnScWall.cxx.

References i.

Referenced by GetHit(), and ProcessHits().

◆ GetHit() [2/4]

BmnScWallPoint * BmnScWall::GetHit ( Int_t  i) const

◆ GetHit() [3/4]

BmnScWallPoint * BmnScWall::GetHit ( Int_t  slice,
Int_t  cell 
) const

Definition at line 107 of file BmnScWall.cxx.

References BmnScWallPoint::GetCopy(), BmnScWallPoint::GetCopyMother(), GetHit(), and i.

◆ GetHit() [4/4]

BmnScWallPoint * BmnScWall::GetHit ( Int_t  slice,
Int_t  cell 
) const

◆ Initialize() [1/2]

◆ Initialize() [2/2]

virtual void BmnScWall::Initialize ( )
virtual

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

◆ PostTrack() [1/2]

virtual void BmnScWall::PostTrack ( )
inlinevirtual

Definition at line 66 of file BmnScWall.h.

◆ PostTrack() [2/2]

virtual void BmnScWall::PostTrack ( )
inlinevirtual

Definition at line 66 of file BmnScWall.h.

◆ PreTrack() [1/2]

virtual void BmnScWall::PreTrack ( )
inlinevirtual

Definition at line 67 of file BmnScWall.h.

◆ PreTrack() [2/2]

virtual void BmnScWall::PreTrack ( )
inlinevirtual

Definition at line 67 of file BmnScWall.h.

◆ Print() [1/2]

void BmnScWall::Print ( Option_t *  ) const
virtual

Virtual method Print

Screen output of hit collection.

Definition at line 343 of file BmnScWall.cxx.

References i.

Referenced by EndOfEvent().

◆ Print() [2/2]

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

Virtual method Print

Screen output of hit collection.

◆ ProcessHits() [1/2]

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

Virtual method ProcessHits

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

Parameters
volPointer to the active volume

This method is called from the MC stepping

Definition at line 124 of file BmnScWall.cxx.

References BmnScWallPoint::AddCELL(), AddHit(), GetHit(), and kSCWALL.

◆ ProcessHits() [2/2]

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

Virtual method ProcessHits

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

Parameters
volPointer to the active volume

◆ Register() [1/2]

void BmnScWall::Register ( )
virtual

Virtual method Register

Registers the hit collection in the ROOT manager.

Definition at line 329 of file BmnScWall.cxx.

◆ Register() [2/2]

virtual void BmnScWall::Register ( )
virtual

Virtual method Register

Registers the hit collection in the ROOT manager.

◆ Reset() [1/2]

void BmnScWall::Reset ( )
virtual

Virtual method Reset

Clears the hit collection

Definition at line 354 of file BmnScWall.cxx.

Referenced by EndOfEvent().

◆ Reset() [2/2]

virtual void BmnScWall::Reset ( )
virtual

Virtual method Reset

Clears the hit collection


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