Juraj Smieško (CERN)
CERN
13–16 January 2025
Analysis framework inside Key4hep ecosystem build
on top of the ROOT RDataFrame
Coherent set of packages, tools, and standards for different collider Concepts
Common language for processing and persistifying data
Or how to get and run FCCAnalyses
git clone git@github.com:HEP-FCC/FCCAnalyses.git
source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
v0.10.0
and can be obtained from:
git clone --branch v0.10.0 git@github.com:HEP-FCC/FCCAnalyses.git
source /cvmfs/sw.hsf.org/key4hep/setup.sh
winter2023
samples can be obtained only from:
git clone --branch pre-edm4hep1 git@github.com:HEP-FCC/FCCAnalyses.git
fccanalysis
command is part of the
Key4hep stack
Management of centrally produced samples
/eos/experiment/fcc/<accelerator-type>/generation/
/eos/experiment/fcc/prod/fcc/<accelerator-type>/
Various intermediate files of common interest can be stored centrally
FCC-ee space is located at:
/eos/experiment/fcc/ee/analyses_storage/...
in four sub-folders:
BSM
EW_and_QCD
flavor
Higgs_and_TOP
Access and quotas:
Set of self-contained functions/functors operating on ROOT dataframe
Analysis encapsulated into a class
fccanalysis-script
,
fccanalysis-final-script
and
fccanalysis-plots-script
manual pages
final
and
plots
stages
Analysis script can use parameters provided from the command-line.
Analysis
class
--
(double dash) are considered to belong to the script
The anatomy of the fccanalysis
command
line interface:
fccanalysis
<global-args>
<sub-command>
<sub-command-args>
<analysis-script>
--
<script-args>
Example:
fccanalysis
-vv
run
--n-threads 4
my_fcc_analysis.py
--
--pt-min 40
--
(double dash) will be introduced in PR#422
Extracting submission machinery from analysis execution
fccanalysis submit ana_script.py
Preserving EDM4hep relationships in RDataFrame
Enabling PODIO Datasource in the analysis:
edm4hep::ReconstructedParticleCollection
,
edm4hep::RecoMCParticleLinkCollection
, ...
podio::DataSource
:self.use_data_source = True
or
fccanalysis run --use-data-source ana_script.py
Improvements from users are highly welcome!
Central registry for the FCC case studies
Ensuring correctness and performance
Contacts
FCC-PED-SoftwareAndComputing-Analysis@cern.ch
Documentation
man fccanalysis
,
man fccanalysis-script
,
man fccanalysis-<subcommand>
, ...