Import Geant4 11.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2022-12-09 14:43:28 +01:00
parent c07cea1fe0
commit 9f34590941
3810 changed files with 200490 additions and 182326 deletions
@@ -1,50 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * 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. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// Previous authors: G. Guerrieri, S. Guatelli, and M. G. Pia, INFN Genova, Italy
// Authors (since 2007): S. Guatelli, University of Wollongong, Australia
//
//
#ifndef G4CustomFemaleBuilder_h
#define G4CustomFemaleBuilder_h 1
//#include "G4VPhysicalVolume.hh"
#include "G4PhantomBuilder.hh"
class G4CustomFemaleBuilder: public G4PhantomBuilder
{
public:
G4CustomFemaleBuilder();
~G4CustomFemaleBuilder();
void BuildVoxelLeftBreast(const G4String&, G4bool, G4bool);
void BuildVoxelRightBreast(const G4String&, G4bool, G4bool);
void BuildLeftOvary(const G4String&, G4bool, G4bool);
void BuildRightOvary(const G4String&, G4bool, G4bool);
void BuildUterus(const G4String&, G4bool, G4bool);
};
#endif
@@ -38,13 +38,13 @@
class G4FemaleBuilder: public G4PhantomBuilder
{
public:
G4FemaleBuilder();
G4FemaleBuilder() = default;
~G4FemaleBuilder();
void BuildLeftBreast(const G4String&, G4bool, G4bool);
void BuildRightBreast(const G4String&, G4bool, G4bool);
void BuildLeftOvary(const G4String&, G4bool, G4bool);
void BuildRightOvary(const G4String&, G4bool, G4bool);
void BuildUterus(const G4String&, G4bool, G4bool);
void BuildLeftBreast(const G4String&, G4bool, G4bool) override;
void BuildRightBreast(const G4String&, G4bool, G4bool) override;
void BuildLeftOvary(const G4String&, G4bool, G4bool) override;
void BuildRightOvary(const G4String&, G4bool, G4bool) override;
void BuildUterus(const G4String&, G4bool, G4bool) override;
};
#endif
@@ -48,7 +48,7 @@ class G4HumanPhantomAnalysisManager
public:
G4HumanPhantomAnalysisManager();
~G4HumanPhantomAnalysisManager();
~G4HumanPhantomAnalysisManager() = default;
void book();
@@ -64,7 +64,7 @@ public:
// results in the ROOT file
private:
G4bool factoryOn;
G4bool fFactoryOn;
G4int fNtColId[MaxNtCol];
};
#endif
@@ -38,24 +38,24 @@ class G4HumanPhantomColour
{
public:
G4HumanPhantomColour();
~G4HumanPhantomColour();
~G4HumanPhantomColour()=default;
public:
//void DefineColour();
G4Colour GetColour(const G4String&); //returns the colour
private:
G4Colour white;
G4Colour pink;
G4Colour grey;
G4Colour yellow;
G4Colour blue;
G4Colour lightBlue;
G4Colour green;
G4Colour brown;
G4Colour purple;
G4Colour red;
G4Colour orange;
G4Colour black;
G4Colour fWhite;
G4Colour fPink;
G4Colour fGrey;
G4Colour fYellow;
G4Colour fBlue;
G4Colour fLightBlue;
G4Colour fGreen;
G4Colour fBrown;
G4Colour fPurple;
G4Colour fRed;
G4Colour fOrange;
G4Colour fBlack;
};
#endif
@@ -53,14 +53,12 @@ class G4HumanPhantomConstruction : public G4VUserDetectorConstruction
//G4VPhysicalVolume* GetMotherVolume(){return mother;};
private:
G4HumanPhantomMaterial* material;
G4HumanPhantomMessenger* messenger;
G4VPhysicalVolume* ConstructWorld();
G4String model;
G4String sex;
std::map<std::string,G4bool> sensitivities;
G4HumanPhantomMaterial* fMaterial;
G4HumanPhantomMessenger* fMessenger;
std::map<std::string,G4bool> fSensitivities;
G4String fModel;
G4String fSex;
};
#endif
@@ -38,8 +38,8 @@ class G4Event;
class G4HumanPhantomEventAction : public G4UserEventAction
{
public:
G4HumanPhantomEventAction();
~G4HumanPhantomEventAction();
explicit G4HumanPhantomEventAction();
~G4HumanPhantomEventAction() = default;
public:
void BeginOfEventAction(const G4Event*);
@@ -49,9 +49,9 @@ private:
void Fill(G4String bodypartName, G4double energyDeposit);
void totalEventEnergyDeposit();
G4int hitCollectionID;
std::map<std::string,G4double> energyTotal;
G4String bodypartName;
G4int fHitCollectionID;
std::map<std::string,G4double> fEnergyTotal;
// G4String fBodypartName;
};
#endif
@@ -46,21 +46,12 @@ public:
G4Material* GetMaterial(G4String); //returns the material
private:
// G4Material* matW;
//G4Material* matplexiglass;
//G4Material* matPb;
//G4Material* matir192;
//G4Material* Titanium;
// G4Material* matAir;
G4Material* matH2O;
G4Material* soft;
G4Material* skeleton;
G4Material* lung;
G4Material* adipose;
G4Material* glandular;
G4Material* adipose_glandular;
//G4Material*Vacuum;
//G4Material* muscle;
G4Material* fWater;
G4Material* fSoft;
G4Material* fSkeleton;
G4Material* fLung;
G4Material* fAdipose;
G4Material* fGlandular;
G4Material* fAdipose_glandular;
};
#endif
@@ -52,20 +52,18 @@ public:
void AddBodyPart(G4String); // Set Body Parts Sensitivity
private:
G4HumanPhantomConstruction* myUserPhantom;
G4HumanPhantomConstruction* fUserPhantom;
G4UIdirectory* phantomDir;
G4UIdirectory* bpDir;
G4UIdirectory* fPhantomDir;
G4UIdirectory* fDir;
G4UIcmdWithAString* modelCmd;
G4UIcmdWithAString* sexCmd;
G4UIcmdWithAString* bodypartCmd;
G4UIcmdWithoutParameter* endCmd;
G4String bodypart;
G4bool bps;
G4UIcmdWithAString* fModelCmd;
G4UIcmdWithAString* fSexCmd;
G4UIcmdWithAString* fBodypartCmd;
G4UIcmdWithoutParameter* fEndCmd;
G4String fBodypart;
G4bool fBps;
};
#endif
@@ -39,7 +39,7 @@
class G4HumanPhantomRunAction : public G4UserRunAction
{
public:
G4HumanPhantomRunAction(G4HumanPhantomAnalysisManager* analysis);
explicit G4HumanPhantomRunAction(G4HumanPhantomAnalysisManager* analysis);
~G4HumanPhantomRunAction();
public:
@@ -48,12 +48,10 @@ class G4HumanPhantomRunAction : public G4UserRunAction
void Fill(G4String bodypartName, G4double energyDeposit);
private:
void totalRunEnergyDeposit();
std::map<std::string,G4double> energyTotal;
G4String bodypartName;
std::map<std::string,G4double> fEnergyTotal;
G4String fBodypartName;
#ifdef ANALYSIS_USE
G4HumanPhantomAnalysisManager* analysisMan;
#endif
G4HumanPhantomAnalysisManager* fAnalysisMan;
};
#endif
@@ -1,44 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * 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. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// Previous authors: G. Guerrieri, S. Guatelli and M. G. Pia, INFN Genova, Italy
// Authors (since 2007): S. Guatelli,University of Wollongong, Australia
// Contributions by F. Ambroglini INFN Perugia, Italy
//
#ifndef G4HumanPhantomSteppingAction_h
#define G4HumanPhantomSteppingAction_h 1
#include "G4UserSteppingAction.hh"
#include "globals.hh"
class G4HumanPhantomSteppingAction : public G4UserSteppingAction
{
public:
G4HumanPhantomSteppingAction();
~G4HumanPhantomSteppingAction();
void UserSteppingAction(const G4Step*);
};
#endif
@@ -46,8 +46,7 @@ public:
G4VPhysicalVolume* CreateOrgan(const G4String&, G4VPhysicalVolume*,
const G4String&,G4bool,G4bool);
private:
std::map<std::string,G4VOrgan*> organ;
std::map<std::string,G4VOrgan*> fOrgan;
};
#endif
@@ -40,10 +40,9 @@ class G4MIRDBrain: public G4VOrgan
{
public:
G4MIRDBrain();
~G4MIRDBrain();
G4MIRDBrain() = default;
~G4MIRDBrain() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -41,9 +41,9 @@ class G4MIRDHead: public G4VOrgan
{
public:
G4MIRDHead();
~G4MIRDHead();
G4MIRDHead() = default;
~G4MIRDHead() override = default;
G4VPhysicalVolume* Construct(const G4String&, G4VPhysicalVolume*, const G4String&,
G4bool, G4bool);
G4bool, G4bool) override;
};
#endif
@@ -40,9 +40,9 @@ class G4MIRDHeart:public G4VOrgan
{
public:
G4MIRDHeart();
~G4MIRDHeart();
G4MIRDHeart() = default;
~G4MIRDHeart() override = default ;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -40,10 +40,9 @@ class G4MIRDLeftAdrenal: public G4VOrgan
{
public:
G4MIRDLeftAdrenal();
~G4MIRDLeftAdrenal();
G4MIRDLeftAdrenal() = default;
~G4MIRDLeftAdrenal() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&,G4bool, G4bool);
private:
const G4String&,G4bool, G4bool) override;
};
#endif
@@ -40,14 +40,9 @@ class G4LogicalVolume;
class G4MIRDLeftArmBone: public G4VOrgan
{
public:
G4MIRDLeftArmBone();
~G4MIRDLeftArmBone();
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*, const G4String&, G4bool, G4bool);
private:
// SAXProcessor sxp;
// ProcessingConfigurator config;
G4MIRDLeftArmBone()=default;
~G4MIRDLeftArmBone() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*, const G4String&, G4bool, G4bool) override;
};
#endif
@@ -41,10 +41,9 @@ class G4MIRDLeftBreast: public G4VOrgan
{
public:
G4MIRDLeftBreast();
~G4MIRDLeftBreast();
G4MIRDLeftBreast() = default;
~G4MIRDLeftBreast() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -40,10 +40,9 @@ class G4MIRDLeftClavicle:public G4VOrgan
{
public:
G4MIRDLeftClavicle();
~G4MIRDLeftClavicle();
G4MIRDLeftClavicle() = default;
~G4MIRDLeftClavicle() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -40,10 +40,9 @@ class G4MIRDLeftKidney: public G4VOrgan
{
public:
G4MIRDLeftKidney();
~G4MIRDLeftKidney();
G4MIRDLeftKidney() = default;
~G4MIRDLeftKidney() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&,G4bool, G4bool);
private:
const G4String&,G4bool, G4bool) override;
};
#endif
@@ -40,10 +40,9 @@ class G4MIRDLeftLeg:public G4VOrgan
{
public:
G4MIRDLeftLeg();
~G4MIRDLeftLeg();
G4MIRDLeftLeg() = default;
~G4MIRDLeftLeg() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -39,10 +39,9 @@ class G4MIRDLeftLegBone: public G4VOrgan
{
public:
G4MIRDLeftLegBone();
~G4MIRDLeftLegBone();
G4MIRDLeftLegBone() = default;
~G4MIRDLeftLegBone() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -40,11 +40,10 @@ class G4MIRDLeftLung: public G4VOrgan
{
public:
G4MIRDLeftLung();
~G4MIRDLeftLung();
G4MIRDLeftLung() = default;
~G4MIRDLeftLung() override = default;
G4VPhysicalVolume* Construct(const G4String&, G4VPhysicalVolume*,
const G4String&,G4bool, G4bool);
const G4String&,G4bool, G4bool) override;
private:
};
#endif
@@ -40,11 +40,9 @@ class G4MIRDLeftOvary: public G4VOrgan
{
public:
G4MIRDLeftOvary();
~G4MIRDLeftOvary();
G4MIRDLeftOvary() = default;
~G4MIRDLeftOvary() override = default;
G4VPhysicalVolume* Construct(const G4String&, G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -40,10 +40,9 @@ class G4MIRDLeftScapula:public G4VOrgan
{
public:
G4MIRDLeftScapula();
~G4MIRDLeftScapula();
G4MIRDLeftScapula() = default;
~G4MIRDLeftScapula() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -40,11 +40,9 @@ class G4MIRDLeftTeste: public G4VOrgan
{
public:
G4MIRDLeftTeste();
~G4MIRDLeftTeste();
G4MIRDLeftTeste() = default;
~G4MIRDLeftTeste() override = default;
G4VPhysicalVolume* Construct(const G4String&, G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -38,12 +38,9 @@ class G4VPhysicalVolume;
class G4MIRDLiver: public G4VOrgan
{
public:
G4MIRDLiver();
~G4MIRDLiver();
G4MIRDLiver() = default;
~G4MIRDLiver() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -40,10 +40,9 @@ class G4MIRDLowerLargeIntestine: public G4VOrgan
{
public:
G4MIRDLowerLargeIntestine();
~G4MIRDLowerLargeIntestine();
G4MIRDLowerLargeIntestine() = default;
~G4MIRDLowerLargeIntestine() override = default ;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -40,11 +40,9 @@ class G4MIRDMaleGenitalia: public G4VOrgan
{
public:
G4MIRDMaleGenitalia();
~G4MIRDMaleGenitalia();
G4MIRDMaleGenitalia() = default;
~G4MIRDMaleGenitalia() override=default;
G4VPhysicalVolume* Construct(const G4String&, G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -41,10 +41,9 @@ class G4MIRDMiddleLowerSpine: public G4VOrgan
{
public:
G4MIRDMiddleLowerSpine();
~G4MIRDMiddleLowerSpine();
G4MIRDMiddleLowerSpine() = default;
~G4MIRDMiddleLowerSpine() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -41,10 +41,9 @@ class G4MIRDPancreas: public G4VOrgan
{
public:
G4MIRDPancreas();
~G4MIRDPancreas();
G4MIRDPancreas() = default;
~G4MIRDPancreas() override = default;
G4VPhysicalVolume* Construct(const G4String&, G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -40,10 +40,9 @@ class G4MIRDPelvis: public G4VOrgan
{
public:
G4MIRDPelvis();
~G4MIRDPelvis();
G4MIRDPelvis() = default;
~G4MIRDPelvis() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -42,22 +42,22 @@ class G4MIRDRibCage: public G4VOrgan
public:
G4MIRDRibCage();
~G4MIRDRibCage();
~G4MIRDRibCage() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
const G4String&, G4bool, G4bool) override;
private:
G4VPhysicalVolume* physRib1;
G4VPhysicalVolume* physRib2;
G4VPhysicalVolume* physRib3;
G4VPhysicalVolume* physRib4;
G4VPhysicalVolume* physRib5;
G4VPhysicalVolume* physRib6;
G4VPhysicalVolume* physRib7;
G4VPhysicalVolume* physRib8;
G4VPhysicalVolume* physRib9;
G4VPhysicalVolume* physRib10;
G4VPhysicalVolume* physRib11;
G4VPhysicalVolume* physRib12;
G4VPhysicalVolume* fPhysRib1;
G4VPhysicalVolume* fPhysRib2;
G4VPhysicalVolume* fPhysRib3;
G4VPhysicalVolume* fPhysRib4;
G4VPhysicalVolume* fPhysRib5;
G4VPhysicalVolume* fPhysRib6;
G4VPhysicalVolume* fPhysRib7;
G4VPhysicalVolume* fPhysRib8;
G4VPhysicalVolume* fPhysRib9;
G4VPhysicalVolume* fPhysRib10;
G4VPhysicalVolume* fPhysRib11;
G4VPhysicalVolume* fPhysRib12;
};
#endif
@@ -40,10 +40,9 @@ class G4MIRDRightAdrenal: public G4VOrgan
{
public:
G4MIRDRightAdrenal();
~G4MIRDRightAdrenal();
G4MIRDRightAdrenal() = default;
~G4MIRDRightAdrenal() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&,G4bool, G4bool);
private:
const G4String&,G4bool, G4bool) override;
};
#endif
@@ -41,15 +41,10 @@ class G4MIRDRightArmBone: public G4VOrgan
{
public:
G4MIRDRightArmBone();
~G4MIRDRightArmBone();
G4MIRDRightArmBone() = default;
~G4MIRDRightArmBone() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&,G4bool, G4bool);
private:
// SAXProcessor sxp;
// ProcessingConfigurator config;
const G4String&,G4bool, G4bool) override;
};
#endif
@@ -41,10 +41,9 @@ class G4MIRDRightBreast: public G4VOrgan
{
public:
G4MIRDRightBreast();
~G4MIRDRightBreast();
G4MIRDRightBreast() = default;
~G4MIRDRightBreast() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&,G4bool, G4bool);
private:
const G4String&,G4bool, G4bool) override;
};
#endif
@@ -40,10 +40,9 @@ class G4MIRDRightClavicle:public G4VOrgan
{
public:
G4MIRDRightClavicle();
~G4MIRDRightClavicle();
G4MIRDRightClavicle() = default;
~G4MIRDRightClavicle() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -38,11 +38,9 @@ class G4LogicalVolume;
class G4MIRDRightKidney: public G4VOrgan
{
public:
G4MIRDRightKidney();
~G4MIRDRightKidney();
G4MIRDRightKidney() = default;
~G4MIRDRightKidney() override = default;
G4VPhysicalVolume* Construct(const G4String&, G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -39,11 +39,9 @@ class G4LogicalVolume;
class G4MIRDRightLeg:public G4VOrgan
{
public:
G4MIRDRightLeg();
~G4MIRDRightLeg();
G4MIRDRightLeg() = default;
~G4MIRDRightLeg() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&,G4bool, G4bool);
private:
const G4String&,G4bool, G4bool) override;
};
#endif
@@ -40,11 +40,9 @@ class G4MIRDRightLegBone: public G4VOrgan
{
public:
G4MIRDRightLegBone();
~G4MIRDRightLegBone();
G4MIRDRightLegBone() = default;
~G4MIRDRightLegBone() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -41,11 +41,9 @@ class G4MIRDRightLung: public G4VOrgan
{
public:
G4MIRDRightLung();
~G4MIRDRightLung();
G4MIRDRightLung() = default;
~G4MIRDRightLung() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -40,12 +40,9 @@ class G4LogicalVolume;
class G4MIRDRightOvary: public G4VOrgan
{
public:
G4MIRDRightOvary();
~G4MIRDRightOvary();
G4MIRDRightOvary() = default;
~G4MIRDRightOvary() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&,G4bool, G4bool);
private:
const G4String&,G4bool, G4bool) override;
};
#endif
@@ -39,10 +39,9 @@ class G4MIRDRightScapula:public G4VOrgan
{
public:
G4MIRDRightScapula();
~G4MIRDRightScapula();
G4MIRDRightScapula() = default;
~G4MIRDRightScapula() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -41,11 +41,9 @@ class G4MIRDRightTeste: public G4VOrgan
{
public:
G4MIRDRightTeste();
~G4MIRDRightTeste();
G4MIRDRightTeste() = default;
~G4MIRDRightTeste() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&,G4bool, G4bool);
private:
const G4String&,G4bool, G4bool) override;
};
#endif
@@ -40,10 +40,9 @@ class G4LogicalVolume;
class G4MIRDSkull: public G4VOrgan
{
public:
G4MIRDSkull();
~G4MIRDSkull();
G4MIRDSkull() = default;
~G4MIRDSkull() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -40,10 +40,9 @@ class G4MIRDSmallIntestine: public G4VOrgan
{
public:
G4MIRDSmallIntestine();
~G4MIRDSmallIntestine();
G4MIRDSmallIntestine() = default;
~G4MIRDSmallIntestine() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -41,11 +41,9 @@ class G4MIRDSpleen: public G4VOrgan
{
public:
G4MIRDSpleen();
~G4MIRDSpleen();
G4MIRDSpleen()= default;
~G4MIRDSpleen() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -41,10 +41,9 @@ class G4MIRDStomach: public G4VOrgan
{
public:
G4MIRDStomach();
~G4MIRDStomach();
G4MIRDStomach() = default;
~G4MIRDStomach() override = default;
G4VPhysicalVolume* Construct(const G4String&, G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -41,11 +41,10 @@ class G4MIRDThymus: public G4VOrgan
{
public:
G4MIRDThymus();
~G4MIRDThymus();
G4MIRDThymus() = default;
~G4MIRDThymus() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&,G4bool, G4bool);
const G4String&,G4bool, G4bool) override;
private:
};
#endif
@@ -40,11 +40,9 @@ class G4MIRDThyroid: public G4VOrgan
{
public:
G4MIRDThyroid();
~G4MIRDThyroid();
G4MIRDThyroid() = default;
~G4MIRDThyroid() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -40,11 +40,9 @@ class G4LogicalVolume;
class G4MIRDTrunk:public G4VOrgan
{
public:
G4MIRDTrunk();
~G4MIRDTrunk();
G4MIRDTrunk() = default;
~G4MIRDTrunk() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -40,10 +40,9 @@ class G4MIRDUpperLargeIntestine: public G4VOrgan
{
public:
G4MIRDUpperLargeIntestine();
~G4MIRDUpperLargeIntestine();
G4MIRDUpperLargeIntestine() = default;
~G4MIRDUpperLargeIntestine() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&,G4bool, G4bool);
private:
const G4String&,G4bool, G4bool) override;
};
#endif
@@ -41,11 +41,9 @@ class G4MIRDUpperSpine: public G4VOrgan
{
public:
G4MIRDUpperSpine();
~G4MIRDUpperSpine();
G4MIRDUpperSpine() = default;
~G4MIRDUpperSpine() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,const G4String&,
G4bool, G4bool);
private:
G4bool, G4bool) override;
};
#endif
@@ -42,10 +42,9 @@ class G4MIRDUrinaryBladder: public G4VOrgan
{
public:
G4MIRDUrinaryBladder();
~G4MIRDUrinaryBladder();
G4MIRDUrinaryBladder() = default;
~G4MIRDUrinaryBladder() override = default;
G4VPhysicalVolume* Construct(const G4String&,G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -41,10 +41,9 @@ class G4MIRDUterus: public G4VOrgan
{
public:
G4MIRDUterus();
~G4MIRDUterus();
G4MIRDUterus() = default;
~G4MIRDUterus() override = default;
G4VPhysicalVolume* Construct(const G4String&, G4VPhysicalVolume*,
const G4String&, G4bool, G4bool);
private:
const G4String&, G4bool, G4bool) override;
};
#endif
@@ -39,12 +39,11 @@ class G4PhantomBuilder;
class G4MaleBuilder: public G4PhantomBuilder
{
public:
G4MaleBuilder();
G4MaleBuilder() = default;
~G4MaleBuilder();
void BuildMaleGenitalia(const G4String& colourName, G4bool solidVis, G4bool sensitivity);
void BuildLeftTeste(const G4String& colourName, G4bool solidVis, G4bool sensitivity);
void BuildRightTeste(const G4String& colourName, G4bool solidVis, G4bool sensitivity);
// void SetModel(G4String);
void BuildMaleGenitalia(const G4String& colourName, G4bool solidVis, G4bool sensitivity) override;
void BuildLeftTeste(const G4String& colourName, G4bool solidVis, G4bool sensitivity) override;
void BuildRightTeste(const G4String& colourName, G4bool solidVis, G4bool sensitivity) override;
};
#endif
@@ -42,68 +42,58 @@ class G4VBodyFactory;
class G4PhantomBuilder: public G4BasePhantomBuilder
{
public:
G4PhantomBuilder();
~G4PhantomBuilder();
explicit G4PhantomBuilder();
~G4PhantomBuilder() override = default;
void BuildHead(const G4String&,G4bool,G4bool);
void BuildTrunk(const G4String&,G4bool,G4bool);
void BuildLeftLeg(const G4String&,G4bool,G4bool);
void BuildRightLeg(const G4String&,G4bool,G4bool);
void BuildHead(const G4String&,G4bool,G4bool) override;
void BuildTrunk(const G4String&,G4bool,G4bool) override;
void BuildLeftLeg(const G4String&,G4bool,G4bool) override;
void BuildRightLeg(const G4String&,G4bool,G4bool) override;
void BuildUpperSpine(const G4String&,G4bool,G4bool);
void BuildMiddleLowerSpine(const G4String&,G4bool,G4bool);
void BuildLeftLegBone(const G4String&,G4bool,G4bool);
void BuildRightLegBone(const G4String&,G4bool,G4bool);
void BuildLeftArmBone(const G4String&,G4bool,G4bool);
void BuildRightArmBone(const G4String&,G4bool,G4bool);
void BuildSkull(const G4String&,G4bool,G4bool);
void BuildRibCage(const G4String&,G4bool,G4bool);
void BuildPelvis(const G4String&,G4bool,G4bool);
void BuildLeftScapula(const G4String&,G4bool,G4bool);
void BuildRightScapula(const G4String&,G4bool,G4bool);
void BuildLeftAdrenal(const G4String&,G4bool,G4bool);
void BuildRightAdrenal(const G4String&,G4bool,G4bool);
void BuildLeftClavicle(const G4String&,G4bool,G4bool);
void BuildRightClavicle(const G4String&,G4bool,G4bool);
void BuildUpperSpine(const G4String&,G4bool,G4bool) override;
void BuildMiddleLowerSpine(const G4String&,G4bool,G4bool) override;
void BuildLeftLegBone(const G4String&,G4bool,G4bool) override;
void BuildRightLegBone(const G4String&,G4bool,G4bool) override;
void BuildLeftArmBone(const G4String&,G4bool,G4bool) override;
void BuildRightArmBone(const G4String&,G4bool,G4bool) override;
void BuildSkull(const G4String&,G4bool,G4bool) override;
void BuildRibCage(const G4String&,G4bool,G4bool) override;
void BuildPelvis(const G4String&,G4bool,G4bool) override;
void BuildLeftScapula(const G4String&,G4bool,G4bool) override;
void BuildRightScapula(const G4String&,G4bool,G4bool) override;
void BuildLeftAdrenal(const G4String&,G4bool,G4bool) override;
void BuildRightAdrenal(const G4String&,G4bool,G4bool) override;
void BuildLeftClavicle(const G4String&,G4bool,G4bool) override;
void BuildRightClavicle(const G4String&,G4bool,G4bool) override;
void BuildBrain(const G4String&,G4bool,G4bool) override;
void BuildHeart(const G4String&,G4bool,G4bool) override;
void BuildLeftLung(const G4String&,G4bool,G4bool) override;
void BuildRightLung(const G4String&,G4bool,G4bool) override;
void BuildStomach(const G4String&,G4bool,G4bool) override;
void BuildSmallIntestine(const G4String&,G4bool,G4bool) override;
void BuildUpperLargeIntestine(const G4String&,G4bool,G4bool) override;
void BuildLowerLargeIntestine(const G4String&,G4bool,G4bool) override;
void BuildLeftKidney(const G4String&,G4bool,G4bool) override;
void BuildRightKidney(const G4String&,G4bool,G4bool) override;
void BuildLiver(const G4String&,G4bool,G4bool) override;
void BuildPancreas(const G4String&,G4bool,G4bool) override;
void BuildSpleen(const G4String&,G4bool,G4bool) override;
void BuildUrinaryBladder(const G4String&,G4bool,G4bool) override;
void BuildThyroid(const G4String&,G4bool,G4bool) override;
void BuildThymus(const G4String&,G4bool,G4bool) override;
void SetModel(G4String) override;
void SetMotherVolume(G4VPhysicalVolume*) override;
void BuildBrain(const G4String&,G4bool,G4bool);
void BuildHeart(const G4String&,G4bool,G4bool);
void BuildLeftLung(const G4String&,G4bool,G4bool);
void BuildRightLung(const G4String&,G4bool,G4bool);
void BuildStomach(const G4String&,G4bool,G4bool);
void BuildSmallIntestine(const G4String&,G4bool,G4bool);
void BuildUpperLargeIntestine(const G4String&,G4bool,G4bool);
void BuildLowerLargeIntestine(const G4String&,G4bool,G4bool);
void BuildLeftKidney(const G4String&,G4bool,G4bool);
void BuildRightKidney(const G4String&,G4bool,G4bool);
void BuildLiver(const G4String&,G4bool,G4bool);
void BuildPancreas(const G4String&,G4bool,G4bool);
void BuildSpleen(const G4String&,G4bool,G4bool);
void BuildUrinaryBladder(const G4String&,G4bool,G4bool);
void BuildThyroid(const G4String&,G4bool,G4bool);
void BuildThymus(const G4String&,G4bool,G4bool);
void SetModel(G4String);
void SetMotherVolume(G4VPhysicalVolume*);
G4VPhysicalVolume* GetPhantom();
G4VPhysicalVolume* GetPhantom() override;
protected:
G4VBodyFactory* body;
G4String model;
G4VPhysicalVolume* motherVolume;
G4VPhysicalVolume* headVolume;
G4VPhysicalVolume* trunkVolume;
G4VPhysicalVolume* leftLegVolume;
G4VPhysicalVolume* rightLegVolume;
G4VPhysicalVolume* maleGenitaliaVolume;
G4VBodyFactory* fBody;
G4String fModel;
G4VPhysicalVolume* fMotherVolume;
G4VPhysicalVolume* fHeadVolume;
G4VPhysicalVolume* fTrunkVolume;
G4VPhysicalVolume* fLeftLegVolume;
G4VPhysicalVolume* fRightLegVolume;
G4VPhysicalVolume* fMaleGenitaliaVolume;
};
#endif
@@ -51,15 +51,14 @@ public:
void SetModel(G4String);
void SetMotherVolume(G4VPhysicalVolume*);
G4VPhysicalVolume* GetPhantom();
protected:
G4VBodyFactory* body;
G4VBodyFactory* fBody;
G4String fModel;
G4String model;
G4VPhysicalVolume* motherVolume;
G4VPhysicalVolume* headVolume;
G4VPhysicalVolume* fMotherVolume;
G4VPhysicalVolume* fHeadVolume;
};
#endif
@@ -1,53 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * 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. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
// Previous authors: G. Guerrieri, S. Guatelli and M. G. Pia, INFN Genova, Italy
// Authors (since 2007): S. Guatelli,University of Wollongong, Australia
// Contributions by F. Ambroglini INFN Perugia, Italy
//
//
#ifndef G4VoxelBreastFactory_h
#define G4VoxelBreastFactory_h 1
#include "G4VBodyFactory.hh"
#include "G4VOrgan.hh"
#include <map>
class G4VBodyFactory;
class G4VPhysicalVolume;
class G4VOrgan;
class G4VoxelBreastFactory: public G4VBodyFactory
{
public:
G4VoxelBreastFactory();
~G4VoxelBreastFactory();
G4VPhysicalVolume* CreateOrgan(const G4String&, G4VPhysicalVolume*,
const G4String&,G4bool,G4bool);
private:
std::map<std::string,G4VOrgan*> organ;
};
#endif
@@ -1,47 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * 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. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// Previous authors: G. Guerrieri, S. Guatelli and M. G. Pia, INFN Genova, Italy
// Authors (since 2007): S. Guatelli,University of Wollongong, Australia
// Contributions by F. Ambroglini INFN Perugia, Italy
//
//
#ifndef G4VoxelLeftBreast_h
#define G4VoxelLeftBreast_h 1
#include "G4VPhysicalVolume.hh"
#include "G4VOrgan.hh"
class G4VPhysicalVolume;
class G4VoxelLeftBreast: public G4VOrgan
{
public:
G4VoxelLeftBreast();
~G4VoxelLeftBreast();
G4VPhysicalVolume* Construct(const G4String&, G4VPhysicalVolume*,
const G4String&,G4bool, G4bool);
};
#endif
@@ -1,47 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * 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. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// Previous authors: G. Guerrieri, S. Guatelli and M. G. Pia, INFN Genova, Italy
// Authors (since 2007): S. Guatelli,University of Wollongong, Australia
// Contributions by F. Ambroglini INFN Perugia, Italy
//
//
#ifndef G4VoxelRightBreast_h
#define G4VoxelRightBreast_h 1
#include "G4VPhysicalVolume.hh"
#include "G4VOrgan.hh"
class G4VPhysicalVolume;
class G4VoxelRightBreast: public G4VOrgan
{
public:
G4VoxelRightBreast();
~G4VoxelRightBreast();
G4VPhysicalVolume* Construct(const G4String&, G4VPhysicalVolume*,
const G4String&,G4bool, G4bool);
};
#endif