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