Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
LXeWLSFiber.cc
이 파일의 문서화 페이지로 가기
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 // $Id: LXeWLSFiber.cc 110138 2018-05-16 07:31:43Z gcosmo $
27 //
30 //
31 //
32 #include "LXeWLSFiber.hh"
33 #include "globals.hh"
34 #include "G4LogicalSkinSurface.hh"
36 #include "G4SystemOfUnits.hh"
37 
39 
40 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
41 
43  const G4ThreeVector &tlate,
44  G4LogicalVolume *pMotherLogical,
45  G4bool pMany,
46  G4int pCopyNo,
48  :G4PVPlacement(pRot,tlate,
49  new G4LogicalVolume(new G4Box("temp",1,1,1),
50  G4Material::GetMaterial("Vacuum"),
51  "temp",0,0,0),
52  "Cladding2",pMotherLogical,pMany,pCopyNo),fConstructor(c)
53 {
54  CopyValues();
55 
56  // The Fiber
57  //
58  G4Tubs* fiber_tube =
60 
61  G4LogicalVolume* fiber_log =
62  new G4LogicalVolume(fiber_tube,G4Material::GetMaterial("PMMA"),
63  "Fiber",0,0,0);
64 
65  // Cladding (first layer)
66  //
67  G4Tubs* clad1_tube =
69  fClad1_ephi);
70 
71  G4LogicalVolume* clad1_log =
72  new G4LogicalVolume(clad1_tube,G4Material::GetMaterial("Pethylene1"),
73  "Cladding1",0,0,0);
74 
75  // Cladding (second layer)
76  //
77  G4Tubs* clad2_tube =
79  fClad2_ephi);
80 
81  fClad2_log =
82  new G4LogicalVolume(clad2_tube,G4Material::GetMaterial("Pethylene2"),
83  "Cladding2",0,0,0);
84 
85  new G4PVPlacement(0,G4ThreeVector(0.,0.,0.),fiber_log,
86  "Fiber", clad1_log,false,0);
87  new G4PVPlacement(0,G4ThreeVector(0.,0.,0.),clad1_log,
88  "Cladding1",fClad2_log,false,0);
89 
91 }
92 
93 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
94 
96 
97  fFiber_rmin = 0.00*cm;
98  fFiber_rmax = 0.10*cm;
100  fFiber_sphi = 0.00*deg;
101  fFiber_ephi = 360.*deg;
102 
103  fClad1_rmin = 0.;// fFiber_rmax;
105 
106  fClad1_z = fFiber_z;
109 
110  fClad2_rmin = 0.;//fClad1_rmax;
112 
113  fClad2_z = fFiber_z;
116 
117 }
G4double fClad2_rmax
Definition: LXeWLSFiber.hh:74
void CopyValues()
Definition: LXeWLSFiber.cc:95
CLHEP::Hep3Vector G4ThreeVector
G4double fFiber_rmin
Definition: LXeWLSFiber.hh:61
G4double fFiber_ephi
Definition: LXeWLSFiber.hh:65
G4double fClad1_ephi
Definition: LXeWLSFiber.hh:71
G4double fFiber_z
Definition: LXeWLSFiber.hh:63
G4double fClad2_z
Definition: LXeWLSFiber.hh:75
G4double fClad2_rmin
Definition: LXeWLSFiber.hh:73
Definition: G4Tubs.hh:85
G4double fClad1_z
Definition: LXeWLSFiber.hh:69
G4double fClad1_rmax
Definition: LXeWLSFiber.hh:68
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
Definition: G4Material.cc:608
LXeWLSFiber(G4RotationMatrix *pRot, const G4ThreeVector &tlate, G4LogicalVolume *pMotherLogical, G4bool pMany, G4int pCopyNo, LXeDetectorConstruction *c)
Definition: LXeWLSFiber.cc:42
Definition of the LXeWLSFiber class.
G4double fFiber_rmax
Definition: LXeWLSFiber.hh:62
bool G4bool
Definition: G4Types.hh:79
G4double fClad1_sphi
Definition: LXeWLSFiber.hh:70
static constexpr double deg
Definition: G4SIunits.hh:152
Definition: G4Box.hh:64
G4double fClad2_sphi
Definition: LXeWLSFiber.hh:76
G4PVPlacement(G4RotationMatrix *pRot, const G4ThreeVector &tlate, G4LogicalVolume *pCurrentLogical, const G4String &pName, G4LogicalVolume *pMotherLogical, G4bool pMany, G4int pCopyNo, G4bool pSurfChk=false)
void SetLogicalVolume(G4LogicalVolume *pLogical)
int G4int
Definition: G4Types.hh:78
G4double fClad1_rmin
Definition: LXeWLSFiber.hh:67
static constexpr double cm
Definition: G4SIunits.hh:119
static G4LogicalVolume * fClad2_log
Definition: LXeWLSFiber.hh:59
G4double fClad2_ephi
Definition: LXeWLSFiber.hh:77
LXeDetectorConstruction * fConstructor
Definition: LXeWLSFiber.hh:79
G4double fFiber_sphi
Definition: LXeWLSFiber.hh:64