Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:01:12

0001 // -*- C++ -*-
0002 //
0003 // This file is part of HepMC
0004 // Copyright (C) 2014-2023 The HepMC collaboration (see AUTHORS for details)
0005 //
0006 ///
0007 /// @file GenVertex_fwd.h
0008 /// @brief Minimal forward declarations for GenVertex
0009 ///
0010 
0011 #ifndef HEPMC3_GENVERTEX_FWD_H
0012 #define HEPMC3_GENVERTEX_FWD_H
0013 
0014 #include <memory>
0015 
0016 namespace HepMC3 {
0017 
0018 class GenVertex;
0019 
0020 using GenVertexPtr = std::shared_ptr<GenVertex>;
0021 using ConstGenVertexPtr = std::shared_ptr<const GenVertex>;
0022 
0023 template<typename T>
0024 using GenVertex_type = typename std::conditional<std::is_const<typename T::element_type>::value, ConstGenVertexPtr, GenVertexPtr>::type;
0025 
0026 }
0027 
0028 #endif