Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
XrayTelDetectorConstruction Class Reference

#include <XrayTelDetectorConstruction.hh>

Inheritance diagram for XrayTelDetectorConstruction:
Collaboration diagram for XrayTelDetectorConstruction:

Public Member Functions

 XrayTelDetectorConstruction ()
 
 ~XrayTelDetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
- Public Member Functions inherited from G4VUserDetectorConstruction
 G4VUserDetectorConstruction ()
 
virtual ~G4VUserDetectorConstruction ()
 
virtual void ConstructSDandField ()
 
virtual void CloneSD ()
 
virtual void CloneF ()
 
void RegisterParallelWorld (G4VUserParallelWorld *)
 
G4int ConstructParallelGeometries ()
 
void ConstructParallelSD ()
 
G4int GetNumberOfParallelWorld () const
 
G4VUserParallelWorldGetParallelWorld (G4int i) const
 

Additional Inherited Members

- Protected Member Functions inherited from G4VUserDetectorConstruction
void SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
 
void SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD)
 

Detailed Description

Definition at line 59 of file XrayTelDetectorConstruction.hh.

Constructor & Destructor Documentation

XrayTelDetectorConstruction::XrayTelDetectorConstruction ( )

Definition at line 74 of file XrayTelDetectorConstruction.cc.

75 {
76  world_x = 2500.*cm;
77  world_y = 2500.*cm;
78  world_z = 2500.*cm;
79 }
static constexpr double cm
Definition: G4SIunits.hh:119
XrayTelDetectorConstruction::~XrayTelDetectorConstruction ( )

Definition at line 81 of file XrayTelDetectorConstruction.cc.

82 {;}

Member Function Documentation

G4VPhysicalVolume * XrayTelDetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 84 of file XrayTelDetectorConstruction.cc.

85 {
86 
87  // Material: Vacuum
88  G4Material* Vacuum = new G4Material("Vacuum",
89  1.0 , 1.01*g/mole, 1.0E-25*g/cm3,
90  kStateGas, 2.73*kelvin, 3.0E-18*pascal );
91 
92  // Visualization attributes
93  G4VisAttributes* VisAttWorld= new G4VisAttributes( G4Colour(204/255.,255/255.,255/255.));
94 
95  // World
96  G4Box * solidWorld = new G4Box( "world_S", world_x, world_y, world_z );
97  G4LogicalVolume * logicalWorld = new G4LogicalVolume( solidWorld, // solid
98  Vacuum, // material
99  "world_L", // name
100  0,0,0);
101 
102  logicalWorld -> SetVisAttributes(VisAttWorld);
103 
104  // Physical volume
105  physicalWorld= new G4PVPlacement( 0,
106  G4ThreeVector(),
107  "world_P", // name (2nd constructor)
108  logicalWorld, // logical volume
109  NULL, // mother volume
110  false, // no boolean operation
111  0); // copy number
112 
113  // Make Invisible
114  logicalWorld -> SetVisAttributes(G4VisAttributes::GetInvisible());
115 
116  // Construct geometry
117  ConstructTelescope();
118  ConstructFocalPlane();
119 
120  return physicalWorld;
121 }
CLHEP::Hep3Vector G4ThreeVector
Definition: G4Box.hh:64
function g(Y1, Y2, PT2)
Definition: hijing1.383.f:5205
#define pascal
static constexpr double kelvin
Definition: G4SIunits.hh:281
static constexpr double cm3
Definition: G4SIunits.hh:121
static constexpr double mole
Definition: G4SIunits.hh:286
static const G4VisAttributes & GetInvisible()

Here is the call graph for this function:


The documentation for this class was generated from the following files: