Anaphe Home Page Reference Documentation

Main Page     Namespaces     Classes     Source Code    

T_Histograms3.h

Go to the documentation of this file.
00001 #ifndef _H_T__HISTOGRAMS3_H_
00002 
00003 /* This file is a copy of the original Histograms.h file but it contains
00004    typedefs and template instantiatios for 3D histograms only.
00005    The reason of the split was to minimize schema changes when introducing
00006    3D histograms. If this code would have been put in Histograms.h, the new
00007    3D histograms would have displaced all the following classes, such as 
00008    HBOOK-like 1D & 2D defined in Histograms_1D.h & Histograms_2D.h */
00009 
00010 //
00011 // The following instantiations have to be in the ddl file for persistent
00012 // histos, but no such constraint is required for the transient version.
00013 // However to remain consistent, they are also put in the .h for the transient
00014 // version.
00015 //
00016 
00017 
00018 
00019 // Partition:
00020 //
00021 #include "HTL/Even_Partition.h"
00022 #include "HTL/T_Uneven_Partition.h"
00023 
00024 
00025 // Bin:
00026 //
00027 #include "HTL/Gravity_Bin_1D.h"
00028 #include "HTL/Weighted_Bin.h"
00029 #include "HTL/Profile_Bin.h"
00030 #include "HTL/Float_Weighted_Bin.h" // For 2D histos.
00031 
00032 
00033 // Lifetime:
00034 //
00035 #include "HTL/T_Lifetime.h"
00036 
00037 
00038 
00039 // ***************************************************************************
00040 // * 1/ TYPEDEFs
00041 // *            a/ Typedefs for 3D: it doesn't take much compile time
00042 // *            b/ Don't forget to instantiate the templates at the end.
00043 // ***************************************************************************
00044 
00045 #include "HTL/T_Histo_3D.h"
00046 
00047 #include "HTL/T_Histo_3D.cpp"
00048 
00049 
00050 // Weighted_Bin:
00051 //
00052 typedef  T_Histo_3D <
00053         T_Lifetime< Weighted_Bin >
00054         , Weighted_Bin
00055         , double, Even_Partition
00056         , double, Even_Partition
00057         , double, Even_Partition
00058 > T_Histo_3D_WED;
00059 
00060 typedef  T_Histo_3D <
00061         T_Lifetime< Weighted_Bin >
00062         , Weighted_Bin
00063         , double, T_Uneven_Partition
00064         , double, T_Uneven_Partition
00065         , double, T_Uneven_Partition
00066 > T_Histo_3D_WUD;
00067 
00068 
00069 // ***************************************************************************
00070 // * 2/ INSTANTIATIONS
00071 // ***************************************************************************
00072 
00073 #ifndef T_HISTOS_INSTANTIATED
00074 #define T_HISTOS_INSTANTIATED
00075         // This symbol is explicitly defined when *.ddl files include the
00076         // transient header H_T__Histograms.h to avoid duplicated
00077         // instantiations on DEC (other platforms cope with it correctly).
00078 
00079 // ***************************************************************************
00080 // * 3D Histograms:
00081 // ***************************************************************************
00082 
00083 // Weighted_Bin:
00084 //
00085 template  T_Histo_3D <
00086         T_Lifetime< Weighted_Bin >
00087         , Weighted_Bin
00088         , double, Even_Partition
00089         , double, Even_Partition
00090         , double, Even_Partition
00091 >; // T_Histo_3D_WED
00092 
00093 template  T_Histo_3D <
00094         T_Lifetime< Weighted_Bin >
00095         , Weighted_Bin
00096         , double, T_Uneven_Partition
00097         , double, T_Uneven_Partition
00098         , double, T_Uneven_Partition
00099 >; // T_Histo_3D_WUD
00100 
00101 #endif // ifndef T_HISTOS_INSTANTIATED
00102 
00103 
00104 #endif
00105 


Anaphe documentation generated by Doxygen (www.doxygen.org)