110 likes | 212 Views
Muon AGDD Package within Athena Framework. Mercedes Paniccia University of Rome “La Sapienza. Making AGDD. ATLAS Detector Description :. Barrel Toroid End cap Toroid Feet. Compact XML. …<compact name=“ENC_ CRYO”>
E N D
Muon AGDD Package within Athena Framework Mercedes Paniccia University of Rome “La Sapienza
Making AGDD • ATLAS Detector Description : • Barrel Toroid • End cap Toroid • Feet
Compact XML …<compact name=“ENC_ CRYO”> < ENC_CryostatT_Thickness=“30”Z_Thickness=“80”R_Thickness=“85” Tecma1=“4300” Tecma2=“5350” Secma1=“700” Secma2=“600” unit_length=“mm” StayTube_Desc=“ENC_CRYO_STAYTUBE”/> </compact> ….
Expanded XML …<tubs name=“ENC_CRYO_Inner_tube” material=“Aluminum” Rio_Z=“905 990 4840” profile=“-26.5 45” /> <tubs name=“ENC_CRYO_Stay_tube” material=“Aluminum” Rio_Z=“80 100 4840” /> <composition name=“ENC_CRYO”> <posXYZ volume=“ENC_CRYO_Inner_tube” /> <posRPhiZ volume=“ENC_CRYO_Stay_tube” R_Phi_Z=“2900 9.25 0”/> </composition> <composition name=“ENC_TOR”> <posXYZ volume=“ENC_CRYO” /> </composition>……
Why Frameworks • Common vocabulary • Change tolerant • Code re-use
Athena Framework Application Manager Algorithm ( MuonAGDD_test ) Services ( MessageSvc )
Athena Framework • How to implement : • requirements file • <Package>_load.cxx • <Package>_entries.cxx • algorithm • joboptions file
requirements file use GaudiInterface GaudiInterface<vers> External branches MuonAGDD src share data library MuonAGDD\ MuonAGDD_entries.cxx \ MuonAGDD_load.cxx \ MuonAGDD_test.cxx apply_pattern component library apply_pattern declare_runtime
Joboptions file #include “Atlas_Gen.UnixStandardJob.txt ApplicationMgr.DLLs += { “MuonAGDD” } ; ApplicationMgr.TopAlg = { “MuonAGDD_test” } ; MessageSvc.OutputLevel = 2 ; ApplicationMgr.EvtMax = 1 ; MuonAGDD_test.Inputfile = “compact.xml” ; MuonAGDD_test.Outputfile = “expanded.xml” ;