Version number ++
[u/mrichter/AliRoot.git] / ANALYSIS / AliAODParticleBaseCut.h
index 68ad072..549846d 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