]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliAODParticleBaseCut.h
Replacing array of objects by array of pointers
[u/mrichter/AliRoot.git] / ANALYSIS / AliAODParticleBaseCut.h
index 68ad0723ee11d14d6b8d27e1a78cf81167f10628..549846d4fabc6c1ddffa54e0284768ef3d44c397 100644 (file)
@@ -1,5 +1,28 @@
 #ifndef ALIAODPARTICLEBASECUT_H
 #define ALIAODPARTICLEBASECUT_H
+//__________________________________________________________________________
+////////////////////////////////////////////////////////////////////////////
+//                                                                        //
+// class AliAODParticleBaseCut                                            //
+//                                                                        //
+// Set of classes for performing cuts on particle properties of           //
+// AliAODParticleBaseCut is a base class for "base                        //
+// particle cuts". Further, there are implemented classes that performs   //
+// cuts on the most common particle properties like pt, pseudo rapidity,  //
+// angles, anergy, etc.                                                   //
+//                                                                        //
+// There are also implemeted base cuts that perform logical operations    //
+// on results of base particle cuts: AliAODOrCut and  AliAODAndCut.       //
+//                                                                        //
+// Each base cut has a property, thet allows to distinguish them.         //
+// This functionality is used by the interface methods of Particle Cut    //
+// that allows easy update ranges.                                        //
+//                                                                        //
+// more info: http://aliweb.cern.ch/people/skowron/analyzer/index.html    //
+// responsible: Piotr Skowronski@cern.ch                                  //
+//                                                                        //
+////////////////////////////////////////////////////////////////////////////
+
 
 #include <TObject.h>
 #include "AliVAODParticle.h"
@@ -50,7 +73,7 @@ class AliAODParticleBaseCut: public TObject
      Double_t          GetMaximum() const {return fMax;}
      
      EAODCutProperty   GetProperty() const {return fProperty;}
-     virtual void Print(void) const;
+     virtual void Print(const Option_t * opt = "") const;
      
    protected:
      virtual Double_t  GetValue(AliVAODParticle *) const = 0;
@@ -227,7 +250,7 @@ class AliAODPIDCut:  public AliAODParticleBaseCut
      virtual ~AliAODPIDCut(){}
      
      void SetPID(Int_t pid){fPID = pid;}
-     void Print(void) const;
+     void Print(const Option_t * opt = "") const;
    protected:
      Double_t  GetValue(AliVAODParticle * p)const{return p->GetProbability(fPID);}
      Int_t     fPID; //pid of particle that the pid is set