200 likes | 353 Views
The KATRIN Analysis Framework. 2 nd ASPERA Workshop on Computing and Astroparticle Physics B arcelona 2011. Outline. The KATRIN Experiment Data Taking and Experiment Control The Analysis Software Framework Implementation Details Conclusion & Outlook.
E N D
The KATRIN Analysis Framework 2ndASPERA Workshop on Computing and Astroparticle Physics Barcelona 2011
Outline • The KATRIN Experiment • Data Taking and Experiment Control • The Analysis Software Framework • Implementation Details • Conclusion & Outlook Marco Haag – The KATRIN Analysis Framework
The Karlsruhe TRItiumNeutrino (KATRIN) Experiment • Experimental objective: • model-independent measurementofthe absolute neutrinomassscale • sensitivity: 0.2 eV/c² (90% C.L.) • source: gaseoustritium (ß-decay) • Collaboration • 130 scientists • 5 countries • 13 institutions Marco Haag – The KATRIN Analysis Framework
β-decayandneutrinomass • Directkinematicmeasurementoftheeffectiveneutrinomass • Tritium asβ-emitter • MAC-E filter (electrostaticfilterwithmagneticadibaticcollimation) asspectrometer • Data rate: mHz - kHz Marco Haag – The KATRIN Analysis Framework
Experiment Control & Data Taking Marco Haag – The KATRIN Analysis Framework
Requirements • DAQ: around 1 GB per day • SlowControl: Large numberofheterogenouslydistributedsensors,ca. 10.000 channels • Calibration, geometryinformation, simulationresults, … • Constant monitoringisnecessarytomaintainhighlystableoperatingconditionsoveryears. • The neutrinomasssensitivitygoalof 0.2 eV/c2demandsmanyparameterstobereliablyknown on the ppm (10-6) level. • Data hastoberestructured, calibratedandmergedfrommany different sources, evenfor simple analysistasks. Marco Haag – The KATRIN Analysis Framework
Conventional file-baseddataaccessis not feasable: Marco Haag – The KATRIN Analysis Framework
Service OrientedArchitectureat KATRIN • ADEI (Advanced Data Extraction Interface) • SlowControl data processing and caching • PHP based web platform for online data access Marco Haag – The KATRIN Analysis Framework
Service OrientedArchitectureat KATRIN • KATRIN Data Manager • C++ WebService (Apache Webserver / FastCGI) • RPC (remote procedure call) interface andXML Binding with gSOAP 2.8 • Widget-centric C++ WebToolkitWtfor interactive web development • SQL database access through ORM (object relational mapping) abstraction layer Wt::Dbo Marco Haag – The KATRIN Analysis Framework
Service OrientedArchitectureat KATRIN • Client C++ KATRIN Library KALI • Basic utility functions (XML binding, exception handling, logging, …) • Data retrieval and upload throughRPC programming interface • Common constants and data types • ROOT (CERN) support Marco Haag – The KATRIN Analysis Framework
Service OrientedArchitectureat KATRIN Marco Haag – The KATRIN Analysis Framework
The Benefitsof a Service OrientedApproach • Well defined data flow and server-side processing(unnecessary data transfer is minimized) • Automated data quality and integrity checks • Central versionanduseraccesscontrol • Reliabletransactionhandling • Data access through intuitive and consistent programming interfaces • Standardized code, common constants and data formats • Server-sidedataprocessingisperformedbyonlyfew maintainable services • Consistent set of clientapplications (analysisandsimulation) speaking a „similarlanguage“ Marco Haag – The KATRIN Analysis Framework
Offline Analysis Marco Haag – The KATRIN Analysis Framework
Online Analysis (Browser Screenshot) External PHP application (ADEI) accessing KATRIN DAQ datathrough PHP-SOAP. (Plugindevelopedby Sebastian Vöcking, University of Münster) Marco Haag – The KATRIN Analysis Framework
Online Analysis (Browser Screenshot) Combined SlowControl and DAQ data: Pixel detector hit rate over electron gun voltage. Marco Haag – The KATRIN Analysis Framework
Summary & Conclusion • C++ web servicewith SOAP interfacesforclientapplicationsimplementedandtested • Standardized RPC interfaces (remote functioncalls) nowallow intuitive accesstoheterogeneously distributed and structured data • Automateddataprocessingandcachingestablished • First stabilityandperformancetestlookvery promising • Preliminary online analysistoolsavailable • Deployable C++ clientlibraryfor offline analysesofmainspectrometercommissioningmeasurementsbythe end of 2011 Marco Haag – The KATRIN Analysis Framework
Thankyouforyourattention. n n n n n n n Marco Haag – The KATRIN Analysis Framework
References and URLs • The KATRIN Experiment:http://www-ik.fzk.de/tritium • ADEI:http://dside.dyndns.org/adei • Orca:http://orca.physics.unc.edu/~markhowe/Orca_Help • gSoap:http://www.cs.fsu.edu/~engelen/soap.html • Wt:http://www.webtoolkit.eu Marco Haag – The KATRIN Analysis Framework