GGS(GenericGEANT4Simulation)Software  2.7.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
Public Member Functions
GGSFileManager Class Reference
Inheritance diagram for GGSFileManager:
Inheritance graph
[legend]
Collaboration diagram for GGSFileManager:
Collaboration graph
[legend]

Public Member Functions

UInt_t GetNevent ()
 
std::vector< TString > GetDetList ()
 
void ReadEvent (int iev=-1, bool force=false)
 
void PrevEvent ()
 
void NextEvent ()
 
void Load (TString fileName)
 
bool FileIsLoaded ()
 
GGSTHitsReaderGetHitsReader ()
 
GGSTMCTruthReaderGetMCTruthReader ()
 
InteractionTree< GGSTPartHit * > * GetInteractionTree ()
 
- Public Member Functions inherited from GGSTRootReader
 GGSTRootReader ()
 Constructor.
 
 ~GGSTRootReader ()
 Destructor.
 
GGSTFilesHandlerOpen (const std::string &fileName, GGSTFilesHandler *filesHandler=nullptr, bool force=false)
 Open ROOT files. More...
 
GGSTFilesHandlerOpen (const char *fileName, GGSTFilesHandler *filesHandler=nullptr, bool force=false)
 Open ROOT files. More...
 
bool OpenFile (const char *fileName)
 Opens a ROOT file. More...
 
template<class T >
T * GetReader (GGSTFilesHandler *filesHandler=nullptr, const TString &treeName="")
 Get a chain reader. More...
 
void GetEntry (Long64_t entry)
 Reads an event. More...
 
Long64_t GetEntries ()
 The total number of events. More...
 
Long64_t GetReadEntry ()
 Returns the current entry (event). More...
 
const GGSTSimInfoGetSimInfo (const GGSTFilesHandler *filesHandler=nullptr)
 Returns the simulation informations. More...
 
const GGSTGeoParamsGetGeoParams (const GGSTFilesHandler *filesHandler=nullptr)
 Returns the geometry parameters. More...
 
const GGSTParametersGetGenParams (const GGSTFilesHandler *filesHandler=nullptr)
 Returns the generator parameters. More...
 
const TGeoManager * GetROOTGeometry (const GGSTFilesHandler *filesHandler=nullptr)
 Returns the simulation geometry in TGeo format. More...
 

Detailed Description

Definition at line 24 of file GGSFileManager.h.


The documentation for this class was generated from the following files: