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 8fb64219755cc29a1fb61ff2968491fe9938cda2..3499fe7d6f02cb574520ee19b2a8450d8bb232b1 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 8a39ead0ad41a83d0c7ce6c52316f2612df962cc..bfebceff48b0f85a85681be7c2e05cce8d5f519a 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;}