source: trunk/examples/extended/analysis/A01/include/A01DetectorConstruction.hh@ 1338

Last change on this file since 1338 was 1337, checked in by garnier, 15 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 3.5 KB
RevLine 
[807]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//
[1337]26// $Id: A01DetectorConstruction.hh,v 1.6 2009/11/21 00:22:55 perl Exp $
[807]27// --------------------------------------------------------------
28//
29
30#ifndef A01DetectorConstruction_h
31#define A01DetectorConstruction_h 1
32
33#include "globals.hh"
34#include "G4VUserDetectorConstruction.hh"
35#include "G4RotationMatrix.hh"
[1337]36#include "G4FieldManager.hh"
[807]37
38class G4VPhysicalVolume;
39class G4Material;
40class G4VSensitiveDetector;
41class G4VisAttributes;
42class A01DetectorConstMessenger;
43class A01MagneticField;
44
45class A01DetectorConstruction : public G4VUserDetectorConstruction
46{
47 public:
48 A01DetectorConstruction();
49 virtual ~A01DetectorConstruction();
50
51 public:
52 virtual G4VPhysicalVolume* Construct();
53 void SetArmAngle(G4double val);
54 inline G4double GetArmAngle() { return armAngle; }
55
56 private:
57 void ConstructMaterials();
58 void DestroyMaterials();
59 void DumpGeometricalTree(G4VPhysicalVolume* aVolume,G4int depth=0);
60
61 private:
62 A01DetectorConstMessenger* messenger;
63 A01MagneticField* magneticField;
[1337]64 G4FieldManager* fieldMgr;
[807]65
66 G4Material* air;
67 G4Material* argonGas;
68 G4Material* scintillator;
69 G4Material* CsI;
70//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
71 G4Material* lead;
72//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
73
74 G4VisAttributes* worldVisAtt;
75 G4VisAttributes* magneticVisAtt;
76 G4VisAttributes* armVisAtt;
77 G4VisAttributes* hodoscopeVisAtt;
78 G4VisAttributes* chamberVisAtt;
79 G4VisAttributes* wirePlaneVisAtt;
80 G4VisAttributes* EMcalorimeterVisAtt;
81 G4VisAttributes* cellVisAtt;
82//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
83 G4VisAttributes* HadCalorimeterVisAtt;
84 G4VisAttributes* HadCalorimeterCellVisAtt;
85//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
86
87 G4double armAngle;
88 G4RotationMatrix* armRotation;
89 G4VPhysicalVolume* secondArmPhys;
90};
91
92#endif
93
Note: See TracBrowser for help on using the repository browser.