00001
00015 #ifndef DATAFORMATCONSTANTS_HH
00016 #define DATAFORMATCONSTANTS_HH
00017
00018 #include <string>
00019 #include <limits>
00020 #include <climits>
00021 #include <Rtypes.h>
00022
00024 namespace larlight{
00025
00027 namespace DATA{
00028
00029 const UChar_t INVALID_UCHAR = std::numeric_limits<UChar_t>::max();
00030 const Char_t INVALID_CHAR = std::numeric_limits<Char_t>::max();
00031 const UShort_t INVALID_USHORT = std::numeric_limits<UShort_t>::max();
00032 const Short_t INVALID_SHORT = std::numeric_limits<Short_t>::max();
00033 const UInt_t INVALID_UINT = std::numeric_limits<UInt_t>::max();
00034 const Int_t INVALID_INT = std::numeric_limits<Int_t>::max();
00035
00036 const Double_t INVALID_DOUBLE = std::numeric_limits<Double_t>::max();
00037 const Double_t INVALID_FLOAT = std::numeric_limits<Float_t>::max();
00038
00040 enum DATA_TYPE{
00041 Event=0,
00042 MCTruth,
00043 MCParticle,
00044 MCTrajectory,
00045 MCNeutrino,
00046 SimChannel,
00047 MCShower,
00048 Wire,
00049 Hit,
00050 CrawlerHit,
00051 GausHit,
00052 APAHit,
00053 FFTHit,
00054 RFFHit,
00055 Cluster,
00056 FuzzyCluster,
00057 DBCluster,
00058 CrawlerCluster,
00059 HoughCluster,
00060 ShowerAngleCluster,
00061 Seed,
00062 SpacePoint,
00063 Track,
00064 Bezier,
00065 Kalman3DSPS,
00066 Kalman3DHit,
00067 Shower,
00068 Vertex,
00069 FeatureVertex,
00070 HarrisVertex,
00071 EndPoint2D,
00072 FeatureEndPoint2D,
00073 HarrisEndPoint2D,
00074 Calorimetry,
00075 UserInfo,
00076
00077
00078
00079
00080
00081 FIFO,
00082 PMTFIFO,
00083 TPCFIFO,
00084 Pulse,
00085 PMTPulse_ThresWin,
00086 PMTPulse_FixedWin,
00087 TPCPulse_ThresWin,
00088 TPCPulse_FixedWin,
00089 Trigger,
00090
00091 DATA_TYPE_MAX
00092 };
00093
00095 const std::string DATA_TREE_NAME[DATA_TYPE_MAX] = {
00096 "event",
00097 "mctruth",
00098 "mcpart",
00099 "mctrajectory",
00100 "mcnu",
00101 "simch",
00102 "mcshower",
00103 "wire",
00104 "hit",
00105 "crawlerhit",
00106 "gaushit",
00107 "apahit",
00108 "ffthit",
00109 "rffhit",
00110 "cluster",
00111 "fuzzycluster",
00112 "dbcluster",
00113 "crawlercluster",
00114 "houghcluster",
00115 "showeranglecluster",
00116 "seed",
00117 "sps",
00118 "track",
00119 "bezier",
00120 "kalman3dsps",
00121 "kalman3dhit",
00122 "shower",
00123 "vertex",
00124 "feature_vtx",
00125 "harris_vtx",
00126 "end2d",
00127 "feature_end2d",
00128 "harris_end2d",
00129 "calorimetry",
00130 "user",
00131 "fifo",
00132 "pmtfifo",
00133 "tpcfifo",
00134 "pulse",
00135 "pmt_threswin",
00136 "pmt_fixedwin",
00137 "tpc_threswin",
00138 "tpc_fixedwin",
00139 "trigger"
00140 };
00141
00142 }
00143
00144 }
00145 #endif
00146