]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/EventMixing/AliMixEventInputHandler.h
Added EventPlane cut for mixing
[u/mrichter/AliRoot.git] / ANALYSIS / EventMixing / AliMixEventInputHandler.h
index b17de59b7232c879b8428a7c2594a564f84d09e9..8fb4920c6f6839891af59a2b523a0aed9d367dc2 100644 (file)
@@ -3,7 +3,7 @@
 //
 // Mixing input handler prepare N events before UserExec
 // TODO example
-// author: 
+// author:
 //        Martin Vala (martin.vala@cern.ch)
 //
 
@@ -21,45 +21,45 @@ class AliMixInputHandlerInfo;
 class AliMixEventInputHandler : public AliInputEventHandler {
 
 public:
-  AliMixEventInputHandler(const Int_t size=1);
-  virtual ~AliMixEventInputHandler() {;};
-  
-  // From the interface
-  virtual Bool_t  Init(Option_t* opt /*opt*/);
-  virtual Bool_t  Init(TTree* tree, Option_t* /*opt*/);
-  virtual Bool_t  BeginEvent(Long64_t entry /*entry*/);
-  virtual Bool_t  GetEntry();
-  virtual Bool_t  FinishEvent();
-  virtual Bool_t  Notify();
-  virtual Bool_t  Notify(const char *path);
+   AliMixEventInputHandler(const Int_t size=1);
+   virtual ~AliMixEventInputHandler() {;};
 
-  
-  void SetInputHandlerForMixing(const AliInputEventHandler * const inHandler);
-  void SetEventPool(AliMixEventPool * const evPool) {fEventPool = evPool;}
-  
-  AliInputEventHandler * InputEventHandler(const Int_t index);
-  AliMixEventPool *GetEventPool() const { return fEventPool;}
-  Int_t           BufferSize() const {return fBufferSize;}
-  Int_t           MixedEventNumber() const {return fMixEventNumber;}
-  Long64_t        EntryAll() const { return fEntryCounter;}
+   // From the interface
+   virtual Bool_t  Init(Option_t *opt /*opt*/);
+   virtual Bool_t  Init(TTree *tree, Option_t* /*opt*/);
+   virtual Bool_t  BeginEvent(Long64_t entry /*entry*/);
+   virtual Bool_t  GetEntry();
+   virtual Bool_t  FinishEvent();
+   virtual Bool_t  Notify();
+   virtual Bool_t  Notify(const char *path);
+
+
+   void SetInputHandlerForMixing(const AliInputEventHandler *const inHandler);
+   void SetEventPool(AliMixEventPool *const evPool) {fEventPool = evPool;}
+
+   AliInputEventHandler *InputEventHandler(const Int_t index);
+   AliMixEventPool *GetEventPool() const { return fEventPool;}
+   Int_t           BufferSize() const {return fBufferSize;}
+   Int_t           MixedEventNumber() const {return fMixEventNumber;}
+   Long64_t        EntryAll() const { return fEntryCounter;}
 protected:
-  
-  Int_t             fBufferSize;          // Size of the buffer
-  TObjArray         fInputHandlers;       // buffer of input handlers
-  TObjArray         fMixTrees;            // buffer of input handlers
-  TArrayI           fTreeMap;             // tree map
-  AliMixInputHandlerInfo *fMixIntupHandlerInfoTmp;    //! mix input handler info full chain
-  Long64_t          fEntryCounter;        // entry counter
-  AliMixEventPool  *fEventPool;           // event pool
-  
-  Int_t             fMixEventNumber;      // number mix
-  
+
+   Int_t             fBufferSize;          // Size of the buffer
+   TObjArray         fInputHandlers;       // buffer of input handlers
+   TObjArray         fMixTrees;            // buffer of input handlers
+   TArrayI           fTreeMap;             // tree map
+   AliMixInputHandlerInfo *fMixIntupHandlerInfoTmp;    //! mix input handler info full chain
+   Long64_t          fEntryCounter;        // entry counter
+   AliMixEventPool  *fEventPool;           // event pool
+
+   Int_t             fMixEventNumber;      // number mix
+
 private:
 
-  AliMixEventInputHandler(const AliMixEventInputHandler& handler);             
-  AliMixEventInputHandler& operator=(const AliMixEventInputHandler& handler);  
+   AliMixEventInputHandler(const AliMixEventInputHandler &handler);
+   AliMixEventInputHandler &operator=(const AliMixEventInputHandler &handler);
 
-  ClassDef(AliMixEventInputHandler, 1)
+   ClassDef(AliMixEventInputHandler, 1)
 };
 
 #endif