Import Geant4 6.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:49:58 +02:00
parent 96686e0c8f
commit 1d812b78b1
4545 changed files with 24433 additions and 175005 deletions
@@ -41,7 +41,7 @@ public:
virtual ~AerogelRefData();
void ReadStdAerogelRefIndex();
vector<G4double> GetCurAerogelRefIndValueVect(G4int AerogelTypenum );
std::vector<G4double> GetCurAerogelRefIndValueVect(G4int AerogelTypenum );
G4double GetCurAerogelRefIndValue( G4int rbinw , G4int AerogelTypenum );
G4double GetRefnominal(G4int);
AerogelType GetAerogelType(G4int);
@@ -50,9 +50,9 @@ public:
{return StdAerogelRefphotE[BinNumw]; }
G4double GetStdAerogelRefIndValue(G4int BinNumv )
{return StdAerogelRefIndexValue[BinNumv];}
vector<G4double> GetAerogelRefphotEVect()
std::vector<G4double> GetAerogelRefphotEVect()
{ return StdAerogelRefphotE ; }
vector<G4double> GetStdAerogelRefIndValueVect()
std::vector<G4double> GetStdAerogelRefIndValueVect()
{return StdAerogelRefIndexValue ; }
G4double GetAerogelRefIndShift(G4int iAgtype)
@@ -65,11 +65,11 @@ private:
G4String AerogelRefIndexFileName;
G4int NumberOfRefIndBins;
vector<G4double>StdAerogelRefphotE ;
vector<G4double>StdAerogelRefIndexValue ;
std::vector<G4double>StdAerogelRefphotE ;
std::vector<G4double>StdAerogelRefIndexValue ;
G4double StdAerogelNominalRefractiveIndex;
vector<G4double> AerogelRefIndShift;
vector<G4double> AerogelWavelengthRef;
std::vector<G4double> AerogelRefIndShift;
std::vector<G4double> AerogelWavelengthRef;
};
#endif
@@ -49,9 +49,9 @@ public:
G4double GetCurTransTotValue(G4int BinNumv ) {return TransTotValue[BinNumv];}
G4double GetCurFilterThickness() {return FilterThickness; }
vector<G4double> GetTransWL() { return TransWaveL ; }
vector<G4double> GetTransValue() {return TransValue ; }
vector<G4double> GetTransTotValue() {return TransTotValue ; }
std::vector<G4double> GetTransWL() { return TransWaveL ; }
std::vector<G4double> GetTransValue() {return TransValue ; }
std::vector<G4double> GetTransTotValue() {return TransTotValue ; }
FilterType GetFilterTypeIndex() {return FilterTypeIndex ; }
private:
@@ -61,9 +61,9 @@ private:
G4int NumberOfTrBins;
G4double FilterThickness;
G4double FilterRefIndexNominal;
vector<G4double>TransWaveL ;
vector<G4double>TransValue ;
vector<G4double>TransTotValue;
std::vector<G4double>TransWaveL ;
std::vector<G4double>TransValue ;
std::vector<G4double>TransTotValue;
G4double CurNeighbourRefIndexNominal;
G4String FilterTransDataFileName;
@@ -78,10 +78,10 @@ public:
G4double HpdPhElectronKE;
G4double PhCathodeToSilDetDist;
G4double PSFsigma;
vector<G4double>DemagnificationFactor;
vector<G4double>DemagnificationQuadFactor;
vector<vector<G4double> >HpdQE;
vector<vector<G4double> >HpdWabin;
std::vector<G4double>DemagnificationFactor;
std::vector<G4double>DemagnificationQuadFactor;
std::vector<std::vector<G4double> >HpdQE;
std::vector<std::vector<G4double> >HpdWabin;
};
@@ -123,12 +123,12 @@ private:
G4LogicalVolume* RichTbRadDnWLVol;
G4VPhysicalVolume* RichTbRadDnWPVol;
G4int NumAerogelTiles;
vector<G4LogicalVolume*> RichTbAgelLVol;
vector<G4VPhysicalVolume*> RichTbAgelPVol;
vector<G4LogicalVolume*> RichTbAgelWrapTopLVol;
vector<G4VPhysicalVolume*> RichTbAgelWrapTopPVol;
vector<G4LogicalVolume*> RichTbAgelWrapBotLVol;
vector<G4VPhysicalVolume*> RichTbAgelWrapBotPVol;
std::vector<G4LogicalVolume*> RichTbAgelLVol;
std::vector<G4VPhysicalVolume*> RichTbAgelPVol;
std::vector<G4LogicalVolume*> RichTbAgelWrapTopLVol;
std::vector<G4VPhysicalVolume*> RichTbAgelWrapTopPVol;
std::vector<G4LogicalVolume*> RichTbAgelWrapBotLVol;
std::vector<G4VPhysicalVolume*> RichTbAgelWrapBotPVol;
G4LogicalVolume* RichTbFilterLVol;
G4VPhysicalVolume* RichTbFilterPVol;
G4bool ConstructTrackingGeometrySwitch;
@@ -30,7 +30,7 @@
#define RichTbIOData_h 1
#include "globals.hh"
#include <iostream>
#include <fstream.h>
#include <fstream>
#include "RichTbRunConfig.hh"
#include "G4Event.hh"
class RichTbIOData {
@@ -43,7 +43,7 @@ public:
void WriteOutHitData(const G4Event* );
private:
ofstream OutputDataFS;
std::ofstream OutputDataFS;
G4String aOutFileString;
};
#endif
@@ -103,7 +103,7 @@ private:
G4Material* RichTbH2O;
G4Material* RichTbMirrorQuartz;
G4Material* RichTbQuartzWindowMaterial;
vector<G4Material*> RichTbAerogelMaterial;
std::vector<G4Material*> RichTbAerogelMaterial;
G4Material* RichTbAerogelTypeA;
G4Material* RichTbAerogelTypeB;
@@ -120,7 +120,7 @@ private:
G4Material* HpdQuartzWindowMaterial;
G4Material* PadHpdQuartzWindowMaterial;
vector<G4Material*> RichTbFilterMaterial;
std::vector<G4Material*> RichTbFilterMaterial;
G4Material* GlassD263FilterMaterial;
G4Material* PadHpdPhCathodeMaterial;
G4Material* RichTbPlasticAg;
@@ -39,14 +39,14 @@ extern void InitializeRichTbMaterial();
extern void HistoRichTbMaterialProperties(RichTbRunConfig* RConfig);
extern vector<G4double> InitializeHpdQE(G4int);
extern vector<G4double> InitializeHpdWaveL(G4int);
extern vector<G4double> InitN2RefIndex(G4double, G4double);
extern vector<G4double> InitN2RefPhotW();
extern vector<G4double> InitAgelPhotW();
extern vector<G4double> InitializePhotonMomentumVector();
extern vector<G4int> getDeadPixelList(G4int ihpdNum , G4int IsectNum);
extern vector<G4double>GetAerogelRScatLength(AerogelType);
extern std::vector<G4double> InitializeHpdQE(G4int);
extern std::vector<G4double> InitializeHpdWaveL(G4int);
extern std::vector<G4double> InitN2RefIndex(G4double, G4double);
extern std::vector<G4double> InitN2RefPhotW();
extern std::vector<G4double> InitAgelPhotW();
extern std::vector<G4double> InitializePhotonMomentumVector();
extern std::vector<G4int> getDeadPixelList(G4int ihpdNum , G4int IsectNum);
extern std::vector<G4double>GetAerogelRScatLength(AerogelType);
extern G4double GetCurrentBulkTrans(G4double currentMatRefIndex,
G4double currentNeighbourRefIndex,
G4double MaxTotMeasuredTransmission);
@@ -36,7 +36,7 @@
#include "AerogelRefData.hh"
#include "FilterTrData.hh"
#include <math.h>
#include <fstream.h>
#include <fstream>
class RichTbRunConfig{
public:
RichTbRunConfig();
@@ -143,8 +143,8 @@ private:
G4int FilterTNumber;
FilterType CurFilterType;
G4int NumberOfAerogelTiles;
vector<G4int>CurAerogelTNumber;
vector<AerogelType>CurAerogelType;
std::vector<G4int>CurAerogelTNumber;
std::vector<AerogelType>CurAerogelType;
G4int WriteOutputFile;
G4String OutputFileName;
G4String OutputHistoDirName;
+1 -1
View File
@@ -56,7 +56,7 @@ class RichTbSD : public G4VSensitiveDetector
G4int NumberOfSensitiveHpds;
G4int NumberOfSensitiveSectorsInHpd;
G4int NumberOfSensitivePixelsInSector;
vector<G4int> HpdSDID;
std::vector<G4int> HpdSDID;
G4int HCID;