set(SRCS
FLOW/AliFlowEventSimple.cxx
FLOW/AliFlowTrackSimple.cxx
+ FLOW/AliFlowTrackSimpleCuts.cxx
FLOW/AliFlowCommonConstants.cxx
FLOW/AliFlowLYZConstants.cxx
FLOW/AliFlowCumuConstants.cxx
//-----------------------------------------------------------------------
AliFlowEventSimple::AliFlowEventSimple(Int_t aLenght):
- fTrackCollection(0),
+ fTrackCollection(NULL),
fNumberOfTracks(0),
fEventNSelTracksIntFlow(0)
{
Int_t fNumberOfTracks; // number of tracks
Int_t fEventNSelTracksIntFlow; // number of tracks selected for integrated flow calculation
- ClassDef(AliFlowEventSimple,0) // macro for rootcint
+ ClassDef(AliFlowEventSimple,1) // macro for rootcint
};
#endif
--- /dev/null
+/**************************************************************************
+ * Copyright(c) 1998-1999, 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. *
+ **************************************************************************/
+
+/* $Id$ */
+#include "TObject.h"
+#include "AliFlowTrackSimpleCuts.h"
+
+
+// AliFlowTrackSimpleCuts:
+// A simple track cut class to the the AliFlowTrackSimple
+// for basic kinematic cuts
+//
+// author: N. van der Kolk (kolk@nikhef.nl)
+
+
+ClassImp(AliFlowTrackSimpleCuts)
+
+//-----------------------------------------------------------------------
+
+AliFlowTrackSimpleCuts::AliFlowTrackSimpleCuts():
+ fPtMax(0.),
+ fPtMin(0.),
+ fEtaMax(0.),
+ fEtaMin(0.),
+ fPhiMax(0.),
+ fPhiMin(0.),
+ fPID(0)
+
+{
+ //constructor
+
+}
+
+//-----------------------------------------------------------------------
+
+AliFlowTrackSimpleCuts::AliFlowTrackSimpleCuts(const AliFlowTrackSimpleCuts& someCuts):
+ TObject(),
+ fPtMax(someCuts.fPtMax),
+ fPtMin(someCuts.fPtMin),
+ fEtaMax(someCuts.fEtaMax),
+ fEtaMin(someCuts.fEtaMin),
+ fPhiMax(someCuts.fPhiMax),
+ fPhiMin(someCuts.fPhiMin),
+ fPID(someCuts.fPID)
+{
+ //copy constructor
+}
+
+//-----------------------------------------------------------------------
+
+AliFlowTrackSimpleCuts& AliFlowTrackSimpleCuts::operator=(const AliFlowTrackSimpleCuts& someCuts)
+{
+ fPtMax = someCuts.fPtMax;
+ fPtMin = someCuts.fPtMin;
+ fEtaMax = someCuts.fEtaMax;
+ fEtaMin = someCuts.fEtaMin;
+ fPhiMax = someCuts.fPhiMax;
+ fPhiMin = someCuts.fPhiMin;
+ fPID = someCuts.fPID;
+
+ return *this;
+
+}
+
+
+//-----------------------------------------------------------------------
+
+AliFlowTrackSimpleCuts::~AliFlowTrackSimpleCuts()
+{
+ //destructor
+
+}
--- /dev/null
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. */
+/* See cxx source for full Copyright notice */
+/* $Id$ */
+
+// AliFlowTrackSimpleCuts:
+// A simple track cut class to the the AliFlowTrackSimple for basic
+// kinematic cuts
+// author: N. van der Kolk (kolk@nikhef.nl)
+
+#ifndef AliFlowTrackSimpleCuts_H
+#define AliFlowTrackSimpleCuts_H
+
+class TObject;
+
+class AliFlowTrackSimpleCuts : public TObject {
+
+ public:
+ AliFlowTrackSimpleCuts();
+ AliFlowTrackSimpleCuts(const AliFlowTrackSimpleCuts& someCuts);
+ AliFlowTrackSimpleCuts& operator=(const AliFlowTrackSimpleCuts& someCuts);
+ virtual ~AliFlowTrackSimpleCuts();
+
+ //setters
+ void SetPtMax(Double_t max) {this->fPtMax = max; }
+ void SetPtMin(Double_t min) {this->fPtMin = min; }
+ void SetEtaMax(Double_t max) {this->fEtaMax = max; }
+ void SetEtaMin(Double_t min) {this->fEtaMin = min; }
+ void SetPhiMax(Double_t max) {this->fPhiMax = max; }
+ void SetPhiMin(Double_t min) {this->fPhiMin = min; }
+ void SetPID(Int_t pid) {this->fPID = pid; }
+
+ //getters
+ Double_t GetPtMax() const {return this->fPtMax; }
+ Double_t GetPtMin() const {return this->fPtMin; }
+ Double_t GetEtaMax() const {return this->fEtaMax; }
+ Double_t GetEtaMin() const {return this->fEtaMin; }
+ Double_t GetPhiMax() const {return this->fPhiMax; }
+ Double_t GetPhiMin() const {return this->fPhiMin; }
+ Int_t GetPID() const {return this->fPID; }
+
+ private:
+ Double_t fPtMax;
+ Double_t fPtMin;
+ Double_t fEtaMax;
+ Double_t fEtaMin;
+ Double_t fPhiMax;
+ Double_t fPhiMin;
+ Int_t fPID;
+
+ ClassDef(AliFlowTrackSimpleCuts,1)
+};
+
+#endif
+
+
#pragma link C++ class AliFlowEventSimple+;
#pragma link C++ class AliFlowTrackSimple+;
+#pragma link C++ class AliFlowTrackSimpleCuts+;
#pragma link C++ class AliFlowCommonHist+;
#pragma link C++ class AliFlowCommonHistResults+;
#pragma link C++ class AliFlowLYZHist1+;
SRCS= FLOW/AliFlowEventSimple.cxx \
FLOW/AliFlowTrackSimple.cxx \
+ FLOW/AliFlowTrackSimpleCuts.cxx \
FLOW/AliFlowVector.cxx \
FLOW/AliFlowCommonConstants.cxx \
FLOW/AliFlowLYZConstants.cxx \