80 likes | 166 Views
CKOV Model Status. Hideyuki Sakamoto MICE Software Phone Conference. Contents. History from PID review CSG/Boolean Solids Example by simple cone Next step. History. STEP/STEPinteface
E N D
CKOV Model Status Hideyuki Sakamoto MICE Software Phone Conference
Contents • History from PID review • CSG/Boolean Solids • Example by simple cone • Next step
History • STEP/STEPinteface • At first, trying to apply by using these interfaces, defined at Geant4 to read out step file created by CAD system. • But it failed when applied in G4MICE. There are no error messages, just creates empty VRML file!! There are two possibilities bugs, STEP/STEPinterface or visualization. • Stopped to follow this method due to “inefficient in terms of CPU use”, commented by Malcolm. • CSG/Boolean solids • Now, Ckov Mirror will be realized by CSG/Boolean solids, defined in Geant4.
CSG/Boolean Solids • CSG • Elliptical Cone ( cone with elliptical cross section ) G4EllipticalCone(“name”,px,py,HightOfCone,pztopcut) • Boolean • Union & Subtraction G4Union(“name”,firstSolid,secondSolid,Rotation,Translation) G4Subtraction(“name”,firstSolid,secondSolid,Rotation,Translation) SecondSolid is set with respect to firstSolid by given Roration & Translation
Z Method • Define Elliptical Cone • Subtraction • Creating cone with thickness by subtracting by using same shape but shifted by amount of thickness. • Union • Locating with prescribed tilting. • Dummy box is set to align the cone. • Subtraction • Cutting boundary surfaces (PMT, Front and neighboring cones) • Union • Adding remaining 4 cones ->complete! dummy PMT Front Neighborhood
Next Bug… • Bug encountered next is EllipticalCone… • confirmed by Malcolm that it is genuine bug in Geant4. • This bug have roots in the function of AllocateMemory defined in HepPolyhedron [/source/graphics_reps/src/HepPolyhedron.cc] called when the constructor of EllipticalCone is invoked. • I think this caused by releasing the same pointer twice. • It was reported by Malcolm to Geant4 Developers, and waiting for their response. I used Simple Cone instead of EllipticalCone for now.
Trial Model using Cone ~ test of boolean solids ~ Output from CAD system Beam Here PMT is located. Filling with material, not hollowed out.
Next steps • Simulation • Break until G4bug will be fixed. • If no response will taken from them, it will be fixed for myself. • Digitization • ADC or PhotoElectron will be added. • Analysis • Making macro file for ROOT • Raytracing?