]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGCF/FEMTOSCOPY/AliFemto/AliFemtoSphericityEventCut.h
Split: removed dirs now in AliPhysics
[u/mrichter/AliRoot.git] / PWGCF / FEMTOSCOPY / AliFemto / AliFemtoSphericityEventCut.h
diff --git a/PWGCF/FEMTOSCOPY/AliFemto/AliFemtoSphericityEventCut.h b/PWGCF/FEMTOSCOPY/AliFemto/AliFemtoSphericityEventCut.h
deleted file mode 100644 (file)
index 8887d51..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//                                                                            //
-// AliFemtoSphericityEventCut - the basic cut for events.                     //
-//                                                                            //
-////////////////////////////////////////////////////////////////////////////////
-
-#ifndef AliFemtoSphericityEventCUT_H
-#define AliFemtoSphericityEventCUT_H
-
-#include "AliFemtoEventCut.h"
-
-class AliFemtoSphericityEventCut : public AliFemtoEventCut {
-
-public:
-
-  AliFemtoSphericityEventCut();
-  AliFemtoSphericityEventCut(AliFemtoSphericityEventCut& c);
-  virtual ~AliFemtoSphericityEventCut();
-  AliFemtoSphericityEventCut& operator=(AliFemtoSphericityEventCut& c);
-
-  void SetEventMult(const int& lo,const int& hi);
-  void SetVertZPos(const float& lo, const float& hi);
-  void SetAcceptBadVertex(bool b);
-  int NEventsPassed() const;
-  int NEventsFailed() const;
-  bool GetAcceptBadVertex();
-  bool GetAcceptOnlyPhysics() {return kFALSE;} // Not implemented
-  void SetStMin(double stMin );
-  void SetStMax(double stMax );
-  void SetTriggerSelection(int trig);
-
-  void SetEPVZERO(const float& lo, const float& hi);
-
-  virtual AliFemtoString Report();
-  virtual bool Pass(const AliFemtoEvent* event);
-
-  AliFemtoSphericityEventCut* Clone();
-
-private:   // here are the quantities I want to cut on...
-
-  int fEventMult[2];      // range of multiplicity
-  float fVertZPos[2];     // range of z-position of vertex
-  float fPsiEP[2];        // range of vzero ep angle
-  bool fAcceptBadVertex;  // Set to true to accept events with bad vertex
-  long fNEventsPassed;    // Number of events checked by this cut that passed
-  long fNEventsFailed;    // Number of events checked by this cut that failed
-  bool fAcceptOnlyPhysics;// Accept only physics events
-  double fStCutMin;       // transverse sphericity minimum
-  double fStCutMax;       // transverse sphericity maximum
-  int  fSelectTrigger;    // If set, only given trigger will be selected
-
-#ifdef __ROOT__
-  ClassDef(AliFemtoSphericityEventCut, 1)
-#endif
-
-};
-
-inline void AliFemtoSphericityEventCut::SetEventMult(const int& lo, const int& hi){fEventMult[0]=lo; fEventMult[1]=hi;}
-inline void AliFemtoSphericityEventCut::SetVertZPos(const float& lo, const float& hi){fVertZPos[0]=lo; fVertZPos[1]=hi;}
-inline void AliFemtoSphericityEventCut::SetEPVZERO(const float& lo, const float& hi){fPsiEP[0]=lo; fPsiEP[1]=hi;}
-inline int  AliFemtoSphericityEventCut::NEventsPassed() const {return fNEventsPassed;}
-inline int  AliFemtoSphericityEventCut::NEventsFailed() const {return fNEventsFailed;}
-inline void  AliFemtoSphericityEventCut::SetStMin(double stMin ) {fStCutMin=stMin;}
-inline void  AliFemtoSphericityEventCut::SetStMax(double stMax ) {fStCutMax=stMax;}
-inline void AliFemtoSphericityEventCut::SetTriggerSelection(int trig) { fSelectTrigger = trig; }
-inline AliFemtoSphericityEventCut* AliFemtoSphericityEventCut::Clone() { AliFemtoSphericityEventCut* c = new AliFemtoSphericityEventCut(*this); return c;}
-inline AliFemtoSphericityEventCut::AliFemtoSphericityEventCut(AliFemtoSphericityEventCut& c) : AliFemtoEventCut(c), fAcceptBadVertex(false), fNEventsPassed(0), fNEventsFailed(0), fAcceptOnlyPhysics(false),fStCutMin(0),fStCutMax(1),  fSelectTrigger(0) {
-  fEventMult[0] = c.fEventMult[0];
-  fEventMult[1] = c.fEventMult[1];
-  fVertZPos[0] = c.fVertZPos[0];
-  fVertZPos[1] = c.fVertZPos[1];
-  fPsiEP[0] = c.fPsiEP[0];
-  fPsiEP[1] = c.fPsiEP[1];
-  fStCutMin = c.fStCutMin;
-  fStCutMax = c.fStCutMax;
-
-}
-
-inline AliFemtoSphericityEventCut& AliFemtoSphericityEventCut::operator=(AliFemtoSphericityEventCut& c) {   
-  if (this != &c) {
-    AliFemtoEventCut::operator=(c);
-    fEventMult[0] = c.fEventMult[0];
-    fEventMult[1] = c.fEventMult[1];
-    fVertZPos[0] = c.fVertZPos[0];
-    fVertZPos[1] = c.fVertZPos[1];
-    fPsiEP[0] = c.fPsiEP[0];
-    fPsiEP[1] = c.fPsiEP[1];
-    fStCutMin = c.fStCutMin;
-    fStCutMax = c.fStCutMax;
-  }
-
-  return *this;
-}
-
-
-#endif