MARLEY (Model of Argon Reaction Low Energy Yields) v2.0.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
Loading...
Searching...
No Matches
GenParticle_fwd.h
1// -*- C++ -*-
2//
3// This file is part of HepMC
4// Copyright (C) 2014-2023 The HepMC collaboration (see AUTHORS for details)
5//
10
11#ifndef HEPMC3_GENPARTICLE_FWD_H
12#define HEPMC3_GENPARTICLE_FWD_H
13
14#include <memory>
15#include <vector>
16
17namespace HepMC3 {
18
19class GenParticle;
20
21using GenParticlePtr = std::shared_ptr<GenParticle>;
22using ConstGenParticlePtr = std::shared_ptr<const GenParticle>;
23
24using GenParticles = std::vector<GenParticlePtr>;
25using ConstGenParticles = std::vector<ConstGenParticlePtr>;
26
30template<typename T>
31using GenParticles_type = typename std::conditional<std::is_const<typename T::element_type>::value, ConstGenParticles, GenParticles>::type;
32
33}
34
35#endif
Stores particle-related information.
Definition GenParticle.h:34