Some coding conventions fixed.
authorbarbera <barbera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Jun 2000 20:21:44 +0000 (20:21 +0000)
committerbarbera <barbera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Jun 2000 20:21:44 +0000 (20:21 +0000)
ITS/AliITSstatistics.h
ITS/AliITSstatistics2.h

index 0c2bd10708f4e5070b972c50a9f42134e732d288..539e55705917cf99fd2989258e7445a15412eeea 100644 (file)
@@ -21,24 +21,39 @@ class AliITSstatistics : public TObject {
   virtual ~AliITSstatistics();
   void Reset();
   void AddValue(Double_t x,Double_t w);
-  void AddValue(Double_t x){AddValue(x,1.0);} // Default weight of 1
-  void AddValue(Float_t x,Float_t w){AddValue((Double_t)x,(Double_t)w);} //float
-  void AddValue(Float_t x){AddValue(x,1.0);} // floats default weight of 1
+  void AddValue(Double_t x){
+                            // Default weight of 1
+                            AddValue(x,1.0);
+                                                                        } 
+  void AddValue(Float_t x,Float_t w){
+                                     //float
+                                     AddValue((Double_t)x,(Double_t)w);
+                                                                                                } 
+  void AddValue(Float_t x){
+                           // floats default weight of 1
+                           AddValue(x,1.0);} 
   Double_t GetNth(Int_t order);
-  Double_t GetMean() {// returns the mean
-    return GetNth(1);};
-  Int_t GetN(){// returns the number of entries
-    return fN;
-  };
-  Int_t GetOrder(){// returns the order of the moment of the distribution
-    return fOrder;
-  };
-  Double_t GetXN(Int_t order){// returns X^N
-    return fx[order-1];
-  };
-  Double_t GetWN(Int_t order){// returns W^N
-    return fw[order-1];
-  };
+  Double_t GetMean() {
+                      // returns the mean
+                      return GetNth(1);
+                                                       };
+  Int_t GetN(){
+               // returns the number of entries
+               return fN;
+              };
+  Int_t GetOrder(){
+                   // returns the order of the moment of the distribution
+                   return 
+                                                fOrder;
+                  };
+  Double_t GetXN(Int_t order){
+                              // returns X^N
+                              return fx[order-1];
+                              };
+  Double_t GetWN(Int_t order){
+                              // returns W^N
+                              return fw[order-1];
+                             };
   Double_t GetRMS();
   Double_t GetErrorMean();
   Double_t GetErrorRMS();
index 5004fcfd7067f73e81b0b3e976ae1c7fc91754e6..d108aeb8cd0ad2cb4ed03db04c960e055ed599b8 100644 (file)
@@ -21,10 +21,18 @@ class AliITSstatistics2 : public TObject {
     virtual ~AliITSstatistics2();
     void Reset();
     void AddValue(Double_t y,Double_t x,Double_t w);
-    void AddValue(Double_t y,Double_t x){AddValue(y,x,1.0);} // default weight
+    void AddValue(Double_t y,Double_t x){
+                                             // default weight
+                                             AddValue(y,x,1.0);
+                                                                                                         } 
     void AddValue(Float_t y,Float_t x,Float_t w){
-             AddValue((Double_t)y,(Double_t)x,(Double_t)w);} // Floating point version
-    void AddValue(Float_t y,Float_t x){AddValue(y,x,1.0);}// default weight F.
+                                                     // Floating point version
+                                                 AddValue((Double_t)y,(Double_t)x,(Double_t)w);
+                                                                                                                                } 
+    void AddValue(Float_t y,Float_t x){
+                                           // default weight F.
+                                           AddValue(y,x,1.0);
+                                                                                                 }
     Double_t GetXNth (Int_t order);
     Double_t GetYNth (Int_t order);
     Double_t GetYXNth(Int_t order);