00001 // COCOA class implementation file 00002 //Id: NtupleManager.cc 00003 //CAT: Analysis 00004 // 00005 // History: v1.0 00006 // Luca Scodellaro 00007 #include "Alignment/CocoaAnalysis/interface/NtupleObjects.h" 00008 00009 ClassImp(FitParam) 00010 ClassImp(OptObject) 00011 ClassImp(Sensor2DMeas) 00012 ClassImp(DistancemeterMeas) 00013 ClassImp(Distancemeter1DimMeas) 00014 ClassImp(TiltmeterMeas) 00015 ClassImp(CopsMeas) 00016 00017 FitParam::FitParam() { 00018 Name = "Null"; 00019 Quality = "Null"; 00020 InitialValue = -999.; 00021 FittedValue = -999.; 00022 InitialSigma = -999.; 00023 FittedSigma = -999.; 00024 OptObjectIndex = -999; 00025 } 00026 00027 OptObject::OptObject() { 00028 Name = "Null"; 00029 Type = "Null"; 00030 Parent = -999; 00031 for (int i = 0; i<3; i++) { 00032 CentreGlobal[i] = -999.; 00033 AnglesGlobal[i] = -999.; 00034 CentreLocal[i] = -999.; 00035 AnglesLocal[i] = -999.; 00036 } 00037 } 00038 00039 Sensor2DMeas::Sensor2DMeas() { 00040 Name = "Null"; 00041 OptObjectIndex = -999; 00042 for (int i = 0; i<2; i++) { 00043 Position[i] = -999.; 00044 PosError[i] = -999.; 00045 SimulatedPosition[i] = -999.; 00046 } 00047 } 00048 00049 DistancemeterMeas::DistancemeterMeas() { 00050 Name = "Null"; 00051 OptObjectIndex = -999; 00052 Distance = -999.; 00053 DisError = -999.; 00054 SimulatedDistance = -999.; 00055 } 00056 00057 Distancemeter1DimMeas::Distancemeter1DimMeas() { 00058 Name = "Null"; 00059 OptObjectIndex = -999; 00060 Distance = -999.; 00061 DisError = -999.; 00062 SimulatedDistance = -999.; 00063 } 00064 00065 TiltmeterMeas::TiltmeterMeas() { 00066 Name = "Null"; 00067 OptObjectIndex = -999; 00068 Angle = -999.; 00069 AngError = -999.; 00070 SimulatedAngle = -999.; 00071 } 00072 00073 CopsMeas::CopsMeas() { 00074 Name = "Null"; 00075 OptObjectIndex = -999; 00076 for (int i = 0; i<4; i++) { 00077 Position[i] = -999.; 00078 PosError[i] = -999.; 00079 SimulatedPosition[i] = -999.; 00080 } 00081 }