6 class AliReaderAOD: public AliReader
9 AliReaderAOD(const Char_t* aodfilename = "AliAOD.root"){}
10 virtual ~AliReaderAOD(){}
12 void ReadSimulatedData(Bool_t flag){fReadSim = flag;}//switches reading MC data
13 Bool_t ReadsRec() const {return kTRUE;}
14 Bool_t ReadsSim() const {return fReadSim;}
17 static Int_t WriteAOD(AliReader* reader, const char* outfilename = "AliAOD.root", Bool_t multcheck = kFALSE);//reads tracks from runs and writes them to file
21 TString fFileName;//File name
23 Bool_t fReadSim;//indicates if to read simulated data
24 ClassDef(AliReaderAOD,1)