class AliHBTRun;
class AliHBTReader;
-class AliHBTTwoPartFctn;
-class AliHBTFourPartFctn;
+class AliHBTOnePairFctn;
+class AliHBTTwoPairFctn;
class TList;
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)