W pliku
src/MyDetectorConstruction.cc (zmiany kolorem
czerwonym)
..................................................................................................................
////////////////////////////////////////////////////////////////////////
// Visualisation attributes
---------------------------------------------------------------------------------------------------------------
// Beam Pipe Vacuum - yellow
G4VisAttributes* beamPipeAttributes = new
G4VisAttributes(G4Colour::Yellow());
//beamPipeAttributes->SetForceSolid(true);
beamPipeLogical->SetVisAttributes(beamPipeAttributes);
// Target - light
blue
G4VisAttributes*
targetAttributes = new G4VisAttributes(G4Colour(0.0,0.5,0.5,1.0));
targetAttributes->SetForceSolid(true);
targetLogical->SetVisAttributes(targetAttributes);
//
// Chamber window -
magenta
G4VisAttributes*
chamberAttributes = new G4VisAttributes(G4Colour::Magenta());
chamberAttributes->SetForceSolid(true);
chamberLogical->SetVisAttributes(chamberAttributes);
//
// Silicon monitor -
grey
G4VisAttributes*
monitorAttributes = new G4VisAttributes(G4Colour::Grey());
monitorAttributes->SetForceSolid(true);
monitorLogical->SetVisAttributes(monitorAttributes);
}