SND@LHC Software
Loading...
Searching...
No Matches
study_thinTarget.Block Class Reference
Inheritance diagram for study_thinTarget.Block:
Collaboration diagram for study_thinTarget.Block:

Public Member Functions

 __init__ (self)
 
 ConstructGeometry (self)
 
 InitParContainers ()
 

Detailed Description

Definition at line 54 of file study_thinTarget.py.

Constructor & Destructor Documentation

◆ __init__()

study_thinTarget.Block.__init__ (   self)

Definition at line 56 of file study_thinTarget.py.

56 def __init__(self): ROOT.pyFairModule.__init__(self,self)

Member Function Documentation

◆ ConstructGeometry()

study_thinTarget.Block.ConstructGeometry (   self)

Definition at line 57 of file study_thinTarget.py.

57 def ConstructGeometry(self):
58 print("Construct Block")
59 top=ROOT.gGeoManager.GetTopVolume()
60 geoLoad=ROOT.FairGeoLoader.Instance()
61 geoFace=geoLoad.getGeoInterface()
62 media=geoFace.getMedia()
63 geoBuild=geoLoad.getGeoBuilder()
64 ShipMedium=media.getMedium(material)
65 W = ROOT.gGeoManager.GetMedium(material)
66 if not W:
67 rc = geoBuild.createMedium(ShipMedium)
68 W = ROOT.gGeoManager.GetMedium(material)
69 aBox = ROOT.gGeoManager.MakeBox("target", W, 100.*u.cm, 100.*u.cm, thickness)
70 top.AddNode(aBox, 1, ROOT.TGeoTranslation(0, 0, 0 ))

◆ InitParContainers()

study_thinTarget.Block.InitParContainers ( )

Definition at line 71 of file study_thinTarget.py.

71 def InitParContainers():
72 print("not implemented!")
73

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