HepMC event record
include/HepMC/Config.h
1 // -*- C++ -*-
2 //
3 // This file is part of HepMC
4 // Copyright (C) 2014-2015 The HepMC collaboration (see AUTHORS for details)
5 //
6 #ifndef HEPMC_CONFIG_H
7 #define HEPMC_CONFIG_H
8 
9 
10 // The Reader/Writer class separation is available
11 #ifndef HEPMC_HAS_SPLIT_IO
12 #define HEPMC_HAS_SPLIT_IO 1
13 #endif
14 
15 // Units are defined in HepMC -- version 2 of the units system is simpler
16 #ifndef HEPMC_HAS_UNITS
17 #define HEPMC_HAS_UNITS 2
18 #endif
19 
20 // The GenPdfInfo class is available
21 #ifndef HEPMC_HAS_PDF_INFO
22 #define HEPMC_HAS_PDF_INFO 2
23 #endif
24 
25 // The GenCrossSection class is available
26 #ifndef HEPMC_HAS_CROSS_SECTION
27 #define HEPMC_HAS_CROSS_SECTION 2
28 #endif
29 
30 // The GenHeavyIon class is available
31 #ifndef HEPMC_HAS_HEAVY_ION
32 #define HEPMC_HAS_HEAVY_ION 2
33 #endif
34 
35 // The HepMC::GenWeights class allows named weights (version 2)
36 #ifndef HEPMC_HAS_NAMED_WEIGHTS
37 #define HEPMC_HAS_NAMED_WEIGHTS 2
38 #endif
39 
40 // The HepMC::GenVertex class has a status() member
41 #ifndef HEPMC_VERTEX_HAS_STATUS
42 #define HEPMC_VERTEX_HAS_STATUS 1
43 #endif
44 
45 // The HepMC::HeavyIon class contains centrality
46 #ifndef HEPMC_HEAVY_ION_HAS_CENTRALITY
47 #define HEPMC_HEAVY_ION_HAS_CENTRALITY 1
48 #endif
49 
50 // Particles and vertices iterators have appropriate constness in method declarations and return types
51 #ifndef HEPMC_HAS_CONSISTENT_CONST
52 #define HEPMC_HAS_CONSISTENT_CONST 2
53 #endif
54 
55 // Particles and vertices can be retrieved as vectors of pointers as well as the verbose iterators
56 #ifndef HEPMC_HAS_SIMPLE_RANGES
57 #define HEPMC_HAS_SIMPLE_RANGES 1
58 #endif
59 
60 
61 /// DEPRECATED STUFF:
62 
63 // The IO_GenEvent class is available (for now)
64 #ifndef HEPMC_HAS_IO_GENEVENT
65 #define HEPMC_HAS_IO_GENEVENT 1
66 #endif
67 
68 // The iterator range classes are available
69 #ifndef HEPMC_HAS_ITERATOR_RANGES
70 #define HEPMC_HAS_ITERATOR_RANGES 1
71 #endif
72 
73 
74 #endif