AuroraMaster

From Charm-Tau Detector
(Difference between revisions)
Jump to: navigation, search
(Replaced content with " The AuroraMaster analysis configuration system used in Aurora version 2.x has been removed in the development version (branch [https://git.inp.nsk.su/sctau/aurora/-/tree/...")
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
−
= Introduction =
 
  
−
The AuroraMaster package contains python classes providing high level interfaces to the Aurora algorithms and tools. To begin working with AuroraMaster you need to instantiate the AuroraMaster class:
+
The AuroraMaster analysis configuration system used in Aurora version 2.x has been removed in the development version (branch [https://git.inp.nsk.su/sctau/aurora/-/tree/dev-gcf1?ref_type=heads dev-gcf1]).
−
 
+
The analysis is now configured by creation of various analysis tools using usual Python functions and joining them into analysis-tool chain of AnalysisAlgorithm.
−
from AuroraMaster.auroramaster import AuroraMaster
+
Please see the page [[Use_Analysis_package]] for details.
−
am = AuroraMaster(purpose='parsim', olvl='info')
+
−
 
+
−
The first argument specifies purpose of the job option. Possible values are: <code>'parsim'</code>, <code>'fullsim'</code>, <code>'evtgen'</code>, and <code>'analysis'</code>. AuroraMaster initializes
+
−
Aurora services corresponding to the job option purpose. The second argument specifies general output level (<code>'debug'</code> or <code>'info'</code>).
+
−
 
+
−
A job option is formed by a stack of predefined components. Each component has corresponding method in the AuroraMaster class. Let's begin with an example. The following code snippet is a complete job option for event generation and saving them to ROOT file:
+
−
 
+
−
from AuroraMaster.auroramaster import AuroraMaster, AuroraConfig
+
−
# Instantiate AuroraMaster
+
−
am = AuroraMaster('evtgen', 'info')
+
−
# Plug EvtGen generator with specified root particle and user's decay file
+
−
evtgenCfg = {
+
−
    'root' : 'psi(3770)',
+
−
    'dec': './dkpi.dec'
+
−
}
+
−
am.add_evtgen(cfg=evtgenCfg)
+
−
# Plug
+
−
edmoutputCfg = {
+
−
    'filename': 'parsim.root',
+
−
    'commands': ['keep *'],
+
−
}
+
−
am.add_edmo(cfg=edmoutputCfg)
+
−
am.run(evtmax=10**4)
+

Latest revision as of 16:52, 30 May 2025

The AuroraMaster analysis configuration system used in Aurora version 2.x has been removed in the development version (branch dev-gcf1). The analysis is now configured by creation of various analysis tools using usual Python functions and joining them into analysis-tool chain of AnalysisAlgorithm. Please see the page Use_Analysis_package for details.

Personal tools