Import Geant4 3.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:55:53 +02:00
parent e7d7193284
commit cfcb558cfe
3050 changed files with 91703 additions and 48310 deletions
@@ -0,0 +1,53 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4AnalysisManager.hh,v 1.8 2000/11/16 13:44:45 barrand Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// Guy Barrand 20th Mai 2000
//
// Class description
//
// Base class for the analysis manager proxy mechanism.
//
#ifndef G4ANALYSIS_HH
#define G4ANALYSIS_HH
#if defined(G4ANALYSIS_BUILD) || defined(G4ANALYSIS_USE)
#include "globals.hh"
#include "g4std/vector"
#include "G4VAnalysisManager.hh"
class G4AnalysisManager : public G4VAnalysisManager {
public: // I methods :
G4bool RegisterAnalysisSystem(G4VAnalysisSystem*);
IHistogramFactory* GetHistogramFactory(const G4String&);
//
virtual void Store(IHistogram* = 0,const G4String& = "");
virtual void Plot(IHistogram*);
public:
G4AnalysisManager();
virtual ~G4AnalysisManager();
private:
G4VAnalysisSystem* FindSystem(const G4String&);
G4std::vector<G4VAnalysisSystem*> fSystems;
G4VAnalysisSystem* fCurrentSystem;
//
#ifdef G4ANALYSIS_NON_AIDA
public:
ICloudFactory* GetCloudFactory(const G4String&);
virtual void Plot(ICloud*);
ITuple* CreateTuple(const G4String&,const G4String&,const G4String&);
#endif
};
#endif
#endif
@@ -0,0 +1,57 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VAnalysisManager.hh,v 1.5 2000/11/16 13:44:46 barrand Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
// Guy Barrand 20th Mai 2000
//
// Class description
//
// Abstract base class for the analysis manager proxy mechanism.
//
#ifndef G4VANALYSIS_HH
#define G4VANALYSIS_HH
#if defined(G4ANALYSIS_BUILD) || defined(G4ANALYSIS_USE)
#include "globals.hh"
class IHistogram;
class IHistogramFactory;
#ifdef G4ANALYSIS_NON_AIDA
class ICloudFactory;
class ICloud;
class ITuple;
#endif
class G4VAnalysisSystem;
class G4VAnalysisManager {
public:
virtual ~G4VAnalysisManager() {}
virtual G4bool RegisterAnalysisSystem(G4VAnalysisSystem*) = 0;
//
// Get the factories :
virtual IHistogramFactory* GetHistogramFactory(const G4String&) = 0;
//
// Access to facilites methods :
virtual void Store(IHistogram* = 0,const G4String& = "") = 0;
virtual void Plot(IHistogram*) = 0;
//
#ifdef G4ANALYSIS_NON_AIDA
virtual ICloudFactory* GetCloudFactory(const G4String&) = 0;
virtual ITuple* CreateTuple(const G4String&,const G4String&,const G4String&) = 0;
virtual void Plot(ICloud*) = 0;
#endif
};
#endif
#endif
@@ -0,0 +1,47 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VAnalysisSystem.hh,v 1.8 2000/11/16 13:44:46 barrand Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
//
#ifndef G4VANALYSISSYSTEM_HH
#define G4VANALYSISSYSTEM_HH
#ifdef G4ANALYSIS_BUILD
#include "g4rw/cstring.h"
class IHistogram;
class IHistogramFactory;
#ifdef G4ANALYSIS_NON_AIDA
class ICloudFactory;
class ICloud;
class ITuple;
#endif
class G4VAnalysisSystem {
public:
virtual ~G4VAnalysisSystem() {}
virtual const G4String& GetName() const = 0;
virtual IHistogramFactory* GetHistogramFactory() = 0;
//
virtual void Store(IHistogram* = 0,const G4String& = "") = 0;
virtual void Plot(IHistogram*) = 0;
//
#ifdef G4ANALYSIS_NON_AIDA
virtual ICloudFactory* GetCloudFactory() = 0;
virtual void Plot(ICloud*) = 0;
virtual ITuple* CreateTuple(const G4String&,const G4String&) = 0;
#endif
};
#endif
#endif