R3BROOT
R3B analysis software
Toggle main menu visibility
Loading...
Searching...
No Matches
R3BNeutronWindowAndSomeAir.h
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (C) 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3
* Copyright (C) 2020-2026 Members of R3B Collaboration *
4
* *
5
* This software is distributed under the terms of the *
6
* GNU General Public Licence (GPL) version 3, *
7
* copied verbatim in the file "LICENSE". *
8
* *
9
* In applying this license GSI does not waive the privileges and immunities *
10
* granted to it by virtue of its status as an Intergovernmental Organization *
11
* or submit itself to any jurisdiction. *
12
******************************************************************************/
13
14
#pragma once
15
16
/* Place a neutron window (4mm steel) at xstart and air between start and stop
17
* This can be used for NeuLAND simulations as there is currently no vacuum chamber implemented.
18
* Instead, invert the problem: Use vacuum in the Cave and place a bunch o' air. Presto!
19
* Bonus: No need to adjust the magnetic field for different beam energies.
20
* The heavy ion will always fly through vacuum, and the neutrons through the right amount of material
21
*/
22
23
#include <FairModule.h>
24
25
class
TGeoMedium;
26
27
class
R3BNeutronWindowAndSomeAir
:
public
FairModule
28
{
29
public
:
30
explicit
R3BNeutronWindowAndSomeAir
(
double
start = 700,
double
stop = 1300);
31
32
void
ConstructGeometry
()
override
{
ConstructRootGeometry
(); }
33
void
ConstructRootGeometry
(TGeoMatrix* _ =
nullptr
)
override
;
34
35
private
:
36
TGeoMedium*
FindMaterial
(
const
std::string& mat)
const
;
37
38
double
fStart
;
39
double
fStop
;
40
41
public
:
42
ClassDefOverride
(
R3BNeutronWindowAndSomeAir
, 1);
// NOLINT
43
};
R3BNeutronWindowAndSomeAir::ClassDefOverride
ClassDefOverride(R3BNeutronWindowAndSomeAir, 1)
R3BNeutronWindowAndSomeAir::fStart
double fStart
Definition
R3BNeutronWindowAndSomeAir.h:38
R3BNeutronWindowAndSomeAir::fStop
double fStop
Definition
R3BNeutronWindowAndSomeAir.h:39
R3BNeutronWindowAndSomeAir::ConstructRootGeometry
void ConstructRootGeometry(TGeoMatrix *_=nullptr) override
Definition
R3BNeutronWindowAndSomeAir.cxx:32
R3BNeutronWindowAndSomeAir::FindMaterial
TGeoMedium * FindMaterial(const std::string &mat) const
Definition
R3BNeutronWindowAndSomeAir.cxx:46
R3BNeutronWindowAndSomeAir::R3BNeutronWindowAndSomeAir
R3BNeutronWindowAndSomeAir(double start=700, double stop=1300)
Definition
R3BNeutronWindowAndSomeAir.cxx:25
R3BNeutronWindowAndSomeAir::ConstructGeometry
void ConstructGeometry() override
Definition
R3BNeutronWindowAndSomeAir.h:32
passive
R3BNeutronWindowAndSomeAir.h
Generated by
1.18.0