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
GenVertex_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_GENVERTEX_FWD_H
12#define HEPMC3_GENVERTEX_FWD_H
13
14#include <memory>
15
16namespace HepMC3 {
17
18class GenVertex;
19
20using GenVertexPtr = std::shared_ptr<GenVertex>;
21using ConstGenVertexPtr = std::shared_ptr<const GenVertex>;
22
23template<typename T>
24using GenVertex_type = typename std::conditional<std::is_const<typename T::element_type>::value, ConstGenVertexPtr, GenVertexPtr>::type;
25
26}
27
28#endif
Stores vertex-related information.
Definition GenVertex.h:29