00001 // COCOA class header file 00002 //Id: NtupleManager.h 00003 //CAT: Analysis 00004 // 00005 // History: v1.0 00006 // Luca Scodellaro 00007 00008 #ifndef _NtupleObjects_HH 00009 #define _NtupleObjects_HH 00010 00011 #include "TObject.h" 00012 #include "TString.h" 00013 00014 class FitParam : public TObject { 00015 00016 public: 00017 FitParam(); 00018 ~FitParam() {} 00019 double InitialValue; 00020 double FittedValue; 00021 double InitialSigma; 00022 double FittedSigma; 00023 TString Name; 00024 TString Quality; 00025 int OptObjectIndex; 00026 00027 ClassDef(FitParam,1) 00028 }; 00029 00030 class OptObject : public TObject { 00031 00032 public: 00033 OptObject(); 00034 ~OptObject() {} 00035 double CentreGlobal[3]; 00036 double AnglesGlobal[3]; 00037 double CentreLocal[3]; 00038 double AnglesLocal[3]; 00039 TString Name; 00040 TString Type; 00041 int Parent; 00042 00043 ClassDef(OptObject,1) 00044 }; 00045 00046 class Sensor2DMeas : public TObject { 00047 00048 public: 00049 Sensor2DMeas(); 00050 ~Sensor2DMeas() {} 00051 double Position[2]; 00052 double PosError[2]; 00053 double SimulatedPosition[2]; 00054 TString Name; 00055 int OptObjectIndex; 00056 00057 ClassDef(Sensor2DMeas,1) 00058 }; 00059 00060 class DistancemeterMeas : public TObject { 00061 00062 public: 00063 DistancemeterMeas(); 00064 ~DistancemeterMeas() {} 00065 double Distance; 00066 double DisError; 00067 double SimulatedDistance; 00068 TString Name; 00069 int OptObjectIndex; 00070 00071 ClassDef(DistancemeterMeas,1) 00072 }; 00073 00074 class Distancemeter1DimMeas : public TObject { 00075 00076 public: 00077 Distancemeter1DimMeas(); 00078 ~Distancemeter1DimMeas() {} 00079 double Distance; 00080 double DisError; 00081 double SimulatedDistance; 00082 TString Name; 00083 int OptObjectIndex; 00084 00085 ClassDef(Distancemeter1DimMeas,1) 00086 }; 00087 00088 class TiltmeterMeas : public TObject { 00089 00090 public: 00091 TiltmeterMeas(); 00092 ~TiltmeterMeas() {} 00093 double Angle; 00094 double AngError; 00095 double SimulatedAngle; 00096 TString Name; 00097 int OptObjectIndex; 00098 00099 ClassDef(TiltmeterMeas,1) 00100 }; 00101 00102 class CopsMeas : public TObject { 00103 00104 public: 00105 CopsMeas(); 00106 ~CopsMeas() {} 00107 double Position[4]; 00108 double PosError[4]; 00109 double SimulatedPosition[4]; 00110 TString Name; 00111 int OptObjectIndex; 00112 00113 ClassDef(CopsMeas,1) 00114 }; 00115 00116 #endif 00117