Adding Print function
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 3 Apr 2011 12:11:48 +0000 (12:11 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 3 Apr 2011 12:11:48 +0000 (12:11 +0000)
TPC/AliTPCRecoParam.cxx
TPC/AliTPCRecoParam.h

index 8fb6421..3499fe7 100644 (file)
@@ -131,7 +131,17 @@ AliTPCRecoParam::~AliTPCRecoParam()
   //  
 }
 
-
+void AliTPCRecoParam::Print(const Option_t* /*option*/) const{
+  //
+  //
+  //
+  AliTPCRecoParam::Dump();
+  printf("Systematic errors:\n");
+  const char * cherrs[5]={"sy=","sz=","ssnp=","stheta=","s1pt="};
+  for (Int_t i=0; i<5; i++){
+    printf("%s%f\n",cherrs[i],fSystematicErrors[i]);
+  }
+}
 
 
 AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){
index 8a39ead..bfebcef 100644 (file)
@@ -17,6 +17,7 @@ class AliTPCRecoParam : public AliDetectorRecoParam
  public: 
   AliTPCRecoParam();
   virtual ~AliTPCRecoParam();
+  virtual void Print(const Option_t* option="") const;
   static   Bool_t  GetUseTimeCalibration();
   static   void    SetUseTimeCalibration(Bool_t useTimeCalibration);
   void     SetClusterSharing(Bool_t sharing){fBClusterSharing=sharing;}