Provides information about the active material in the TPC.
More...
#include <AtomicNumber.h>
|
| struct | Config |
| | Collection of configuration parameters for the service. More...
|
| |
Provides information about the active material in the TPC.
- See Also
- AtomicNumber example overview
Configuration parameters
See AtomicNumber service provider class.
- AtomicNumber (integer, default: 18): atomic number of the active material
Definition at line 41 of file AtomicNumber.h.
Type describing all the parameters.
Definition at line 58 of file AtomicNumber.h.
| lar::example::AtomicNumber::AtomicNumber |
( |
Config const & |
config | ) |
|
|
inline |
Constructor from the complete configuration object.
Definition at line 63 of file AtomicNumber.h.
64 :
Z_(config.AtomicNumber())
unsigned int Z_
atomic number
| lar::example::AtomicNumber::AtomicNumber |
( |
fhicl::ParameterSet const & |
pset | ) |
|
|
inline |
Constructor from a parameter set.
Definition at line 69 of file AtomicNumber.h.
fhicl::Table< Config > parameters_type
Type describing all the parameters.
AtomicNumber(Config const &config)
Constructor from the complete configuration object.
| lar::example::AtomicNumber::AtomicNumber |
( |
AtomicNumber && |
pset | ) |
|
|
delete |
| unsigned int lar::example::AtomicNumber::Z |
( |
| ) |
const |
|
inline |
Returns the atomic number.
Definition at line 87 of file AtomicNumber.h.
unsigned int Z_
atomic number
| unsigned int lar::example::AtomicNumber::Z_ |
|
private |
The documentation for this class was generated from the following file: