Import Geant4 4.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:18:25 +02:00
parent 36c080dca6
commit 921d3b1cda
3990 changed files with 185376 additions and 82884 deletions
@@ -0,0 +1,101 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoAnalysisManager.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 30 Nov 2001 Guy Barrand : migrate to AIDA-2.2.
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
#ifndef XrayFluoAnalysisManager_h
#define XrayFluoAnalysisManager_h 1
#include "globals.hh"
class G4Step;
class XrayFluoAnalysisMessenger;
class IAnalysisFactory;
class ITree;
class IHistogram1D;
class ITuple;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class XrayFluoAnalysisManager
{
public:
virtual ~XrayFluoAnalysisManager();
void book();
void finish();
//fill histograms with data from XrayFluoSteppingAction
void analyseStepping(const G4Step* aStep);
//fill histograms with data from XrayFluoEventAction
void analyseEnergyDep(G4double eDep);
//fill histograms with data from XrayFluoPrimarygeneratoraction
void analysePrimaryGenerator(G4double energy);
//method to call to create an instance of this class
static XrayFluoAnalysisManager* getInstance();
private:
//private constructor in order to create a singleton
XrayFluoAnalysisManager();
static XrayFluoAnalysisManager* instance;
//pointer to the analysis messenger
XrayFluoAnalysisMessenger* analysisMessenger;
IAnalysisFactory* analysisFactory;
ITree* tree;
IHistogram1D* histo_1;
IHistogram1D* histo_2;
IHistogram1D* histo_3;
IHistogram1D* histo_4;
IHistogram1D* histo_5;
IHistogram1D* histo_6;
IHistogram1D* histo_7;
IHistogram1D* histo_8;
IHistogram1D* histo_9;
ITuple* tuple;
};
#endif
@@ -0,0 +1,108 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoAnalysisManager.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
#ifdef G4ANALYSIS_USE
#ifndef XrayFluoAnalysisManager_h
#define XrayFluoAnalysisManager_h 1
#include "globals.hh"
// Histogramming from AIDA
#include "Interfaces/IHistogram1D.h"
#include "Interfaces/IHistogram2D.h"
// Histogramming from Anaphe
#include "Interfaces/IHistoManager.h"
// Ntuples from Anaphe
#include "NtupleTag/LizardNTupleFactory.h"
#include "NtupleTag/LizardQuantity.h"
class G4Step;
class XrayFluoAnalysisMessenger;
class NTuple;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class XrayFluoAnalysisManager
{
public:
virtual ~XrayFluoAnalysisManager();
void book();
void finish();
//fill histograms with data from XrayFluoSteppingAction
void analyseStepping(const G4Step* aStep);
//fill histograms with data from XrayFluoEventAction
void analyseEnergyDep(G4double eDep);
//fill histograms with data from XrayFluoPrimarygeneratoraction
void analysePrimaryGenerator(G4double energy);
//method to call to create an instance of this class
static XrayFluoAnalysisManager* getInstance();
private:
//private constructor in order to create a singleton
XrayFluoAnalysisManager();
static XrayFluoAnalysisManager* instance;
IHistoManager* histoManager;
//nTuple factory
Lizard::NTupleFactory* factory;
Lizard::NTuple* ntuple;
//pointer to the analysis messenger
XrayFluoAnalysisMessenger* analysisMessenger;
// Quantities for the ntuple
Lizard::Quantity<float> eDep;
Lizard::Quantity<float> counts;
};
#endif
#endif
@@ -0,0 +1,70 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoAnalysisMessenger.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#ifdef G4ANALYSIS_USE
#ifndef XrayFluoAnalysisMessenger_h
#define XrayFluoAnalysisMessenger_h 1
#include "globals.hh"
#include "G4UImessenger.hh"
class XrayFluoAnalysisManager;
class G4UIdirectory;
class G4UIcmdWithAString;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class XrayFluoAnalysisMessenger: public G4UImessenger
{
public:
XrayFluoAnalysisMessenger(XrayFluoAnalysisManager* );
~XrayFluoAnalysisMessenger();
void SetNewValue(G4UIcommand*, G4String);
private:
//pointer to XrayFluoAnalysisManager
XrayFluoAnalysisManager* XrayFluoAnalysis;
G4UIdirectory* XrayFluoAnalysisDir;
};
#endif
#endif
@@ -0,0 +1,90 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoDataSet.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
//for the documentation of this class see also G4EMDataSet class
#ifndef FluoDataSet_hh
#define FluoDataSet_hh 1
#include "globals.hh"
#include "G4DataVector.hh"
#include "G4VEMDataSet.hh"
class G4VDataSetAlgorithm;
class XrayFluoDataSet : public G4VEMDataSet {
public:
XrayFluoDataSet(G4int Z,
G4DataVector* points,
G4DataVector* values,
const G4VDataSetAlgorithm* interpolation,
G4double unitE = MeV, G4double unitData = barn);
XrayFluoDataSet(G4int Z,
const G4String& dataFile,
const G4VDataSetAlgorithm* interpolation,
G4double unitE = MeV, G4double unitData = barn);
~XrayFluoDataSet();
//find the value corresponding to the energy e in the set
//identified by id
G4double FindValue(G4double e, G4int id = 0) const;
void PrintData() const;
const G4DataVector& GetEnergies(G4int i) const { return *energies; }
const G4DataVector& GetData(G4int i) const { return *data; }
private:
void LoadData(const G4String& dataFile);
G4int z;
G4int FindBinLocation(G4double energy) const;
G4DataVector* energies; // Owned pointer
G4DataVector* data; // Owned pointer
const G4VDataSetAlgorithm* algorithm; // Not owned pointer
G4double unit1;
G4double unit2;
size_t numberOfBins;
};
#endif
@@ -0,0 +1,247 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoDetectorConstruction.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
#ifndef XrayFluoDetectorConstruction_h
#define XrayFluoDetectorConstruction_h 1
#include "G4VUserDetectorConstruction.hh"
#include "globals.hh"
#include "G4RotationMatrix.hh"
class G4Box;
class G4Tubs;
class G4LogicalVolume;
class G4VPhysicalVolume;
class G4Material;
class XrayFluoDetectorMessenger;
class XrayFluoHPGeSD;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class XrayFluoDetectorConstruction : public G4VUserDetectorConstruction
{
public:
XrayFluoDetectorConstruction();
~XrayFluoDetectorConstruction();
public:
G4VPhysicalVolume* Construct();
void UpdateGeometry();
public:
void PrintApparateParameters();
G4double GetWorldSizeZ() {return WorldSizeZ;};
G4double GetWorldSizeXY() {return WorldSizeXY;};
G4double GetDeviceThickness() {return DeviceThickness;};
G4double GetDeviceSizeX() {return DeviceSizeX;};
G4double GetDeviceSizeY() {return DeviceSizeY;};
G4double GetPixelSizeXY() {return PixelSizeXY;};
G4double GetContactSizeXY() {return ContactSizeXY;};
G4int GetNbOfPixels() {return NbOfPixels;};
G4int GetNbOfPixelRows() {return NbOfPixelRows;};
G4int GetNbOfPixelColumns() {return NbOfPixelColumns;};
G4Material* GetOhmicPosMaterial() {return OhmicPosMaterial;};
G4double GetOhmicPosThickness() {return OhmicPosThickness;};
G4Material* GetOhmicNegMaterial() {return OhmicNegMaterial;};
G4double GetOhmicNegThickness() {return OhmicNegThickness;};
const G4VPhysicalVolume* GetphysiWorld() {return physiWorld;};
const G4VPhysicalVolume* GetHPGe() {return physiHPGe;};
const G4VPhysicalVolume* GetSample() {return physiSample;};
const G4VPhysicalVolume* GetDia1() {return physiDia1;};
const G4VPhysicalVolume* GetDia3() {return physiDia3;};
const G4VPhysicalVolume* GetphysiPixel() {return physiPixel;};
const G4VPhysicalVolume* GetOhmicPos() {return physiOhmicPos;};
const G4VPhysicalVolume* GetOhmicNeg() {return physiOhmicNeg;};
private:
G4double DeviceSizeX;
G4double DeviceSizeY;
G4double DeviceThickness;
G4Box* solidWorld; //pointer to the solid World
G4LogicalVolume* logicWorld; //pointer to the logical World
G4VPhysicalVolume* physiWorld; //pointer to the physical World
G4Box* solidHPGe; //pointer to the solid Sensor
G4LogicalVolume* logicHPGe; //pointer to the logical Sensor
G4VPhysicalVolume* physiHPGe; //pointer to the physical Sensor
G4Box* solidSample; //pointer to the solid Sample
G4LogicalVolume* logicSample; //pointer to the logical Sample
G4VPhysicalVolume* physiSample; //pointer to the physical Sample
G4Tubs* solidDia1; //pointer to the solid Diaphragm
G4LogicalVolume* logicDia1; //pointer to the logical Diaphragm
G4VPhysicalVolume* physiDia1; //pointer to the physical Diaphragm
G4Tubs* solidDia3; //pointer to the solid Diaphragm
G4LogicalVolume* logicDia3; //pointer to the logical Diaphragm
G4VPhysicalVolume* physiDia3; //pointer to the physical Diaphragm
G4Box* solidOhmicPos;
G4LogicalVolume* logicOhmicPos;
G4VPhysicalVolume* physiOhmicPos;
G4Box* solidOhmicNeg;
G4LogicalVolume* logicOhmicNeg;
G4VPhysicalVolume* physiOhmicNeg;
G4Box* solidPixel;
G4LogicalVolume* logicPixel;
G4VPhysicalVolume* physiPixel;
//pointers to the materials used
G4Material* OhmicPosMaterial;
G4Material* OhmicNegMaterial;
G4Material* pixelMaterial;
G4Material* sampleMaterial;
G4Material* Dia1Material;
G4Material* Dia3Material;
G4Material* defaultMaterial;
G4double OhmicPosThickness;
G4double OhmicNegThickness;
G4int PixelCopyNb;
G4int NbOfPixels;
G4int NbOfPixelRows;
G4int NbOfPixelColumns;
G4double PixelThickness;
G4double PixelSizeXY;
G4double ContactSizeXY;
public:
G4Material* GetSampleMaterial() {return sampleMaterial;};
G4Material* GetPixelMaterial() {return pixelMaterial;};
G4Material* GetDia1Material() {return Dia1Material;};
G4Material* GetDia3Material() {return Dia3Material;};
private:
G4double SampleThickness;
G4double SampleSizeXY;
G4double SiSizeXY;
G4double Dia1Thickness;
G4double Dia1SizeXY;
G4double Dia3Thickness;
G4double Dia3SizeXY;
G4double DiaInnerSize;
G4double Dia3InnerSize;
G4double DistSi;
public:
G4double GetSampleThickness() {return SampleThickness;};
G4double GetSampleSizeXY() {return SampleSizeXY;};
G4double GetDia1Thickness() {return Dia1Thickness;};
G4double GetDia1SizeXY() {return Dia1SizeXY;};
G4double GetDia3Thickness() {return Dia3Thickness;};
G4double GetDia3SizeXY() {return Dia3SizeXY;};
private:
G4double ThetaHPGe;
G4double ThetaDia1;
G4double ThetaDia3;
G4double DistDe;
G4double DistDia;
G4double Dia3Dist;
G4double PhiHPGe;
G4double PhiDia1;
G4double PhiDia3;
G4double AlphaDia1;
G4double AlphaDia3;
G4RotationMatrix zRotPhiHPGe;
G4RotationMatrix zRotPhiDia1;
G4RotationMatrix zRotPhiDia3;
G4double WorldSizeXY;
G4double WorldSizeZ;
XrayFluoDetectorMessenger* detectorMessenger; //pointer to the Messenger
XrayFluoHPGeSD* HPGeSD; //pointer to the sensitive detector
private:
void DefineMaterials();
G4VPhysicalVolume* ConstructApparate();
//calculates some quantities used to construct geometry
void ComputeApparateParameters();
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
inline void XrayFluoDetectorConstruction::ComputeApparateParameters()
{
// Compute derived parameters of the apparate
DeviceThickness = PixelThickness+OhmicNegThickness+OhmicPosThickness;
DeviceSizeY =NbOfPixelRows*max(ContactSizeXY,PixelSizeXY);
DeviceSizeX =NbOfPixelColumns*max(ContactSizeXY,PixelSizeXY);
WorldSizeZ = (2 * (DistDe +1.4142 *(max(max(DeviceThickness,DeviceSizeY), DeviceSizeX))))+5*m;
WorldSizeXY = 2 * (DistDe +1.4142 *Dia1SizeXY)+5*m;
}
#endif
@@ -0,0 +1,69 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoDetectorMessenger.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
#ifndef XrayFluoDetectorMessenger_h
#define XrayFluoDetectorMessenger_h 1
#include "globals.hh"
#include "G4UImessenger.hh"
class XrayFluoDetectorConstruction;
class G4UIdirectory;
class G4UIcmdWithAString;
class G4UIcmdWithADoubleAndUnit;
class G4UIcmdWithoutParameter;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class XrayFluoDetectorMessenger: public G4UImessenger
{
public:
XrayFluoDetectorMessenger(XrayFluoDetectorConstruction* );
~XrayFluoDetectorMessenger();
void SetNewValue(G4UIcommand*, G4String);
private:
XrayFluoDetectorConstruction* Detector;
G4UIdirectory* detDir;
G4UIcmdWithoutParameter* UpdateCmd;
};
#endif
@@ -0,0 +1,88 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoEventAction.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
#ifndef XrayFluoEventAction_h
#define XrayFluoEventAction_h 1
#include "G4UserEventAction.hh"
#include "globals.hh"
class XrayFluoRunAction;
class XrayFluoEventActionMessenger;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class XrayFluoEventAction : public G4UserEventAction
{
public:
XrayFluoEventAction();
virtual ~XrayFluoEventAction();
public:
virtual void BeginOfEventAction(const G4Event*);
virtual void EndOfEventAction(const G4Event*);
//method used to set the flags for drawing the tracks
void SetDrawFlag (G4String val) {drawFlag = val;};
void SetPrintModulo(G4int val) {printModulo = val;};
private:
G4String drawFlag;
G4int HPGeCollID;
//pointer to XrayFluoEventActionMessenger
XrayFluoEventActionMessenger* eventMessenger;
G4int printModulo;
//this method generates a gaussian distribution
//the argument is the mean
//the sigma is to be set in the file XrayFluoEventAction.cc
G4double RandomCut(G4double);
//this method distributes the energy deposit (which must be given as
//argument) according to the response function stored in the file
//response.dat
G4double ResponseFunction(G4double);
XrayFluoRunAction* runManager;
};
#endif
@@ -0,0 +1,61 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoEventActionMessenger.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
#ifndef XrayFluoEventActionMessenger_h
#define XrayFluoEventActionMessenger_h 1
#include "globals.hh"
#include "G4UImessenger.hh"
class XrayFluoEventAction;
class G4UIcmdWithAString;
class G4UIcmdWithAnInteger;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class XrayFluoEventActionMessenger: public G4UImessenger
{
public:
XrayFluoEventActionMessenger(XrayFluoEventAction*);
~XrayFluoEventActionMessenger();
void SetNewValue(G4UIcommand*, G4String);
private:
XrayFluoEventAction* eventAction;
G4UIcmdWithAString* DrawCmd;
G4UIcmdWithAnInteger* PrintCmd;
};
#endif
@@ -0,0 +1,77 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoHPGeSD.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
#ifndef XrayFluoHpGe_h
#define XrayFluoHPGeSD_h 1
#include "G4VSensitiveDetector.hh"
#include "globals.hh"
#include "XrayFluoSensorHit.hh"
class XrayFluoDetectorConstruction;
class G4HCofThisEvent;
class G4Step;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class XrayFluoHPGeSD : public G4VSensitiveDetector
{
public:
XrayFluoHPGeSD(G4String, XrayFluoDetectorConstruction* );
~XrayFluoHPGeSD();
void Initialize(G4HCofThisEvent*);
void EndOfEvent(G4HCofThisEvent*);
void clear();
void DrawAll();
void PrintAll();
protected:
G4bool ProcessHits(G4Step*,G4TouchableHistory*);
private:
//hit collection for the detector
XrayFluoSensorHitsCollection* HPGeCollection;
XrayFluoDetectorConstruction* Detector;
G4int* HitHPGeID;
};
#endif
@@ -0,0 +1,64 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoNormalization.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
#ifndef XrayFluoNormalization_h
#define XrayFluoNormalization_h 1
#include "globals.hh"
class XrayFluoDataSet;
class XrayFluoNormalization
{
public:
//constructor
XrayFluoNormalization();
//destructor
~XrayFluoNormalization();
//this method returns a data set equivalent to the one in the file whose
//name must be passed as the last argument normalized to the value returned
//by Integrate
//the first and second arguments identifies the energy value in which
//Integrate() integrates, the third is the number of buns used in the
//integration
const XrayFluoDataSet* Normalize(G4double, G4double, G4int,G4String);
private:
//this method integrates the function achieved interpolating
//berween the points of the data file and returns the value of the integral
G4double Integrate(G4double, G4double, G4int, XrayFluoDataSet*);
};
#endif
@@ -0,0 +1,107 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoPhysicsList.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
#ifndef XrayFluoPhysicsList_h
#define XrayFluoPhysicsList_h 1
#include "G4VUserPhysicsList.hh"
#include "globals.hh"
class XrayFluoPhysicsListMessenger;
class G4LowEnergyIonisation;
class G4LowEnergyPhotoElectric;
class G4LowEnergyBremsstrahlung;
class XrayFluoDetectorConstruction;
class XrayFluoPhysicsList: public G4VUserPhysicsList
{
public:
XrayFluoPhysicsList(XrayFluoDetectorConstruction*);
virtual ~XrayFluoPhysicsList();
protected:
// Construct particle and physics
virtual void ConstructParticle();
virtual void ConstructProcess();
protected:
// these methods Construct particles
virtual void ConstructBosons();
virtual void ConstructLeptons();
virtual void ConstructBarions();
virtual void ConstructIons();
protected:
// these methods Construct physics processes and register them
void ConstructEM();
void ConstructGeneral();
public:
void SetCuts();
void SetGammaCut(G4double);
void SetElectronCut(G4double);
void SetGammaLowLimit(G4double);
void SetElectronLowLimit(G4double);
void SetGELowLimit(G4double);
void SetLowEnSecPhotCut(G4double);
void SetLowEnSecElecCut(G4double);
void SetProtonCut(G4double);
void SetCutsByEnergy(G4double);
private:
G4LowEnergyIonisation* LeIoprocess;
G4LowEnergyPhotoElectric* LePeprocess;
G4LowEnergyBremsstrahlung* LeBrprocess;
XrayFluoPhysicsListMessenger* physicsListMessenger;
G4double cutForGamma;
G4double cutForElectron;
G4double cutForProton;
XrayFluoDetectorConstruction* pDet;
};
#endif
@@ -0,0 +1,83 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoPhysicsListMessenger.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
#ifndef XrayFluoPhysicsListMessenger_h
#define XrayFluoPhysicsListMessenger_h 1
#include "globals.hh"
#include "G4UImessenger.hh"
class XrayFluoPhysicsList;
class G4UIdirectory;
class G4UIcmdWithoutParameter;
class G4UIcmdWithADouble;
class G4UIcmdWithADoubleAndUnit;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class XrayFluoPhysicsListMessenger: public G4UImessenger
{
public:
XrayFluoPhysicsListMessenger(XrayFluoPhysicsList*);
~XrayFluoPhysicsListMessenger();
void SetNewValue(G4UIcommand*, G4String);
private:
XrayFluoPhysicsList* XrayFluoList;
G4UIdirectory* lowEnDir;
G4UIcmdWithADoubleAndUnit* cutGLowLimCmd;
G4UIcmdWithADoubleAndUnit* cutELowLimCmd;
G4UIcmdWithADoubleAndUnit* cutGELowLimCmd;
G4UIcmdWithADoubleAndUnit* cutSecPhotCmd;
G4UIcmdWithADoubleAndUnit* cutSecElecCmd;
G4UIcmdWithADoubleAndUnit* cutGCmd;
G4UIcmdWithADoubleAndUnit* cutECmd;
G4UIcmdWithADoubleAndUnit* cutPCmd;
G4UIcmdWithADoubleAndUnit* eCmd;
};
#endif
@@ -0,0 +1,99 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoPrimaryGeneratorAction.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
#ifndef XrayFluoPrimaryGeneratorAction_h
#define XrayFluoPrimaryGeneratorAction_h 1
#include "G4VUserPrimaryGeneratorAction.hh"
#include "globals.hh"
class G4ParticleGun;
class G4Event;
class XrayFluoDetectorConstruction;
class XrayFluoPrimaryGeneratorMessenger;
class XrayFluoRunAction;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class XrayFluoPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
{
public:
XrayFluoPrimaryGeneratorAction(XrayFluoDetectorConstruction*);
~XrayFluoPrimaryGeneratorAction();
public:
void GeneratePrimaries(G4Event*);
//method to set a random impact point on the sample
void SetRndmFlag(G4String val) { rndmFlag = val;}
//method to choose a circular non-point source
void SetRndmVert (G4String val) { beam = val;}
//set the flag for shooting particles according to certain spectra
void SetSpectrum (G4String val) { spectrum= val ;}
//set the flag for shooting particles from an isotropic source
void SetIsoVert (G4String val) { isoVert = val ;}
private:
//pointer a to G4 service class
G4ParticleGun* particleGun;
//pointer to the geometry
XrayFluoDetectorConstruction* XrayFluoDetector;
//messenger of this class
XrayFluoPrimaryGeneratorMessenger* gunMessenger;
XrayFluoRunAction* runManager;
//flag for a random impact point
G4String rndmFlag;
//flag for a circular non-point source
G4String beam;
//flag for shooting particles according to certain spectra
G4String spectrum;
//flag for shooting particles from an isotropic source
G4String isoVert;
};
#endif
@@ -0,0 +1,73 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoPrimaryGeneratorMessenger.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
#ifndef XrayFluoPrimaryGeneratorMessenger_h
#define XrayFluoPrimaryGeneratorMessenger_h 1
#include "G4UImessenger.hh"
#include "globals.hh"
class XrayFluoPrimaryGeneratorAction;
class G4UIcmdWithAString;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class XrayFluoPrimaryGeneratorMessenger: public G4UImessenger
{
public:
XrayFluoPrimaryGeneratorMessenger(XrayFluoPrimaryGeneratorAction*);
~XrayFluoPrimaryGeneratorMessenger();
void SetNewValue(G4UIcommand*, G4String);
private:
XrayFluoPrimaryGeneratorAction* XrayFluoAction;
//command to set a random impact point
G4UIcmdWithAString* RndmCmd;
//command to choose a plane circular source
G4UIcmdWithAString* RndmVert;
//command to shot particles according to certain spectra
G4UIcmdWithAString* spectrum;
//command to shot particles from an isotropic source
G4UIcmdWithAString* isoVert;
};
#endif
@@ -0,0 +1,122 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoRunAction.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
#ifndef XrayFluoRunAction_h
#define XrayFluoRunAction_h 1
#include "G4UserRunAction.hh"
#include "globals.hh"
#include "g4std/map"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class G4Run;
class XrayFluoDataSet;
class G4DataVector;
class XrayFluoRunAction : public G4UserRunAction
{
public:
XrayFluoRunAction();
~XrayFluoRunAction();
const XrayFluoDataSet* GetSet();
const XrayFluoDataSet* GetGammaSet();
const XrayFluoDataSet* GetAlphaSet();
const XrayFluoDataSet* GetEfficiencySet();
G4DataVector* GetEnergies();
G4DataVector* GetData();
public:
void BeginOfRunAction(const G4Run*);
void EndOfRunAction(const G4Run*);
//returns the sum of the element of data
G4double GetDataSum();
//calulates the maximum integer contained in energy
//choose from dataMap and energyMap the set of values
//corresponding to the calculated integer
//returns a value of energy chosen randomly from this set
G4double GetInfData(G4double energy, G4double random);
//calulates the minimum integer contained in energy
//choose from dataMap and energyMap the set of values
//corresponding to the calculated integer
//returns a value of energy chosen randomly from this set
G4double GetSupData(G4double energy, G4double random);
private:
const XrayFluoDataSet* dataSet;
//stores the data of the incident gamma spectrum
const XrayFluoDataSet* dataGammaSet;
//stores the data of the incident alpha spectrum
const XrayFluoDataSet* dataAlphaSet;
//stores the data of the efficience of the detector
const XrayFluoDataSet* efficiencySet;
//stores the energy data of the proton and alpha spectra
G4DataVector* energies;
//stores the data of the proton and alpha spectra
G4DataVector* data;
//stores the energy data (first column of the file) of the
//response function
G4std::map<G4int,G4DataVector*,G4std::less<G4int> > energyMap;
//stores the values (second column of the file) of the
//response function
G4std::map<G4int,G4DataVector*,G4std::less<G4int> > dataMap;
//read the data for protons and alpha spectra
void ReadData(G4double,G4String);
//read the data for the response function if the detector
void ReadResponse(const G4String& fileName);
};
#endif
@@ -0,0 +1,96 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoSensorHit.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
#ifndef XrayFluoSensorHit_h
#define XrayFluoSensorHit_h 1
#include "G4VHit.hh"
#include "G4THitsCollection.hh"
#include "G4Allocator.hh"
#include "G4ThreeVector.hh"
#include "Randomize.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class XrayFluoRunAction;
class XrayFluoSensorHit : public G4VHit
{
public:
XrayFluoSensorHit();
~XrayFluoSensorHit();
XrayFluoSensorHit(const XrayFluoSensorHit&);
const XrayFluoSensorHit& operator=(const XrayFluoSensorHit&);
int operator==(const XrayFluoSensorHit&) const;
inline void* operator new(size_t);
inline void operator delete(void*);
void AddEnergy(G4double de) {EdepTot += de;};
void Draw();
void Print();
G4double GetEdepTot() { return EdepTot;};
private:
G4double EdepTot;
G4double EdepDetect;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
typedef G4THitsCollection<XrayFluoSensorHit> XrayFluoSensorHitsCollection;
extern G4Allocator<XrayFluoSensorHit> XrayFluoSensorHitAllocator;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
inline void* XrayFluoSensorHit::operator new(size_t)
{
void* aHit;
aHit = (void*) XrayFluoSensorHitAllocator.MallocSingle();
return aHit;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
inline void XrayFluoSensorHit::operator delete(void* aHit)
{
XrayFluoSensorHitAllocator.FreeSingle((XrayFluoSensorHit*) aHit);
}
#endif
@@ -0,0 +1,57 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoSteppingAction.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
#ifndef XrayFluoSteppingAction_h
#define XrayFluoSteppingAction_h 1
#include "globals.hh"
#include "G4UserSteppingAction.hh"
class XrayFluoDetectorConstruction;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class XrayFluoSteppingAction : public G4UserSteppingAction
{
public:
XrayFluoSteppingAction();
~XrayFluoSteppingAction();
void UserSteppingAction(const G4Step*);
private:
};
#endif
@@ -0,0 +1,59 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoSteppingVerbose.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
class XrayFluoSteppingVerbose;
#ifndef XrayFluoSteppingVerbose_h
#define XrayFluoSteppingVerbose_h 1
#include "G4SteppingVerbose.hh"
class XrayFluoSteppingVerbose : public G4SteppingVerbose {
public:
// Constructor/Destructor
XrayFluoSteppingVerbose();
~XrayFluoSteppingVerbose();
void StepInfo();
void TrackingStarted();
};
#endif
@@ -0,0 +1,73 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: XrayFluoVisManager.hh
// GEANT4 tag $Name: xray_fluo-V03-02-00
//
// Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
//
// History:
// -----------
// 28 Nov 2001 Elena Guardincerri Created
//
// -------------------------------------------------------------------
// Example Visualization Manager implementing virtual function
// RegisterGraphicsSystems. Exploits C-pre-processor variables
// G4VIS_USE_DAWN, etc., which are set by the GNUmakefiles if
// environment variables of the same name are set.
// So all you have to do is set environment variables and compile and
// instantiate this in your main().
// Alternatively, you can implement an empty function here and just
// register the systems you want in your main(), e.g.:
// G4VisManager* XrayFluoVisManager = new XrayFluoVisManager;
// XrayFluoVisManager -> RegisterGraphicsSystem (new XrayFluoGraphicsSystem);
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#ifndef XrayFluoVisManager_h
#define XrayFluoVisManager_h 1
#ifdef G4VIS_USE
#include "G4VisManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class XrayFluoVisManager: public G4VisManager {
public:
XrayFluoVisManager ();
private:
void RegisterGraphicsSystems ();
};
#endif
#endif