Loading...
Searching...
No Matches
ExErrorDetectorConstruction.hh
Go to the documentation of this file.
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/// \file errProp/include/ExErrorDetectorConstruction.hh
28/// \brief Definition of the ExErrorDetectorConstruction class
29//
30
31#ifndef ExErrorDetectorConstruction_hh
32#define ExErrorDetectorConstruction_hh 1
33
34#include "globals.hh"
35#include "G4VUserDetectorConstruction.hh"
37
38class G4Box;
39class G4LogicalVolume;
41class G4Material;
43class G4UserLimits;
44
45/// Detector construction class
46///
47/// Creates a simplified typical HEP detector:
48/// An air beamline ( BEAM )
49/// An air central detector ( CDET )
50/// A copper calorimeter, divided in four ( ECAL )
51/// An aluminium calorimeter, divided in ten ( HCAL )
52/// An air muon detector ( MUON )
53///
54/// History:
55/// Created: May 2007
56/// \author P. Arce
57//------------------------------------------------------------------------
58
60{
61public:
62
65
67
68 void SetMagField(G4double);
69
70private:
71 G4double fXBEAM;
72 G4double fXCDET;
73 G4double fXECAL;
74 G4double fXSOLN;
75 G4double fXHCAL;
76 G4double fXMUON;
77 G4double fNdivECAL;
78 G4double fNdivHCAL;
79 G4double fYZLength;
81
82
84
85 ExErrorMagneticField* fMagField; // pointer to the magnetic field
86
87 ExErrorDetectorMessenger* fDetectorMessenger; // pointer to the Messenger
88};
89
90//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
91
92#endif
Definition of the ExErrorMagneticField class.
virtual G4VPhysicalVolume * Construct()
ExErrorDetectorMessenger * fDetectorMessenger

Applications | User Support | Publications | Collaboration