R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeuland Class Reference

NeuLAND detector simulation class. More...

#include <R3BNeuland.h>

Public Member Functions

 R3BNeuland ()
 Default constructor.
 
 R3BNeuland (const TString &geoFile, const TGeoTranslation &trans, const TGeoRotation &rot=TGeoRotation())
 Standard constructor.
 
 R3BNeuland (const TString &geoFile, const TGeoCombiTrans &combi=TGeoCombiTrans())
 Standard constructor.
 
 R3BNeuland (int nDP, const TGeoTranslation &trans, const TGeoRotation &rot=TGeoRotation())
 Standard constructor.
 
 R3BNeuland (int nDP, const TGeoCombiTrans &combi=TGeoCombiTrans())
 Standard constructor.
 
void EnableAutoGeoBuild (bool is_enabled=true)
 Enable the automatic geometry build for NeuLAND.
 
void SetLocationDirection (const TGeoCombiTrans &pos)
 Set the translation and rotation of the NeuLAND detector.
 

Private Member Functions

auto ProcessHits (FairVolume *=nullptr) -> bool override
 
void EndOfEvent () override
 
void FinishEvent () override
 
void Print (Option_t *="") const override
 
void Reset () override
 
auto CheckIfSensitive (std::string name) -> bool override
 
auto GetCollection (int iColl) const -> TClonesArray *override
 
void Register () override
 
void ConstructGeometry () override
 
void Initialize () override
 

Detailed Description

Author
Jan Mayer, Yanzhao Wang
Since
12.01.2016

For each simulated event, a vector data with name "NeulandPoints" is filled:

  • NeulandPoints (R3BNeulandPoint), each representing energy deposition and light yield of a track in a paddle.

Suitable geometry files require proper naming of the active volume (see CheckIfSensitive()) and copy numbers.

Definition at line 42 of file R3BNeuland.h.

Constructor & Destructor Documentation

◆ R3BNeuland() [1/5]

R3BNeuland::R3BNeuland ( )

Definition at line 55 of file R3BNeuland.cxx.

◆ R3BNeuland() [2/5]

R3BNeuland::R3BNeuland ( const TString & geoFile,
const TGeoTranslation & trans,
const TGeoRotation & rot = TGeoRotation() )
Parameters
geoFilename of the ROOT geometry file
transposition
rotrotation

Definition at line 60 of file R3BNeuland.cxx.

◆ R3BNeuland() [3/5]

R3BNeuland::R3BNeuland ( const TString & geoFile,
const TGeoCombiTrans & combi = TGeoCombiTrans() )
explicit
Parameters
geoFilename of the ROOT geometry file
combiposition + rotation

Definition at line 65 of file R3BNeuland.cxx.

◆ R3BNeuland() [4/5]

R3BNeuland::R3BNeuland ( int nDP,
const TGeoTranslation & trans,
const TGeoRotation & rot = TGeoRotation() )
Parameters
nDPnumber of double planes
transposition
rotrotation

Definition at line 72 of file R3BNeuland.cxx.

◆ R3BNeuland() [5/5]

R3BNeuland::R3BNeuland ( int nDP,
const TGeoCombiTrans & combi = TGeoCombiTrans() )
explicit
Parameters
nDPnumber of double planes
combiposition + rotation

Definition at line 77 of file R3BNeuland.cxx.

Member Function Documentation

◆ CheckIfSensitive()

auto R3BNeuland::CheckIfSensitive ( std::string name) -> bool
overrideprivate

Definition at line 179 of file R3BNeuland.cxx.

◆ ConstructGeometry()

void R3BNeuland::ConstructGeometry ( )
overrideprivate

Definition at line 264 of file R3BNeuland.cxx.

◆ EnableAutoGeoBuild()

void R3BNeuland::EnableAutoGeoBuild ( bool is_enabled = true)
inline

Automatically build the NeuLAND geometry without a geometry file. The geometry build is done in the class R3B::Neuland::Geometry::Creator. If this is disabled, an geometry file corresponding to the number of double plane must be present.

Parameters
is_enabledWhether the geometry build should be enabled or not.

Definition at line 78 of file R3BNeuland.h.

◆ EndOfEvent()

void R3BNeuland::EndOfEvent ( )
overrideprivate

Definition at line 181 of file R3BNeuland.cxx.

◆ FinishEvent()

void R3BNeuland::FinishEvent ( )
overrideprivate

Definition at line 190 of file R3BNeuland.cxx.

◆ GetCollection()

auto R3BNeuland::GetCollection ( int iColl) const -> TClonesArray*
nodiscardoverrideprivate

Definition at line 253 of file R3BNeuland.cxx.

◆ Initialize()

void R3BNeuland::Initialize ( )
overrideprivate

Definition at line 83 of file R3BNeuland.cxx.

◆ Print()

void R3BNeuland::Print ( Option_t * = "") const
overrideprivate

Definition at line 200 of file R3BNeuland.cxx.

◆ ProcessHits()

auto R3BNeuland::ProcessHits ( FairVolume * = nullptr) -> bool
overrideprivate

Definition at line 93 of file R3BNeuland.cxx.

◆ Register()

void R3BNeuland::Register ( )
overrideprivate

Definition at line 262 of file R3BNeuland.cxx.

◆ Reset()

void R3BNeuland::Reset ( )
overrideprivate

Definition at line 205 of file R3BNeuland.cxx.

◆ SetLocationDirection()

void R3BNeuland::SetLocationDirection ( const TGeoCombiTrans & pos)
inline

Set the translation and rotation of the NeuLAND detector using parameter with the type TGeoCombiTrans. This will override the value specified by the constructors.

Parameters
posInput tranlation and rotation matrix.
See also
TGeoCombiTrans

Definition at line 88 of file R3BNeuland.h.


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