Contains information about a generated particle. More...
#include <GeneratedParticleInfo.h>
Public Member Functions | |
| GeneratedParticleInfo ()=default | |
| Default constructor (for ROOT I/O only). More... | |
| GeneratedParticleInfo (GeneratedParticleIndex_t index) | |
| Constructor: assigns all the values. More... | |
| GeneratedParticleInfo ()=default | |
| Default constructor (for ROOT I/O only). More... | |
| GeneratedParticleInfo (GeneratedParticleIndex_t index) | |
| Constructor: assigns all the values. More... | |
Private Attributes | |
| GeneratedParticleIndex_t | fGeneratedParticleIndex = NoGeneratedParticleIndex |
Index of the generated particle in its simb::MCTruth record. More... | |
Generated particle index | |
| using | GeneratedParticleIndex_t = simb::GeneratedParticleIndex_t |
Type of particle index in the generator truth record (simb::MCTruth). More... | |
| using | GeneratedParticleIndex_t = simb::GeneratedParticleIndex_t |
Type of particle index in the generator truth record (simb::MCTruth). More... | |
| static constexpr GeneratedParticleIndex_t | NoGeneratedParticleIndex = simb::NoGeneratedParticleIndex |
| Constant representing the absence of generator truth information. More... | |
| GeneratedParticleIndex_t | generatedParticleIndex () const |
| Returns the generated particle index. More... | |
| bool | hasGeneratedParticleIndex () const |
| Returns whether the specified one is an acceptable generator index. More... | |
| GeneratedParticleIndex_t | generatedParticleIndex () const |
| Returns the generated particle index. More... | |
| bool | hasGeneratedParticleIndex () const |
| Returns whether the specified one is an acceptable generator index. More... | |
Contains information about a generated particle.
This information is designed to be added as metadata to an association between a simb::MCParticle produced by the simulation of particle propagation through the detector (e.g. GArG4) with the generator truth record that particle derives from:
The associated simb::MCParticle is expected to be the generated particle of the generator truth record, as processed by the simulation. The provided information is currently:
This information is designed to be added as metadata to an association between a simb::MCParticle produced by the simulation of particle propagation through the detector (e.g. LArG4) with the generator truth record that particle derives from:
The associated simb::MCParticle is expected to be the generated particle of the generator truth record, as processed by the simulation. The provided information is currently:
Definition at line 38 of file GeneratedParticleInfo.h.
Type of particle index in the generator truth record (simb::MCTruth).
Definition at line 47 of file GeneratedParticleInfo.h.
Type of particle index in the generator truth record (simb::MCTruth).
Definition at line 48 of file GeneratedParticleInfo.h.
|
default |
Default constructor (for ROOT I/O only).
|
inline |
Constructor: assigns all the values.
| index | generated particle index (NoGeneratedParticleIndex if none) |
Definition at line 76 of file GeneratedParticleInfo.h.
|
default |
Default constructor (for ROOT I/O only).
|
inline |
Constructor: assigns all the values.
| index | generated particle index (NoGeneratedParticleIndex if none) |
Definition at line 77 of file GeneratedParticleInfo.h.
|
inline |
Returns the generated particle index.
NoGeneratedParticleIndex if none) Definition at line 57 of file GeneratedParticleInfo.h.
|
inline |
Returns the generated particle index.
NoGeneratedParticleIndex if none) Definition at line 58 of file GeneratedParticleInfo.h.
|
inline |
Returns whether the specified one is an acceptable generator index.
Definition at line 61 of file GeneratedParticleInfo.h.
|
inline |
Returns whether the specified one is an acceptable generator index.
Definition at line 62 of file GeneratedParticleInfo.h.
|
private |
Index of the generated particle in its simb::MCTruth record.
Definition at line 85 of file GeneratedParticleInfo.h.
|
static |
Constant representing the absence of generator truth information.
Definition at line 51 of file GeneratedParticleInfo.h.
1.8.11