Public Member Functions | Private Attributes | List of all members
LBNEStandardPerson Class Reference

#include <LBNEStandardPerson.hh>

Public Member Functions

 LBNEStandardPerson (G4String detName)
 
 ~LBNEStandardPerson ()
 
void ConstructSubvolume ()
 

Private Attributes

G4double fHeadRadius
 
G4double fHeight
 
G4double fLegRadius
 
G4double fLegLength
 
G4double fTorsoRadius
 
G4double fTorsoLength
 

Detailed Description

Definition at line 10 of file LBNEStandardPerson.hh.

Constructor & Destructor Documentation

LBNEStandardPerson::LBNEStandardPerson ( G4String  detName)

Definition at line 30 of file LBNEStandardPerson.cc.

31 {
32  std::cout << " LBNEStandardPerson called...with detName " << detName << std::endl;
33 // fMessenger = new LBNEStandardPersonMessenger(this);
34 }
QTextStream & endl(QTextStream &s)
LBNEStandardPerson::~LBNEStandardPerson ( )

Definition at line 36 of file LBNEStandardPerson.cc.

37 {
38 // delete fMessenger;
39 }

Member Function Documentation

void LBNEStandardPerson::ConstructSubvolume ( )

Definition at line 42 of file LBNEStandardPerson.cc.

43 {
44  // Hadron Absorber
45 
46  G4cout << "Constructing the Hadron Absorber" << G4endl;
47  G4ThreeVector absorberPosition = G4ThreeVector(0,0,0);
48 
49 
50 //---------------------------------------------------------------------------//
51 /*
52  So the absorber is a block. The outer block is concrete, the mid block is
53  steel, and there's aluminum and i guess air in there somewhere as well. For
54  construction, the outer volume will be air, and then nested shells for the
55  concrete, steel, and aluminum.
56 
57 */
58 //---------------------------------------------------------------------------//
59 //---------------------------------------------------------------------------//
60 // Dimensions
61 //---------------------------------------------------------------------------//
62 
63 //---------------------------------------------------------------------------//
64 // G4double eps = 1.0e-6*CLHEP::cm;
65 
66  fHeadRadius = 10*CLHEP::cm;
67  fHeight = 170*CLHEP::cm;
68  fLegLength = 80*CLHEP::cm;
69  fLegRadius = 15*CLHEP::cm;
71  fTorsoRadius = 18*CLHEP::cm;
72 
73  // Base Solids
74  G4Sphere* headSolid = new G4Sphere("headSolid", 0, fHeadRadius,
75  0, 360*CLHEP::deg,
76  0, 180*CLHEP::deg);
77 
78  G4Tubs* torsoSolid = new G4Tubs("torsoSolid", 0, fTorsoRadius,
79  fTorsoLength/2, 0, 360*CLHEP::deg);
80 
81  G4Tubs* legSolid = new G4Tubs("legSolid", 0, fLegRadius,
82  fLegLength/2, 0, 360*CLHEP::deg);
83 
84  G4UnionSolid *humanSolid = new G4UnionSolid("humanSolid", legSolid,
85  torsoSolid, 0,
86  G4ThreeVector(0,0,fLegLength));
87  humanSolid = new G4UnionSolid("humanSolid", humanSolid,
88  headSolid, 0,
89  G4ThreeVector(0,0,fHeadRadius +
90  0.5*fTorsoLength+fLegLength));
91 
92  G4LogicalVolume *humanLogical =
93  new G4LogicalVolume(humanSolid, G4Material::GetMaterial("Air"),
94  "HumanLogical", 0,0,0);
95 
96 
97  G4VisAttributes *Vis = new G4VisAttributes(G4Colour(0,0.3,0.3));
98  humanLogical->SetVisAttributes(Vis);
99 // fSubVolumeLogical = humanLogical;
100 }

Member Data Documentation

G4double LBNEStandardPerson::fHeadRadius
private

Definition at line 14 of file LBNEStandardPerson.hh.

G4double LBNEStandardPerson::fHeight
private

Definition at line 15 of file LBNEStandardPerson.hh.

G4double LBNEStandardPerson::fLegLength
private

Definition at line 17 of file LBNEStandardPerson.hh.

G4double LBNEStandardPerson::fLegRadius
private

Definition at line 16 of file LBNEStandardPerson.hh.

G4double LBNEStandardPerson::fTorsoLength
private

Definition at line 19 of file LBNEStandardPerson.hh.

G4double LBNEStandardPerson::fTorsoRadius
private

Definition at line 18 of file LBNEStandardPerson.hh.


The documentation for this class was generated from the following files: