|
NAIA
1.0.2
|
Container class for additional MC File information. More...
#include <Containers/FileInfo.h>
Public Types | |
| enum | SimFocus { SimFocus::NONE = 0, SimFocus::L1, SimFocus::L19, SimFocus::TB } |
| Enum specifying the type of simulation. More... | |
Public Member Functions | |
| unsigned int | GetNGen () const |
| Estimates of the total number of requested events at generation level. More... | |
| double | GetRMin () const |
| Get the lower edge of the rigidity generation range. More... | |
| double | GetRMax () const |
| Get the upper edge of the rigidity generation range. More... | |
| void | Clear () |
| Clear container content. More... | |
| void | Dump () const |
| Dump on screen container content. More... | |
| ClassDef (MCFileInfo, 1) | |
Public Attributes | |
| unsigned int | Charge = 0 |
| Atomic number of the primary particle. More... | |
| float | Mass = 0 |
| Mass of the primary particle in GeV/c^2. More... | |
| int | DatacardPID = 0 |
| Geant4 PID of the primary particle (from datacard) More... | |
| unsigned int | DatacardNGen = 0 |
| Number of generated events from datacard. More... | |
| std::pair< unsigned int, unsigned int > | EventNo {0, 0} |
| First / last event in the file. More... | |
| std::pair< float, float > | MomentumRange {0, 0} |
| Momentum range as estimated from the events. More... | |
| std::pair< float, float > | DatacardMomentumRange {0, 0} |
| Momentum range as estimated from the datacard. More... | |
| SimFocus | Focus |
| Simulation focus. More... | |
Container class for additional MC File information.
Definition at line 54 of file FileInfo.h.
|
strong |
Enum specifying the type of simulation.
The MC simulation in AMS is often optimized to simulate only particles already passing in a predefined acceptance.
| Enumerator | |
|---|---|
| NONE | |
| L1 |
particles shot towards Layer 1 |
| L19 |
particles shot towards layer 1 and passing through layer 9 |
| TB |
test beam simulation |
Definition at line 62 of file FileInfo.h.
| NAIA::MCFileInfo::ClassDef | ( | MCFileInfo | , |
| 1 | |||
| ) |
| void NAIA::MCFileInfo::Clear | ( | ) |
Clear container content.
Definition at line 62 of file FileInfo.cpp.
References Charge, DatacardMomentumRange, DatacardNGen, DatacardPID, EventNo, Focus, Mass, MomentumRange, and NONE.
| void NAIA::MCFileInfo::Dump | ( | ) | const |
Dump on screen container content.
Definition at line 73 of file FileInfo.cpp.
References Charge, DatacardMomentumRange, DatacardPID, Focus, L1, L19, Mass, MomentumRange, and TB.
| unsigned int NAIA::MCFileInfo::GetNGen | ( | ) | const |
Estimates of the total number of requested events at generation level.
Definition at line 28 of file FileInfo.cpp.
References DatacardNGen, and EventNo.
| double NAIA::MCFileInfo::GetRMax | ( | ) | const |
Get the upper edge of the rigidity generation range.
Definition at line 54 of file FileInfo.cpp.
References Charge, and DatacardMomentumRange.
| double NAIA::MCFileInfo::GetRMin | ( | ) | const |
Get the lower edge of the rigidity generation range.
Definition at line 46 of file FileInfo.cpp.
References Charge, and DatacardMomentumRange.
| unsigned int NAIA::MCFileInfo::Charge = 0 |
| std::pair<float, float> NAIA::MCFileInfo::DatacardMomentumRange {0, 0} |
| unsigned int NAIA::MCFileInfo::DatacardNGen = 0 |
Number of generated events from datacard.
Definition at line 106 of file FileInfo.h.
| int NAIA::MCFileInfo::DatacardPID = 0 |
Geant4 PID of the primary particle (from datacard)
Definition at line 105 of file FileInfo.h.
| std::pair<unsigned int, unsigned int> NAIA::MCFileInfo::EventNo {0, 0} |
First / last event in the file.
Definition at line 108 of file FileInfo.h.
| SimFocus NAIA::MCFileInfo::Focus |
| float NAIA::MCFileInfo::Mass = 0 |
Mass of the primary particle in GeV/c^2.
Definition at line 104 of file FileInfo.h.
| std::pair<float, float> NAIA::MCFileInfo::MomentumRange {0, 0} |
Momentum range as estimated from the events.
Definition at line 109 of file FileInfo.h.
1.8.5