]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HBTAN/AliHBTAnalysis.h
Adding new file also for the new Makefile
[u/mrichter/AliRoot.git] / HBTAN / AliHBTAnalysis.h
index 67dbf4a720f20e2f0db7666be144ad031238e347..45e7e31d896f8726e23f91c334bcbbce372af61d 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,51 @@ 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();
+     
+     void SetBufferSize(Int_t buffsize){fBufferSize=buffsize;}
+    
    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; 
+      Int_t fBufferSize; //defines the size of buffer for mixed events; -1==MIX All
      /**********************************************/
      
      
    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)