StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CTHCollection.hh
1 /***************************************************************************
2  *
3  * $Id: CTHCollection.hh,v 1.1 2000/09/05 14:21:10 laue Exp $
4  *
5  * Author: Frank Laue, Ohio State, laue@bnl.gov
6  ***************************************************************************
7  *
8  * Description: part of STAR HBT Framework: StHbtMaker package
9  * Class to keep a list of all histograms
10  *
11  ***************************************************************************
12  *
13  * $Log: CTHCollection.hh,v $
14  * Revision 1.1 2000/09/05 14:21:10 laue
15  * NEW !! A histogram class (CTH, inherited from TH?Ds) that puts itself into
16  * a list (StHbtHistoCollector) at instantiation time. This provides an easy
17  * way to write out all the histograms.
18  *
19  **************************************************************************/
20 
21 #ifndef CTHCollection_hh
22 #define CTHCollection_hh
23 
24 class CTH1D;
25 class CTH2D;
26 class CTH3D;
27 
28 
29 #include <list>
30 #if !defined(ST_NO_NAMESPACES)
31 using std::list;
32 #endif
33 
34 #ifdef ST_NO_TEMPLATE_DEF_ARGS
35 typedef list<CTH1D*, allocator<CTH1D*> > CTH1DCollection;
36 typedef list<CTH1D*, allocator<CTH1D*> >::iterator CTH1DIterator;
37 typedef list<CTH2D*, allocator<CTH2D*> > CTH2DCollection;
38 typedef list<CTH2D*, allocator<CTH2D*> >::iterator CTH2DIterator;
39 typedef list<CTH3D*, allocator<CTH3D*> > CTH3DCollection;
40 typedef list<CTH3D*, allocator<CTH3D*> >::iterator CTH3DIterator;
41 #else
42 typedef list<CTH1D*> CTH1DCollection;
43 typedef list<CTH1D*>::iterator CTH1DIterator;
44 typedef list<CTH2D*> CTH2DCollection;
45 typedef list<CTH2D*>::iterator CTH2DIterator;
46 typedef list<CTH3D*> CTH3DCollection;
47 typedef list<CTH3D*>::iterator CTH3DIterator;
48 #endif
49 
50 #endif
Definition: CTH.hh:45
Definition: CTH.hh:74
Definition: CTH.hh:59