// // Author: Oliver Maria Kind <mailto: kind@mail.desy.de> // Update: $Id: AtlEvtReaderD3PDBase.h,v 1.1 2012/02/05 16:20:35 kind Exp $ // Copyright: 2012 (C) Oliver Maria Kind // #ifndef ATLAS_AtlEvtReaderD3PDBase #define ATLAS_AtlEvtReaderD3PDBase #ifndef ATLAS_AtlEvtReaderBase #include <AtlEvtReaderBase.h> #endif class AtlEvtReaderD3PDBase : public AtlEvtReaderBase { protected: Int_t fRunLast; // Run number of the previous run (needed for writing the trigger config dbase in case of D3PD input) Bool_t fIsMC; // Looks whether input file is MC or not public: AtlEvtReaderD3PDBase(AtlSelector *parent); virtual ~AtlEvtReaderD3PDBase(); Int_t GetEntry(TTree *t, Long64_t entry); inline Int_t GetRunLast() { return fRunLast; } protected: void InitBranches(TTree *t); void SetupBranch(TTree *t, const char* branchname, void* value, TBranch** branch); virtual void InitObjPointers() {;} ClassDef(AtlEvtReaderD3PDBase,0) // D3PD event reader base class }; #endif