LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
simb.h File Reference

Common type definitions for data products (and a bit beyond). More...

#include <limits>

Go to the source code of this file.

Namespaces

 simb
 ART objects.
 

Generated particle index

This type represents the position of a specific generated particle in the generator truth record, simb::MCTruth. The particle itself can be accessed from that record via simb::MCTruth::GetParticle().

using simb::GeneratedParticleIndex_t = std::size_t
 Type of particle index in the generator truth record (simb::MCTruth). More...
 
constexpr GeneratedParticleIndex_t simb::NoGeneratedParticleIndex = std::numeric_limits<GeneratedParticleIndex_t>::max()
 Constant representing the absence of generator truth information. More...
 
bool simb::isGeneratedParticleIndex (GeneratedParticleIndex_t index)
 Returns whether the specified one is an acceptable generator index. More...
 

Detailed Description

Common type definitions for data products (and a bit beyond).

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
April 6, 2018

Definition in file simb.h.