File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -555,6 +555,17 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True):
555555# MFT
556556[[ -f $PWD/mft_GeometryTGeo.root ]] && mkdir -p $ALICEO2_CCDB_LOCALCACHE/MFT/Config/Geometry && ln -s -f $PWD/mft_GeometryTGeo.root $ALICEO2_CCDB_LOCALCACHE/MFT/Config/Geometry/snapshot.root
557557'''
558+ # For now create for Run 4 geometry the alignment objects on the spot and take them as being ideal
559+ if args .detectorList == 'ALICE2.1' :
560+ geom_cmd = f'''
561+ o2-sim --detectorList ALICE2.1 -n0
562+ mkdir -p $ALICEO2_CCDB_LOCALCACHE/GLO/Config/Geometry
563+ ln -s -f $PWD/o2sim_geometry.root $ALICEO2_CCDB_LOCALCACHE/GLO/Config/Geometry/snapshot.root
564+ # ccdb objects are for now guaranteed to be ideal ones
565+ ${{O2_ROOT}}/bin/o2-create-aligned-geometry-workflow -b --run
566+ [[ -f $PWD/its_GeometryTGeo.root ]] && mkdir -p $ALICEO2_CCDB_LOCALCACHE/ITS/Config/Geometry && ln -s -f $PWD/its_GeometryTGeo.root $ALICEO2_CCDB_LOCALCACHE/ITS/Config/Geometry/snapshot.root
567+ [[ -f $PWD/mft_GeometryTGeo.root ]] && mkdir -p $ALICEO2_CCDB_LOCALCACHE/MFT/Config/Geometry && ln -s -f $PWD/mft_GeometryTGeo.root $ALICEO2_CCDB_LOCALCACHE/MFT/Config/Geometry/snapshot.root
568+ '''
558569
559570with open ("geomprefetcher_script.sh" ,'w' ) as f :
560571 f .write (geom_cmd )
You can’t perform that action at this time.
0 commit comments