1 // Author: Dariusz Miskowiec 2007
3 //=============================================================================
4 // simple event loop manager
5 //=============================================================================
15 //=============================================================================
16 class AliDLoop : public TObject {
20 AliDLoop(TTree *tr, AliDEvent *ev0, char *outfil="result.root");
21 AliDLoop(const AliDLoop &loop); // copy constructor
22 AliDLoop &operator=(const AliDLoop &loop); // substitution operator
23 virtual ~AliDLoop() {} // destructor
24 void Run(int n=-1) const; // process n events; n=-1 means all
27 TTree *fTree0; //! input event tree
28 TTree *fTree1; //! clone of fTree0 for event mixing
29 AliDEvent *fEv0; //! event
30 AliDEvent *fEv1; //! clone of fEv0 for event mixing
31 TString fOutputFilename; //! output filename
32 Int_t Mem() const; // virtual memory in MB
36 //=============================================================================