Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -24,100 +24,24 @@
// ********************************************************************
//
// $Id: FCALAnalysisManager.hh
// GEANT4 tag $Name: xray_fluo-V04-01-03
// GEANT4 tag
//
// Author: Patricia Mendez (patricia.mendez@cern.ch)
//
// History:
// -----------
// 12 Feb 2003 Patricia Mendez created based on XrayFluoAnalysisManager.
// 12 Feb 2003 Patricia Mendez created
// 11 Mar 2013 Luciano Pandola Migrated to g4tools (removed AIDA dependency)
//
// -------------------------------------------------------------------
#ifndef G4PROCESSTESTANALYSIS_HH
#define G4PROCESSTESTANALYSIS_HH
#ifndef FCALANALYSISMANAGER_HH
#define FCALANALYSISMANAGER_HH
// comment g4root.hh and uncomment g4xml.hh for a XML-based output file
#include "globals.hh"
#include <vector>
#include "G4ThreeVector.hh"
#ifdef G4ANALYSIS_USE
#include "AIDA/AIDA.h"
#endif
#include "FCALAnalysisMessenger.hh"
class G4Step;
#ifdef G4ANALYSIS_USE
namespace AIDA {
class IAnalysisFactory;
class IHistogramFactory;
class ITree;
class ITupleFactory;
class ITuple;
}
#endif
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class FCALAnalysisManager
{
public:
virtual ~FCALAnalysisManager();
#ifdef G4ANALYSIS_USE
void book();
void finish();
//fill histograms with data from FCALTBEventAction
void analyseEnergyDep(G4double eDep);
//method to call to create an instance of this class
static FCALAnalysisManager* getInstance();
//method intended to chenge the name of the hbook output file
void SetOutputFileName(G4String);
#endif
public:
//private constructor in order to create a singleton
FCALAnalysisManager();
G4String outputFileName;
// G4double OutOfWorld, Secondary, EmEdep, HadEdep;
static FCALAnalysisManager* instance;
#ifdef G4ANALYSIS_USE
//pointer to the analysis messenger
FCALAnalysisMessenger* analisysMessenger;
AIDA::IAnalysisFactory* analysisFactory;
AIDA::ITree* tree;
AIDA::IHistogramFactory *histogramFactory;
AIDA:: ITupleFactory* tupleFactory;
AIDA::ITuple* ntuple_1;
AIDA::ITuple* ntuple_2;
AIDA::ITuple* ntuple_3;
AIDA::IHistogram1D* getfhisto_1() {return histo_1;}
AIDA::IHistogram1D* getfhisto_2() {return histo_2;}
AIDA::IHistogram1D* getfhisto_3() {return histo_3;}
AIDA::IHistogram1D* getfhisto_4() {return histo_4;}
AIDA::IHistogram1D* histo_1;
AIDA::IHistogram1D* histo_2;
AIDA::IHistogram1D* histo_3;
AIDA::IHistogram1D* histo_4;
#endif
};
#include "g4root.hh"
//#include "g4xml.hh"
#endif