]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/AliReaderAOD.h
AliAODAndPairCut::Rejected made faster
[u/mrichter/AliRoot.git] / ANALYSIS / AliReaderAOD.h
CommitLineData
dd2b6810 1#ifndef ALIREADERAOD_H
2#define ALIREADERAOD_H
3
4#include "AliReader.h"
5
6class AliReaderAOD: public AliReader
7{
8 public:
9 AliReaderAOD(const Char_t* aodfilename = "AliAOD.root"){}
10 virtual ~AliReaderAOD(){}
11
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;}
15
16
beb1c41d 17 static Int_t WriteAOD(AliReader* reader, const char* outfilename = "AliAOD.root", //reads tracks from runs and writes them to file
18 const char* pclassname = "AliAODParticle", Bool_t multcheck = kFALSE);
dd2b6810 19
20 protected:
21 private:
22 TString fFileName;//File name
23
24 Bool_t fReadSim;//indicates if to read simulated data
25 ClassDef(AliReaderAOD,1)
26};
27
28#endif