GGS(GenericGEANT4Simulation)Software  2.6.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
GGSTLostEnergyReader.h
Go to the documentation of this file.
1 /*
2  * GGSTLostEnergyReader.h
3  *
4  * Created on: 25 Aug 2011
5  * Author: Nicola Mori
6  */
7 
10 #ifndef GGSTLOSTENERGYREADER_H_
11 #define GGSTLOSTENERGYREADER_H_
12 
13 // GGS headers
14 #include "montecarlo/readers/GGSTChainReader.h"
15 #include "montecarlo/dataobjs/GGSTLostEnergyInfo.h"
16 
17 // ROOT headers
18 class TBranch;
19 
26 
27 public:
28 
31 
34 
41  bool SetChain(TChain *lostEnergyChain);
42 
47  void GetEntry(Long64_t entry);
48 
54  return _lostEnergyInfo;
55  }
56 
57 private:
58 
59  GGSTLostEnergyInfo *_lostEnergyInfo;
60  TChain *_lostEnergyChain;
61 };
62 
63 #endif /* GGSTLOSTENERGYREADER_H_ */
A simple class to carry informations about lost energy.
Abstract class defining the interface for tree readers.
void GetEntry(Long64_t entry)
bool SetChain(TChain *lostEnergyChain)
Sets the chain.
const GGSTLostEnergyInfo * GetInfo()
Gets the lost energy data object.
Class for reading output of GGSLostEnergyAction.
GGSTLostEnergyReader()
Constructor.
~GGSTLostEnergyReader()
Destructor.