Warning, use of dollar symbol provokes strange effects in the text display. So dollar symbol have been replaced in the following instructions by "dollar_symbol" in quotes.
A) Running APRIL
1) source key4hep
source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
ATTENTION : to work, you need a version of DDMarlinPandora compiled with the APRILContent and the SDHCL content on
2) get an ILDConfig version : e.g
wget https://github.com/iLCSoft/ILDConfig/archive/refs/tags/v02-03-04.tar.gz
tar xzvf v02-03-04.tar.gz
cd ILDConfig-02-03-04/StandardConfig/production/
2.1)
edit the file ParticleFlow/PandoraPFA.xml
add in the list of MyDDMarlinPandora processor parameters the following line :
<parameter name="UseAPRIL" type="bool"> false </parameter>
copy the APRILSettings_sdhcal_WIP.xml files attached to this contribution in the PandoraSettings/ directory.
3) If you don't have an input file, simulate one from the ILDConfig howto :
ddsim --inputFiles Examples/bbudsc_3evt/bbudsc_3evt.stdhep --outputFile bbudsc_3evt_SIM.slcio --compactFile "dollar_symbol"k4geo_DIR/ILD/compact/ILD_l5_v02/ILD_l5_v02.xml --steeringFile ddsim_steer.py
4) Reconstruction with APRIL on SiW-ECAL+SDHCAL :
Marlin --constant.DetectorModel=ILD_l5_o2_v02 --constant.lcgeo_DIR="dollar_symbol"k4geo_DIR --global.LCIOInputFiles=bbudsc_3evt_SIM.slcio --constant.PandoraSettingsFile=PandoraSettings/APRILSettings_sdhcal_WIP.xml --MyRecoMCTruthLinker.TrackCollection=VOID --MyDDMarlinPandora.UseAPRIL="true" MarlinStdReco.xml
B) To install your local DDMArlinPandora with APRILContent and SDHCALContent ON :
key4hep setup should have been sourced
1) clone DDMarlinPandora
git clone https://github.com/iLCSoft/DDMarlinPandora.git
2) install
cd DDMarlinPandora/
mkdir build; cd build;
cmake -DPANDORA_MONITORING=ON -DUSE_APRILCONTENT=ON -DUSE_SDHCALCONTENT=ON ..
make install
3) setup your local DDMarlinPandora
cd ..
k4_local_repo .
4) to run : see section A above.
If you restart from a new shell, you will need to source the same key4hep setup, execute "k4_local_repo ." in your local DDMarlinPandora directory and then go back to section A.
C) Modifying APRILContent and/or SDHCALContent
1) Install APRILContent : instruction in https://github.com/SDHCAL/APRILContent
2) Install SDHCALContent : instruction in https://github.com/SDHCAL/SDHCALContent
3) once installed
cd APRILContent directory
k4_local_repo .
cd SDHCALContent directory
k4_local_repo .
then recompile DDMarlinPandora (see section B above)