]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliAODHandler.h
07-jun-2007 NvE Maximum OM id changed from 681 to 680 in IceRawTWR.cxx to ignore...
[u/mrichter/AliRoot.git] / STEER / AliAODHandler.h
CommitLineData
ec4af4c1 1#ifndef ALIAODHANDLER_H
2#define ALIAODHANDLER_H
3/* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8//-------------------------------------------------------------------------
9// Implementation of the Event Handler Interface for AOD
10// Author: Andreas Morsch, CERN
11//-------------------------------------------------------------------------
12
13#include "AliVirtualEventHandler.h"
14
15class AliAODEvent;
16class TFile;
17class TTree;
18
19
20
21class AliAODHandler : public AliVirtualEventHandler {
22
23 public:
24 AliAODHandler();
25 AliAODHandler(const char* name, const char* title);
26 virtual ~AliAODHandler();
27 virtual Bool_t InitIO();
28 virtual Bool_t Fill();
29 virtual Bool_t Terminate();
30 virtual Bool_t TerminateIO();
31 virtual Bool_t Notify() {return kTRUE;}
32 //
33 AliAODEvent* GetAOD() {return fAODEvent;}
34 TTree* GetTree() {return fTreeA;}
35 void CreateTree();
36 void FillTree();
37 void AddAODtoTreeUserInfo();
38 private:
39 AliAODHandler(const AliAODHandler&); // Not implemented
40 AliAODHandler& operator=(const AliAODHandler&); // Not implemented
41 private:
42 AliAODEvent *fAODEvent; //! Pointer to the AOD event
ec4af4c1 43 TTree *fTreeA; //! tree for AOD persistency
44
45
46 ClassDef(AliAODHandler, 1);
47};
48
49#endif