Import Geant4 6.2.0 source tree
This commit is contained in:
@@ -22,45 +22,34 @@
|
||||
//
|
||||
//
|
||||
// $Id: XrayFluoAnalysisManager.hh
|
||||
// GEANT4 tag $Name: xray_fluo-V04-01-03
|
||||
// GEANT4 tag $Name: xray_fluo-V03-02-00
|
||||
//
|
||||
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
|
||||
//
|
||||
// History:
|
||||
// -----------
|
||||
// 11 Jul 2003 A.Mantero, code cleaning / Plotter-XML addiction
|
||||
// Sep 2002 A.Mantero, AIDA3.0 Migration
|
||||
// 06 Dec 2001 A.Pfeiffer updated for singleton
|
||||
// 30 Nov 2001 Guy Barrand : migrate to AIDA-2.2.
|
||||
// 28 Nov 2001 Elena Guardincerri Created
|
||||
// 29 Nov 2002 mgration to AIDA 3.0 (Alfonso.mantero@ge.infn.it)
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
#ifndef G4PROCESSTESTANALYSIS_HH
|
||||
#define G4PROCESSTESTANALYSIS_HH
|
||||
|
||||
//#ifndef XrayFluoAnalysisManager_h
|
||||
//#define XrayFluoAnalysisManager_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include <vector>
|
||||
#include "G4ThreeVector.hh"
|
||||
#include "XrayFluoDataSet.hh"
|
||||
#include "AIDA/IHistogram1D.h"
|
||||
#include "AIDA/IHistogram2D.h"
|
||||
#include "AIDA/AIDA.h" // Headers for AIDA interfaces
|
||||
#include "XrayFluoAnalysisMessenger.hh"
|
||||
|
||||
class G4Step;
|
||||
//class XrayFluoEventAction;
|
||||
|
||||
namespace AIDA {
|
||||
class IAnalysisFactory;
|
||||
class IHistogramFactory;
|
||||
class ITree;
|
||||
class ITupleFactory;
|
||||
class ITuple;
|
||||
};
|
||||
class XrayFluoAnalysisMessenger;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
class XrayFluoAnalysisManager
|
||||
{
|
||||
public:
|
||||
@@ -83,18 +72,40 @@ public:
|
||||
//method to call to create an instance of this class
|
||||
static XrayFluoAnalysisManager* getInstance();
|
||||
|
||||
//method intended to chenge the name of the hbook output file
|
||||
//method to create hbook or xml file for persistency
|
||||
|
||||
void CreatePersistency(G4String fileName,G4String persistencyType,
|
||||
G4bool readOnly = false, G4bool createNew = true);
|
||||
|
||||
inline void CreatePersistency() {CreatePersistency(outputFileName,persistencyType);}
|
||||
|
||||
//method to chenge the name of the output file
|
||||
void SetOutputFileName(G4String);
|
||||
|
||||
//method to chenge the type of the output file
|
||||
void SetOutputFileType(G4String);
|
||||
|
||||
// method used by the messenger
|
||||
G4bool GetDeletePersistencyFileFlag();
|
||||
|
||||
// methods used by RunManager and EvenManager to visualize partial results
|
||||
// void InitializePlotter();
|
||||
|
||||
// void PlotCurrentResults();
|
||||
|
||||
private:
|
||||
//private constructor in order to create a singleton
|
||||
|
||||
|
||||
XrayFluoAnalysisManager();
|
||||
|
||||
|
||||
G4String outputFileName;
|
||||
|
||||
// G4bool visPlotter;
|
||||
|
||||
G4String persistencyType;
|
||||
|
||||
G4bool deletePersistencyFile;
|
||||
|
||||
//Instance for singleton implementation this is the returned
|
||||
static XrayFluoAnalysisManager* instance;
|
||||
|
||||
//pointer to the analysis messenger
|
||||
@@ -102,13 +113,13 @@ private:
|
||||
|
||||
//XrayFluoEventAction* pEvent;
|
||||
|
||||
// analysis data members
|
||||
|
||||
AIDA::IAnalysisFactory* analysisFactory;
|
||||
AIDA::ITree* tree;
|
||||
|
||||
AIDA::IHistogramFactory *histogramFactory;
|
||||
// ITupleFactory* tupleFactory;
|
||||
|
||||
// ITuple* tuple;
|
||||
AIDA::IHistogramFactory* histogramFactory;
|
||||
// AIDA::IPlotterFactory* plotterFactory;
|
||||
// AIDA::IPlotter* plotter;
|
||||
|
||||
AIDA::IHistogram1D* histo_1;
|
||||
AIDA::IHistogram1D* histo_2;
|
||||
@@ -119,9 +130,9 @@ private:
|
||||
AIDA::IHistogram1D* histo_7;
|
||||
AIDA::IHistogram1D* histo_8;
|
||||
AIDA::IHistogram1D* histo_9;
|
||||
AIDA::IHistogram1D* histo_10;
|
||||
AIDA::IHistogram1D* histo_12;
|
||||
AIDA::IHistogram1D* histo_11;
|
||||
//AIDA::IHistogram1D* histo_10; //
|
||||
//AIDA::IHistogram1D* histo_12; // Created for debuggig purpose
|
||||
//AIDA::IHistogram1D* histo_11; //
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user