GGS(GenericGEANT4Simulation)Software  2.6.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:
26 
28  virtual ~GGSTChainReader() {
29  }
30 
41  virtual bool SetChain(TChain *chain) = 0;
42 
50  virtual void GetEntry(Long64_t entry) = 0;
51 
52 };
53 
54 #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.