source: trunk/examples/extended/errorpropagation/include/ExErrorDetectorConstruction.hh@ 1022

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

update

File size: 3.2 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// GEANT 4 class header file
28// ------------------------------------------------------------
29//
30// Class Description:
31//
32// Creates a simplified typical HEP detector:
33// An air beamline ( BEAM )
34// An air central detector ( CDET )
35// A copper calorimeter, divided in four ( ECAL )
36// An aluminium calorimeter, divided in ten ( HCAL )
37// An air muon detector ( MUON )
38//
39// History:
40// - Created: P. Arce May 2007
41//
42
43#ifndef ExErrorDetectorConstruction_hh
44#define ExErrorDetectorConstruction_hh 1
45
46#include "globals.hh"
47#include "G4VUserDetectorConstruction.hh"
48#include "ExErrorMagneticField.hh"
49
50class G4Box;
51class G4LogicalVolume;
52class G4VPhysicalVolume;
53class G4Material;
54class ExErrorDetectorMessenger;
55class G4UserLimits;
56
57//------------------------------------------------------------------------
58class ExErrorDetectorConstruction : public G4VUserDetectorConstruction
59{
60public:
61
62 ExErrorDetectorConstruction();
63 ~ExErrorDetectorConstruction();
64
65 G4VPhysicalVolume* Construct();
66
67 void SetMagField(G4double);
68
69private:
70 G4double xBEAM;
71 G4double xCDET;
72 G4double xECAL;
73 G4double xSOLN;
74 G4double xHCAL;
75 G4double xMUON;
76 G4double ndivECAL;
77 G4double ndivHCAL;
78 G4double yzLength;
79 G4double xHalfWorldLength;
80
81
82 G4UserLimits* userLimits;
83
84 ExErrorMagneticField* fpMagField; // pointer to the magnetic field
85
86 ExErrorDetectorMessenger* detectorMessenger; // pointer to the Messenger
87};
88
89//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
90
91#endif
Note: See TracBrowser for help on using the repository browser.