Newer
Older
#ifndef HEPMC_DEFS_H
#define HEPMC_DEFS_H
// ----------------------------------------------------------------------
//
// HepMCDefs.h
// Author: Lynn Garren
//
// Define various useful macros
// Most allow users to check for various code features
//
// ----------------------------------------------------------------------
// the HeavyIon class is available in HepMC
Andy Buckley
committed
#define HEPMC_HAS_HEAVY_ION 1
// the IO_Ascii class is NOT available in HepMC
Andy Buckley
committed
#define HEPMC_IO_ASCII_REMOVED 1
// the ParticleData class is NOT available in HepMC
Andy Buckley
committed
#define HEPMC_PARTICLE_DATA_REMOVED 1
// the IO_GenEvent class is available in HepMC
Andy Buckley
committed
#define HEPMC_HAS_IO_GENEVENT 1
// the PdfInfo class is available in HepMC
Andy Buckley
committed
#define HEPMC_HAS_PDF_INFO 1
// HepMC uses SimpleVector (FourVector) to store momentum and position
Andy Buckley
committed
#define HEPMC_HAS_SIMPLE_VECTOR 1
// units are defined in HepMC
Andy Buckley
committed
#define HEPMC_HAS_UNITS 1
// the GenCrossSection class is available in HepMC
Andy Buckley
committed
#define HEPMC_HAS_CROSS_SECTION 1
// the iterator range classes are available in HepMC
Andy Buckley
committed
#define HEPMC_HAS_ITERATOR_RANGES 1
// particles and vertices can be retrieved as vectors of pointers as well as the verbose iterators
#ifndef HEPMC_HAS_SIMPLE_RANGES
#define HEPMC_HAS_SIMPLE_RANGES 1
#endif
// particles and vertices iterators have appropriate constness in method declarations and return types
#ifndef HEPMC_HAS_CONSISTENT_CONST
#define HEPMC_HAS_CONSISTENT_CONST 1
#endif
Andy Buckley
committed
// the HepMC::WeightContainer class allows named weights (version 2)
Andy Buckley
committed
#define HEPMC_HAS_NAMED_WEIGHTS 2
// The HepMC::GenVertex class has a status() member
#ifndef HEPMC_VERTEX_HAS_STATUS
Andy Buckley
committed
#define HEPMC_VERTEX_HAS_STATUS 1
// the HepMC::HeavyIon class contains centrality
#ifndef HEPMC_HEAVY_ION_HAS_CENTRALITY
Andy Buckley
committed
#define HEPMC_HEAVY_ION_HAS_CENTRALITY 1
// define the version of HepMC.
#define HEPMC_VERSION "2.07.00"
// define the integer version of HepMC X.Y.Z = 1000000*X + 1000*Y + Z
#ifndef HEPMC_VERSION_CODE
#define HEPMC_VERSION_CODE 2007000
#endif