VMC Examples
Version 6.8
Toggle main menu visibility
Loading...
Searching...
No Matches
examples
E02
include
Ex02DetectorConstructionOld.h
Go to the documentation of this file.
1
#ifndef EX02_DETECTOR_CONSTRUCTION_OLD_H
2
#define EX02_DETECTOR_CONSTRUCTION_OLD_H
3
4
//------------------------------------------------
5
// The Virtual Monte Carlo examples
6
// Copyright (C) 2007 - 2014 Ivana Hrivnacova
7
// All rights reserved.
8
//
9
// For the licensing terms see geant4_vmc/LICENSE.
10
// Contact: root-vmc@cern.ch
11
//-------------------------------------------------
12
13
/// \file Ex02DetectorConstructionOld.h
14
/// \brief Definition of the Ex02DetectorConstructionOld class
15
///
16
/// Geant4 ExampleN02 adapted to Virtual Monte Carlo \n
17
/// Id: ExN02DetectorConstruction.hh,v 1.7 2002/01/09 17:24:09 ranjard Exp \n
18
/// GEANT4 tag Name: geant4-04-00-patch-02
19
///
20
/// \author I. Hrivnacova; IPN, Orsay
21
22
#include <TObject.h>
23
#include <TString.h>
24
25
/// \ingroup E02
26
/// \brief The old detector construction (via VMC functions)
27
///
28
/// \date 21/04/2002
29
/// \author I. Hrivnacova; IPN, Orsay
30
31
class
Ex02DetectorConstructionOld
:
public
TObject
32
{
33
public
:
34
Ex02DetectorConstructionOld
();
35
virtual
~Ex02DetectorConstructionOld
();
36
37
public
:
38
void
ConstructMaterials
();
39
void
ConstructGeometry
();
40
41
// set methods
42
void
SetTargetMaterial
(
const
TString& name);
43
void
SetChamberMaterial
(
const
TString& name);
44
45
/// \return The tracker full length
46
Double_t
GetTrackerFullLength
() {
return
fTrackerLength
; };
47
/// \return The target full length
48
Double_t
GetTargetFullLength
() {
return
fTargetLength
; };
49
/// \return The world full length
50
Double_t
GetWorldFullLength
() {
return
fWorldLength
; };
51
52
private
:
53
Double_t
fWorldLength
;
///< Full length of the world volume
54
Double_t
fTargetLength
;
///< Full length of Target
55
Double_t
fTrackerLength
;
///< Full length of Tracker
56
Int_t
fNofChambers
;
///< Nb of chambers in the tracker region
57
Double_t
fChamberWidth
;
///< Width of the chambers
58
Double_t
fChamberSpacing
;
///< Distance between chambers
59
Int_t
fImedAir
;
///< The Air medium Id
60
Int_t
fImedPb
;
///< The Lead medium Id
61
Int_t
fImedXe
;
///< The Xenon gas medium Id
62
63
ClassDef(
Ex02DetectorConstructionOld
, 1)
// Ex02DetectorConstructionOld
64
};
65
66
#endif
// EX02_DETECTOR_CONSTRUCTION_OLD_H
Ex02DetectorConstructionOld::GetWorldFullLength
Double_t GetWorldFullLength()
Definition
Ex02DetectorConstructionOld.h:50
Ex02DetectorConstructionOld::Ex02DetectorConstructionOld
Ex02DetectorConstructionOld()
Definition
Ex02DetectorConstructionOld.cxx:34
Ex02DetectorConstructionOld::fImedXe
Int_t fImedXe
The Xenon gas medium Id.
Definition
Ex02DetectorConstructionOld.h:61
Ex02DetectorConstructionOld::ConstructMaterials
void ConstructMaterials()
Definition
Ex02DetectorConstructionOld.cxx:72
Ex02DetectorConstructionOld::fWorldLength
Double_t fWorldLength
Full length of the world volume.
Definition
Ex02DetectorConstructionOld.h:53
Ex02DetectorConstructionOld::SetChamberMaterial
void SetChamberMaterial(const TString &name)
Definition
Ex02DetectorConstructionOld.cxx:281
Ex02DetectorConstructionOld::GetTargetFullLength
Double_t GetTargetFullLength()
Definition
Ex02DetectorConstructionOld.h:48
Ex02DetectorConstructionOld::ConstructGeometry
void ConstructGeometry()
Definition
Ex02DetectorConstructionOld.cxx:135
Ex02DetectorConstructionOld::fTrackerLength
Double_t fTrackerLength
Full length of Tracker.
Definition
Ex02DetectorConstructionOld.h:55
Ex02DetectorConstructionOld::fChamberWidth
Double_t fChamberWidth
Width of the chambers.
Definition
Ex02DetectorConstructionOld.h:57
Ex02DetectorConstructionOld::fNofChambers
Int_t fNofChambers
Nb of chambers in the tracker region.
Definition
Ex02DetectorConstructionOld.h:56
Ex02DetectorConstructionOld::fTargetLength
Double_t fTargetLength
Full length of Target.
Definition
Ex02DetectorConstructionOld.h:54
Ex02DetectorConstructionOld::fImedPb
Int_t fImedPb
The Lead medium Id.
Definition
Ex02DetectorConstructionOld.h:60
Ex02DetectorConstructionOld::~Ex02DetectorConstructionOld
virtual ~Ex02DetectorConstructionOld()
Definition
Ex02DetectorConstructionOld.cxx:64
Ex02DetectorConstructionOld::SetTargetMaterial
void SetTargetMaterial(const TString &name)
Definition
Ex02DetectorConstructionOld.cxx:272
Ex02DetectorConstructionOld::fChamberSpacing
Double_t fChamberSpacing
Distance between chambers.
Definition
Ex02DetectorConstructionOld.h:58
Ex02DetectorConstructionOld::fImedAir
Int_t fImedAir
The Air medium Id.
Definition
Ex02DetectorConstructionOld.h:59
Ex02DetectorConstructionOld::GetTrackerFullLength
Double_t GetTrackerFullLength()
Definition
Ex02DetectorConstructionOld.h:46
TObject
Generated on
for VMC Examples by
1.17.0