NeuLAND detector simulation class.
More...
#include <R3BNeuland.h>
|
| 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.
|
|
- 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.
◆ R3BNeuland() [1/5]
R3BNeuland::R3BNeuland |
( |
| ) |
|
◆ R3BNeuland() [2/5]
R3BNeuland::R3BNeuland |
( |
const TString & | geoFile, |
|
|
const TGeoTranslation & | trans, |
|
|
const TGeoRotation & | rot = TGeoRotation() ) |
- Parameters
-
geoFile | name of the ROOT geometry file |
trans | position |
rot | rotation |
Definition at line 60 of file R3BNeuland.cxx.
◆ R3BNeuland() [3/5]
R3BNeuland::R3BNeuland |
( |
const TString & | geoFile, |
|
|
const TGeoCombiTrans & | combi = TGeoCombiTrans() ) |
|
explicit |
- Parameters
-
geoFile | name of the ROOT geometry file |
combi | position + rotation |
Definition at line 65 of file R3BNeuland.cxx.
◆ R3BNeuland() [4/5]
R3BNeuland::R3BNeuland |
( |
int | nDP, |
|
|
const TGeoTranslation & | trans, |
|
|
const TGeoRotation & | rot = TGeoRotation() ) |
- Parameters
-
nDP | number of double planes |
trans | position |
rot | rotation |
Definition at line 72 of file R3BNeuland.cxx.
◆ R3BNeuland() [5/5]
R3BNeuland::R3BNeuland |
( |
int | nDP, |
|
|
const TGeoCombiTrans & | combi = TGeoCombiTrans() ) |
|
explicit |
- Parameters
-
nDP | number of double planes |
combi | position + rotation |
Definition at line 77 of file R3BNeuland.cxx.
◆ CheckIfSensitive()
auto R3BNeuland::CheckIfSensitive |
( |
std::string | name | ) |
-> bool |
|
overrideprivate |
◆ ConstructGeometry()
void R3BNeuland::ConstructGeometry |
( |
| ) |
|
|
overrideprivate |
◆ 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_enabled | Whether the geometry build should be enabled or not. |
Definition at line 78 of file R3BNeuland.h.
◆ EndOfEvent()
void R3BNeuland::EndOfEvent |
( |
| ) |
|
|
overrideprivate |
◆ FinishEvent()
void R3BNeuland::FinishEvent |
( |
| ) |
|
|
overrideprivate |
◆ GetCollection()
auto R3BNeuland::GetCollection |
( |
int | iColl | ) |
const -> TClonesArray* |
|
nodiscardoverrideprivate |
◆ Initialize()
void R3BNeuland::Initialize |
( |
| ) |
|
|
overrideprivate |
◆ Print()
void R3BNeuland::Print |
( |
Option_t * | = "" | ) |
const |
|
overrideprivate |
◆ ProcessHits()
auto R3BNeuland::ProcessHits |
( |
FairVolume * | = nullptr | ) |
-> bool |
|
overrideprivate |
◆ Register()
void R3BNeuland::Register |
( |
| ) |
|
|
overrideprivate |
◆ Reset()
void R3BNeuland::Reset |
( |
| ) |
|
|
overrideprivate |
◆ 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
-
pos | Input 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: