Removing useless files
authorhristov <Peter.Hristov@cern.ch>
Tue, 4 Feb 2014 09:46:35 +0000 (10:46 +0100)
committerhristov <Peter.Hristov@cern.ch>
Tue, 4 Feb 2014 09:46:35 +0000 (10:46 +0100)
PWG/FLOW/Base/AliFlowVector.cxx.orig [deleted file]
PWG/FLOW/Base/AliFlowVector.h.orig [deleted file]

diff --git a/PWG/FLOW/Base/AliFlowVector.cxx.orig b/PWG/FLOW/Base/AliFlowVector.cxx.orig
deleted file mode 100644 (file)
index 1084999..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-/*************************************************************************
-* Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. *
-*                                                                        *
-* Author: The ALICE Off-line Project.                                    *
-* Contributors are mentioned in the code where appropriate.              *
-*                                                                        *
-* Permission to use, copy, modify and distribute this software and its   *
-* documentation strictly for non-commercial purposes is hereby granted   *
-* without fee, provided that the above copyright notice appears in all   *
-* copies and that both the copyright notice and this permission notice   *
-* appear in the supporting documentation. The authors make no claims     *
-* about the suitability of this software for any purpose. It is          *
-* provided "as is" without express or implied warranty.                  * 
-**************************************************************************/
-
-#include "AliFlowVector.h"
-
-//********************************************************************
-// AliFlowVector:                                                    *
-// Class to hold the flow vector and multiplicity for flow analysis. *
-// Author: A. Bilandzic (anteb@nikhef.nl)                            *
-//********************************************************************
-
-ClassImp(AliFlowVector)
-
-//________________________________________________________________________
-
-AliFlowVector::AliFlowVector():
- TVector2(0.0,0.0),fMult(0.0)
-{
-  // default constructor
-}
-
-//________________________________________________________________________
-
-AliFlowVector::AliFlowVector(const AliFlowVector& aVector):
-  TVector2(aVector),
-  fMult(aVector.fMult)
-{
-  // copy constructor
-}
-
-//________________________________________________________________________
-
-AliFlowVector::AliFlowVector(Double_t *y, Double_t m):
-  TVector2(y),
-  fMult(m)
-{
-  // Analogue of TVector2 constructor. Sets (x,y) and multiplicity 1.
-}
-
- //________________________________________________________________________
-
-AliFlowVector::AliFlowVector(const TVector2 &v, Double_t m):
-  TVector2(v),
-  fMult(m)
-{
-  // custom constructor, Sets vector and multiplicity
-}
-
- //________________________________________________________________________
-
-AliFlowVector::AliFlowVector(Double_t x, Double_t y, Double_t m):
-  TVector2(x,y),
-  fMult(m)
-{
-  // custom constructor analogue of TVector2 constructor
-}
-
-//________________________________________________________________________ 
-
-AliFlowVector::~AliFlowVector()
-{
-  // default destructor 
-}
-
-void AliFlowVector::SetMagPhi(double size, double angle, double mult)
-{
-   // Analogue to SetMagPhi for a TVector2 but here including a sum of weights
-   TVector2::SetMagPhi(size,angle);
-   SetMult(mult);
-}
-
-//________________________________________________________________________
-
-AliFlowVector& AliFlowVector::operator=(const AliFlowVector& aVector)
-{
-  // assignement operator
-  if (this==&aVector) return *this;
-  fX = aVector.X();
-  fY = aVector.Y();
-  fMult = aVector.GetMult();
-  return *this;
-}
-
-//________________________________________________________________________
-
-AliFlowVector& AliFlowVector::operator+=(const AliFlowVector& aVector)
-{
-  // addition operator
-  fX += aVector.X(); 
-  fY += aVector.Y(); 
-  fMult += aVector.GetMult(); 
-  return *this;
-}
-
-AliFlowVector& AliFlowVector::operator-=(const AliFlowVector& aVector)
-{
-  // subtraction operator
-  fX -= aVector.X(); 
-  fY -= aVector.Y(); 
-  fMult -= aVector.GetMult();
-  return *this;
-}
-
-AliFlowVector& AliFlowVector::operator*=(double w)
-{
-   // multiply by a weight operator
-   fX*=w;
-   fY*=w;
-   fMult*=w;
-   return *this;
-}
diff --git a/PWG/FLOW/Base/AliFlowVector.h.orig b/PWG/FLOW/Base/AliFlowVector.h.orig
deleted file mode 100644 (file)
index 1af3d93..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
-* See cxx source for full Copyright notice */
-/* $Id$ */
-
-#ifndef ALIFLOWVECTOR_H
-#define ALIFLOWVECTOR_H
-
-#include "TVector2.h"
-
-//********************************************************************
-// AliFlowVector:                                                    *
-// Class to hold the flow vector and multiplicity for flow analysis. *
-// Author: A. Bilandzic (anteb@nikhef.nl)                            *
-//********************************************************************
-
-class AliFlowVector: public TVector2 {
- public:
-  AliFlowVector();
-  AliFlowVector(const AliFlowVector& aVector);
-  AliFlowVector(const TVector2 &p, Double_t m);                      // constructor: Add a weight to the TVector
-  AliFlowVector(Double_t *y, Double_t m=1);                          // constructor: Analogue to TVector2(y) with multiplicity
-  AliFlowVector(Double_t x, Double_t y, Double_t m=1);   // constructor: Sets the components individually
-  virtual ~AliFlowVector();
-
-  void SetMagPhi(Double_t size, Double_t angle, Double_t mult=1);          // Set vector and weighted multiplicity
-
-  AliFlowVector& operator=(const AliFlowVector& aVector);                        // Assign to self
-  AliFlowVector& operator+=(const AliFlowVector& aVector);                       // Add to self
-  AliFlowVector& operator-=(const AliFlowVector& aVector);                       // Subtract from self
-  AliFlowVector& operator*=(double w);                                     // Multiply by a weight
-  AliFlowVector& operator/=(double w){ (*this)*=(1.0/w); return *this;};      // Divide by a weight
-  const AliFlowVector operator+(const AliFlowVector&a) const { AliFlowVector v(*this); return v+=a; };   // Add and return by value
-  const AliFlowVector operator-(const AliFlowVector&a) const { AliFlowVector v(*this); return v-=a; };   // Subtract and return by value
-  const AliFlowVector operator*(double w) const { AliFlowVector v(*this); return v*=w; };          // Scale and return by value
-  const AliFlowVector operator/(double w) const { AliFlowVector v(*this); return v/=w; };          // Scale and return by value
-
-  Bool_t  IsFolder() const {return kTRUE;};
-
-  void SetMult(Double_t mult) {fMult = mult;};           // Set sum of weights
-  Double_t GetMult() const {return fMult;};                    // Get sum of weights
-        
- private:
-  Double_t fMult;                 // multiplicity = sum of weights = w_1 + w_2 + ... + w_n
-   
-  ClassDef(AliFlowVector, 1) 
-};
-
-
-/* Old, less efficient code
-inline  AliFlowVector operator+(const AliFlowVector& aVector,const AliFlowVector& bVector) {
-  AliFlowVector cVector;
-  Double_t x = aVector.X() + bVector.X(); 
-  Double_t y = aVector.Y() + bVector.Y(); 
-  Double_t mult = aVector.GetMult() + bVector.GetMult();
-  cVector.Set(x,y);
-  cVector.SetMult(mult);
-  
-  return cVector;
-}
-
-inline  AliFlowVector operator-(const AliFlowVector& aVector,const AliFlowVector& bVector) 
-{
-   // Difference between two vectors
-  AliFlowVector cVector;
-  Double_t x = aVector.X() - bVector.X(); 
-  Double_t y = aVector.Y() - bVector.Y(); 
-  Double_t mult = aVector.GetMult() - bVector.GetMult();
-  cVector.Set(x,y);
-  cVector.SetMult(mult);
-  
-  return cVector;
-}
-*/
-
-#endif