]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliEventCut.cxx
PDC'06 configurations for charm and beauty added.
[u/mrichter/AliRoot.git] / ANALYSIS / AliEventCut.cxx
index d1ff673576842ca57614fe5e5ef00085104ce046..447787c06b2ed28dc4c0ebf519a5cefc71efc62e 100644 (file)
@@ -1,22 +1,20 @@
 #include "AliEventCut.h"
-//________________________________
+
 ///////////////////////////////////////////////////////////
 //
-// class AliRunAnalysis
-//
-//
-//
+// class AliEventCut
 //
+// Event cut. It has list of base event cuts. 
+// Each of base event cut checks only one property.
+// Logical base cuts also exists that point to other base cuts.
+// Using them one can build complicated cut with binary tree structure
+// Author: Piotr.Skowronski@cern.ch
 ///////////////////////////////////////////////////////////
 
-#include <TObjArray.h>
-//#include <TIter.h>
-
 #include "AliEventBaseCut.h"
 
 ClassImp(AliEventCut)
 
-
 AliEventCut::AliEventCut():
  fBaseCuts(10)
 {
@@ -109,7 +107,7 @@ void AliEventCut::SetNChargedRange(Int_t min,Int_t max,Double_t etamin,Double_t
 }
 /*********************************************************/
 
-void AliEventCut::SetVertexXRange(Int_t min,Int_t max)
+void AliEventCut::SetVertexXRange(Double_t min, Double_t max)
 {
   //Sets range of z coordinate of a primary vertex
   AliEventBaseCut* cut = FindCut(AliEventBaseCut::kPrimVertexXCut);
@@ -118,7 +116,7 @@ void AliEventCut::SetVertexXRange(Int_t min,Int_t max)
 }
 /*********************************************************/
 
-void AliEventCut::SetVertexYRange(Int_t min,Int_t max)
+void AliEventCut::SetVertexYRange(Double_t min, Double_t max)
 {
   //Sets range of z coordinate of a primary vertex
   AliEventBaseCut* cut = FindCut(AliEventBaseCut::kPrimVertexYCut);
@@ -127,7 +125,7 @@ void AliEventCut::SetVertexYRange(Int_t min,Int_t max)
 }
 /*********************************************************/
 
-void AliEventCut::SetVertexZRange(Int_t min,Int_t max)
+void AliEventCut::SetVertexZRange(Double_t min, Double_t max)
 {
   //Sets range of z coordinate of a primary vertex
   AliEventBaseCut* cut = FindCut(AliEventBaseCut::kPrimVertexZCut);