GGS(GenericGEANT4Simulation)Software  2.7.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
GGSTChainReader.h
1 /*
2  * GGSTChainReader.h
3  *
4  * Created on: 22 Aug 2011
5  * Author: Nicola Mori
6  */
7 
8 #ifndef GGSTCHAINREADER_H_
9 #define GGSTCHAINREADER_H_
10 
11 // ROOT headers
12 #include "TChain.h"
13 
24 
25 public:
27  virtual ~GGSTChainReader() {}
28 
39  virtual bool SetChain(TChain *chain) = 0;
40 
48  virtual void GetEntry(Long64_t entry) = 0;
49 };
50 
51 #endif /* GGSTCHAINREADER_H_ */
virtual bool SetChain(TChain *chain)=0
Sets the chain.
Abstract class defining the interface for tree readers.
virtual void GetEntry(Long64_t entry)=0
virtual ~GGSTChainReader()
Destructor.