Message: Re: Mirror - Pool simulation Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Mirror - Pool simulation 

Keywords: mirror pool reflectivity
Forum: Geometry
Re: None Mirror - Pool simulation (Olivier Dadoun)
Date: 26 Nov, 2007
From: Olivier Dadoun <Olivier Dadoun>

Dear All,

thanks to Peter Gumplinger, here you will find the piece of code to put in your Detector Construction class to simulate a perfect reflexion (see N06 and LXe in Geant4 examples):

 //======== My Mirror
 const G4int num = 2;
 G4double Ephoton[num] = {3.0*eV, 3.1*eV};
 G4double Reflectivity[num] = {1.0, 1.0};
 G4double Efficiency[num] = {1.0, 1.0};
 G4MaterialPropertiesTable *mymirror = new G4MaterialPropertiesTable();
 mymirror->AddProperty("REFLECTIVITY", Ephoton, Reflectivity, num);
 mymirror->AddProperty("EFFICIENCY",   Ephoton, Efficiency,   num);
 G4OpticalSurface* OpMirrorSurface = new G4OpticalSurface("MirrorSurface");

 new G4LogicalSkinSurface("MirrorSurface",targetLogical,OpMirrorSurface);

 //== AIR
 G4double AirRefractiveIndex[num] = {1.0, 1.0 };
 G4MaterialPropertiesTable* airProp = new G4MaterialPropertiesTable();

(you don't care to the targetLogical material type)


Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "Re: Mirror - Pool simulation"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]