source: trunk/examples/extended/eventgenerator/HepMC/MCTruth/include/DetectorConstruction.hh@ 1036

Last change on this file since 1036 was 807, checked in by garnier, 17 years ago

update

File size: 2.9 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26//
27// $Id: DetectorConstruction.hh,v 1.1 2006/11/22 14:51:27 gcosmo Exp $
28// GEANT4 tag $Name: $
29//
30//
31// --------------------------------------------------------------
32// GEANT 4 - DetectorConstruction class
33// --------------------------------------------------------------
34//
35// Author: Witold POKORSKI (Witold.Pokorski@cern.ch)
36// Date : 2006-02-28
37//
38// --------------------------------------------------------------
39#ifndef DetectorConstruction_H
40#define DetectorConstruction_H 1
41
42#include "G4VUserDetectorConstruction.hh"
43#include "globals.hh"
44
45class G4LogicalVolume;
46class G4VPhysicalVolume;
47class G4Material;
48
49class DetectorConstruction : public G4VUserDetectorConstruction
50{
51public:
52
53 DetectorConstruction();
54 ~DetectorConstruction();
55
56 G4VPhysicalVolume* Construct();
57
58private:
59
60 void PrintParameters();
61 // Print the name of absorber and active materials.
62
63 G4Material* Iron;
64 G4Material* Copper;
65 G4Material* Tungsten;
66 G4Material* Lead;
67 G4Material* Uranium;
68 G4Material* PbWO4;
69 G4Material* Polystyrene;
70 G4Material* LiquidArgon;
71 G4Material* theAbsorberMaterial;
72
73 G4LogicalVolume* experimentalHall_log;
74 G4VPhysicalVolume* experimentalHall_phys;
75 // World envelope.
76
77 G4LogicalVolume* logicAbsorber;
78 G4VPhysicalVolume* physiAbsorber;
79 // Absorber layer of the "calorimeter".
80
81};
82
83#endif
Note: See TracBrowser for help on using the repository browser.