GGS(GenericGEANT4Simulation)Software  2.7.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/dataobjs/GGSTLostEnergyInfo.h"
15 #include "montecarlo/readers/GGSTChainReader.h"
16 
17 // ROOT headers
18 class TBranch;
19 
26 
27 public:
30 
33 
40  bool SetChain(TChain *lostEnergyChain);
41 
46  void GetEntry(Long64_t entry);
47 
52  const GGSTLostEnergyInfo *GetInfo() { return _lostEnergyInfo; }
53 
54 private:
55  GGSTLostEnergyInfo *_lostEnergyInfo;
56  TChain *_lostEnergyChain;
57 };
58 
59 #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.