11#! /bin/bash
2+ # Copyright 2019-2020 CERN and copyright holders of ALICE O2.
3+ # See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
4+ # All rights not expressly granted are reserved.
5+ #
6+ # This software is distributed under the terms of the GNU General Public
7+ # License v3 (GPL Version 3), copied verbatim in the file "COPYING".
8+ #
9+ # In applying this license CERN does not waive the privileges and immunities
10+ # granted to it by virtue of its status as an Intergovernmental Organization
11+ # or submit itself to any jurisdiction.
212
3- OPTION=" -b --configuration json://myConfigExtractor.json"
13+ OPTION=" $1 "
14+ EXECUTABLE=" o2-analysis-pid-feature-extractor"
415
5- # Specify the executable binary directly (adjust the path as needed)
6- EXECUTABLE=~ /alice/sw/BUILD/O2Physics-latest/O2Physics/stage/bin/o2-analysistutorial-mm-my-example-task-pid-feature-extractor
7- CONFIG_PATH=" $( pwd) /myConfigExtractor.json"
8- OPTION=" -b --configuration json://$CONFIG_PATH "
9-
10-
11- echo " Starting O2Physics PID Feature Extraction Workflow..."
12- echo " Using configuration: myConfigExtractor.json"
13-
14- o2-analysis-timestamp ${OPTION} | \
15- o2-analysis-event-selection ${OPTION} | \
16- o2-analysis-tracks-extra-v002-converter ${OPTION} | \
17- o2-analysis-track-propagation ${OPTION} | \
18- o2-analysis-pid-tpc-base ${OPTION} | \
19- o2-analysis-pid-tpc ${OPTION} | \
20- o2-analysis-pid-tof-base ${OPTION} | \
21- o2-analysis-pid-tof ${OPTION} | \
22- o2-analysis-pid-tof-beta ${OPTION} | \
23- o2-analysis-multiplicity-table ${OPTION} | \
24- o2-analysis-mccollision-converter ${OPTION} | \
25- ${EXECUTABLE} ${OPTION}
26-
27- echo " Check output files (e.g. pid_features.csv, pid_features.root)"
16+ o2-analysis-timestamp " ${OPTION} " | \
17+ o2-analysis-event-selection " ${OPTION} " | \
18+ o2-analysis-tracks-extra-v002-converter " ${OPTION} " | \
19+ o2-analysis-track-propagation " ${OPTION} " | \
20+ o2-analysis-pid-tpc-base " ${OPTION} " | \
21+ o2-analysis-pid-tpc " ${OPTION} " | \
22+ o2-analysis-pid-tof-base " ${OPTION} " | \
23+ o2-analysis-pid-tof " ${OPTION} " | \
24+ o2-analysis-pid-tof-beta " ${OPTION} " | \
25+ o2-analysis-multiplicity-table " ${OPTION} " | \
26+ o2-analysis-mccollision-converter " ${OPTION} " | \
27+ " ${EXECUTABLE} " " ${OPTION} "
0 commit comments