Adding setter for z alignment (Marian)
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Sep 2010 12:11:14 +0000 (12:11 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Sep 2010 12:11:14 +0000 (12:11 +0000)
TPC/AliTPCROCVoltError3D.cxx
TPC/AliTPCROCVoltError3D.h

index f7b972be5a0c0767fbbfcf08d41b91ac87c8d3a9..c338f44218956aca4f2ceee3c6b17294af27c330 100644 (file)
@@ -84,6 +84,15 @@ AliTPCROCVoltError3D::~AliTPCROCVoltError3D() {
   delete fdzDataLinFit;
 }
 
+void AliTPCROCVoltError3D::SetDZMap(TMatrixD * matrix){
+  //
+  //
+  //
+  if (!fdzDataLinFit) fdzDataLinFit=new TMatrixD(*matrix);
+  else *fdzDataLinFit = *matrix;
+}
+
+
 void AliTPCROCVoltError3D::Init() {
   //
   // Initialization funtion
index 810964619386e186ad8f6a61d797b753d82c0d70..42c91c3116c55f1ae5d0b1a5ee00a82b96084b3d 100644 (file)
@@ -33,7 +33,7 @@ public:
   void SetC0C1(Float_t c0,Float_t c1) {fC0=c0;fC1=c1;} // CAUTION: USE WITH CARE
   Float_t GetC0() const {return fC0;}
   Float_t GetC1() const {return fC1;}
-
+  void SetDZMap(TMatrixD * matrix);
   // setters and getters 
   void SetROCDataFileName(char *const fname);
   char* GetROCDataFileName() const {return fROCDataFileName;}