All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Maps.h
Go to the documentation of this file.
1 #ifndef GAUDIALG_MAPS_H
2 #define GAUDIALG_MAPS_H 1
3 // ============================================================================
4 // Include files
5 // ============================================================================
6 // GaudiKernel
7 // ============================================================================
8 #include "GaudiKernel/HashMap.h"
9 // ============================================================================
10 // GaudiAlg
11 // ============================================================================
12 #include "GaudiAlg/HistoID.h"
13 #include "GaudiAlg/TupleID.h"
14 // ============================================================================
15 /* @file Maps.h
16  *
17  * Definitions of few useful hash-maps, classes and typedefs
18  * used for classes GaudiHistos and GaudiTuples.
19  *
20  * @author Chris Jones Christopher.Rob.Jones@cern.ch
21  * @author Vanya BELYAEV Ivan.Belyaev@itep.ru
22  * @date 2004-01-23
23  */
24 // ============================================================================
25 // forward declarations
26 namespace AIDA
27 {
28  class IHistogram1D ;
29  class IHistogram2D ;
30  class IHistogram3D ;
31  class IProfile1D ;
32  class IProfile2D ;
33 }
34 namespace Tuples { class TupleObj; }
35 // ============================================================================
44 // ============================================================================
45 namespace GaudiAlg
46 {
47  // ==========================================================================
48  // ============================ 1D ==========================================
49  // ==========================================================================
51  typedef GaudiUtils::HashMap
52  <
53  std::string , // Key
54  AIDA::IHistogram1D* // Value
57  typedef GaudiUtils::HashMap
58  <
59  HistoID , // Key
60  AIDA::IHistogram1D* // Value
62  // ==========================================================================
63  // ============================ 2D ==========================================
64  // ==========================================================================
66  typedef GaudiUtils::HashMap
67  <
68  std::string , // Key
69  AIDA::IHistogram2D* // Value
72  typedef GaudiUtils::HashMap
73  <
74  HistoID , // Key
75  AIDA::IHistogram2D* // Value
77  // ==========================================================================
78  // ============================ 2D ==========================================
79  // ==========================================================================
81  typedef GaudiUtils::HashMap
82  <
83  std::string , // Key
84  AIDA::IHistogram3D* // Value
87  typedef GaudiUtils::HashMap
88  <
89  HistoID , // Key
90  AIDA::IHistogram3D* // Value
92  // ==========================================================================
93  // ============================ 1D Prof =====================================
94  // ==========================================================================
96  typedef GaudiUtils::HashMap
97  <
98  std::string , // Key
99  AIDA::IProfile1D* // Value
102  typedef GaudiUtils::HashMap
103  <
104  HistoID , // Key
105  AIDA::IProfile1D* // Value
107  // ==========================================================================
108  // ============================ 2D Prof =====================================
109  // ==========================================================================
111  typedef GaudiUtils::HashMap
112  <
113  std::string , // Key
114  AIDA::IProfile2D* // Value
117  typedef GaudiUtils::HashMap
118  <
119  HistoID , // Key
120  AIDA::IProfile2D* // Value
122  // ==========================================================================
123  // ============================ NTuples =====================================
124  // ==========================================================================
126  typedef GaudiUtils::HashMap
127  <
128  std::string , // Key
129  Tuples::TupleObj* // Value
132  typedef GaudiUtils::HashMap
133  <
134  TupleID , // Key
135  Tuples::TupleObj* // Value
137  // ==========================================================================
138 }
139 // ============================================================================
140 // The END
141 // ============================================================================
142 #endif // GAUDIALG_MAPS_H
143 // ============================================================================
GaudiUtils::HashMap< std::string, AIDA::IProfile1D * > Profile1DMapTitle
the actual type for (title)->(1D Profile Histogram) map
Definition: Maps.h:100
GaudiAlg::ID HistoID
The actual type for histogram identifier.
Definition: HistoID.h:23
GaudiUtils::HashMap< HistoID, AIDA::IHistogram1D * > Histo1DMapID
the actual type for (ID)->(1D histogram) map
Definition: Maps.h:61
GaudiKernel.
Definition: Fill.h:8
GaudiUtils::HashMap< TupleID, Tuples::TupleObj * > TupleMapID
the actual type for (ID)->(tuple) map
Definition: Maps.h:136
STL class.
GaudiUtils::HashMap< HistoID, AIDA::IProfile2D * > Profile2DMapID
the actual type for (ID)->(2D Profile histogram) map
Definition: Maps.h:121
GaudiUtils::HashMap< HistoID, AIDA::IProfile1D * > Profile1DMapID
the actual type for (ID)->(1D Profile histogram) map
Definition: Maps.h:106
GaudiUtils::HashMap< std::string, AIDA::IHistogram1D * > Histo1DMapTitle
the actual type for (title)->(1D histogram) map
Definition: Maps.h:55
A simple wrapper class over standard Gaudi NTuple::Tuple facility.
Definition: TupleObj.h:196
GaudiUtils::HashMap< std::string, AIDA::IHistogram3D * > Histo3DMapTitle
the actual type for (title)->(3D histogram) map
Definition: Maps.h:85
GaudiUtils::HashMap< std::string, AIDA::IHistogram2D * > Histo2DMapTitle
the actual type for (title)->(2D histogram) map
Definition: Maps.h:70
GaudiAlg::ID TupleID
the actual type for N-Tuple identifier (HBOOK-style)
Definition: TupleID.h:23
GaudiUtils::HashMap< std::string, AIDA::IProfile2D * > Profile2DMapTitle
the actual type for (title)->(2D Profile Histogram) map
Definition: Maps.h:115
GaudiUtils::HashMap< std::string, Tuples::TupleObj * > TupleMapTitle
the actual type for (title)->(tuple) map
Definition: Maps.h:130
GaudiUtils::HashMap< HistoID, AIDA::IHistogram2D * > Histo2DMapID
the actual type for (ID)->(2D histogram) map
Definition: Maps.h:76
Common class providing an architecture-independent hash map.
Definition: HashMap.h:77
GaudiUtils::HashMap< HistoID, AIDA::IHistogram3D * > Histo3DMapID
the actual type for (ID)->(3D histogram) map
Definition: Maps.h:91
GaudiAlg.h GaudiAlg/GaudiAlg.h Namespace with definition of useful constants, types and function...
General namespace for Tuple properties.
Definition: Maps.h:34