Two Particle Function -> One Pair; FourPart -> TwoPair
[u/mrichter/AliRoot.git] / HBTAN / AliHBTAnalysis.h
index 67dbf4a720f20e2f0db7666be144ad031238e347..2b50eb671f8612713020752856c9011b5a918811 100644 (file)
@@ -12,8 +12,8 @@ class AliHBTPair;
 
 class AliHBTRun;
 class AliHBTReader;
-class AliHBTTwoPartFctn;      
-class AliHBTFourPartFctn;
+class AliHBTOnePairFctn;      
+class AliHBTTwoPairFctn;
 
 
 class TList;
@@ -30,48 +30,47 @@ class AliHBTAnalysis: public TObject
 
      void SetGlobalPairCut(AliHBTPairCut* cut);
      
-     void AddTrackFunction(AliHBTTwoPartFctn*);
-     void AddParticleFunction(AliHBTTwoPartFctn*);
-     void AddParticleAndTrackFunction(AliHBTFourPartFctn*);
+     void AddTrackFunction(AliHBTOnePairFctn*);
+     void AddParticleFunction(AliHBTOnePairFctn*);
+     void AddParticleAndTrackFunction(AliHBTTwoPairFctn*);
      
-     void AddResolutionFunction(AliHBTFourPartFctn* f){AddParticleAndTrackFunction(f);}
+     void AddResolutionFunction(AliHBTTwoPairFctn* f){AddParticleAndTrackFunction(f);}
      
      void SetReader(AliHBTReader* r){fReader = r;}
      
-     void Write();
+     void WriteFunctions();
    protected:
      
      Bool_t RunCoherencyCheck();
      
      
-     AliHBTReader* fReader;
+     AliHBTReader* fReader;//!
      
      virtual void ProcessTracks();
      virtual void ProcessParticles();
      virtual void ProcessTracksAndParticles();
      
      
-     AliHBTTwoPartFctn**  fTrackFunctions; //array of pointers to functions that analyze rekonstructed tracks
-     AliHBTTwoPartFctn**  fParticleFunctions; //array of pointers to functions that analyze generated particles
-     AliHBTFourPartFctn** fParticleAndTrackFunctions; //array of pointers to functions that analyze both 
+     AliHBTOnePairFctn**  fTrackFunctions; //!array of pointers to functions that analyze rekonstructed tracks
+     AliHBTOnePairFctn**  fParticleFunctions; //!array of pointers to functions that analyze generated particles
+     AliHBTTwoPairFctn** fParticleAndTrackFunctions; //!array of pointers to functions that analyze both 
                                         //reconstructed tracks and generated particles
                //i.e. - resolution analyzers
-     UInt_t fNTrackFunctions;
-     UInt_t fNParticleFunctions;
-     UInt_t fNParticleAndTrackFunctions;
+     UInt_t fNTrackFunctions; //!
+     UInt_t fNParticleFunctions; //!
+     UInt_t fNParticleAndTrackFunctions; //!
                
      /**********************************************/
      /* Control parameters  */
 
-      AliHBTPairCut *fPairCut;
+      AliHBTPairCut *fPairCut;//!
       
-   // AliHBTCut *fParticleCut; 
      /**********************************************/
      
      
    private:
-     static const Int_t fgkHbtAnalyzeAll;
-     static const UInt_t fgkFctnArraySize;
+     static const Int_t fgkHbtAnalyzeAll;//!
+     static const UInt_t fgkFctnArraySize;//!
 /*********************************************/   
    public:
      ClassDef(AliHBTAnalysis,0)