From ed112e333036f2152c76236eaf6ff0d01630392c Mon Sep 17 00:00:00 2001 From: Zuzanna Chochulska <87480906+zchochul@users.noreply.github.com> Date: Wed, 2 Aug 2023 14:55:56 +0200 Subject: [PATCH] 02.08.2023 for the producer --- prod-Run3.json | 631 +++++++++++++++++++++++++++++++++++++++++++++ prod-femtodream.sh | 57 ++++ prod.sh | 83 +++--- 3 files changed, 742 insertions(+), 29 deletions(-) create mode 100644 prod-Run3.json create mode 100644 prod-femtodream.sh diff --git a/prod-Run3.json b/prod-Run3.json new file mode 100644 index 0000000..0c3768b --- /dev/null +++ b/prod-Run3.json @@ -0,0 +1,631 @@ +{ + "internal-dpl-clock": "", + "internal-dpl-aod-reader": { + "time-limit": "180", + "orbit-offset-enumeration": "0", + "orbit-multiplier-enumeration": "0", + "start-value-enumeration": "0", + "end-value-enumeration": "-1", + "step-value-enumeration": "1", + "aod-file": "~\/analysis\/AOD\/LHC22m_523308_apass4_small.root" + }, + "internal-dpl-aod-spawner": "", + "internal-dpl-aod-index-builder": "", + "timestamp-task": { + "verbose": "false", + "rct-path": "RCT\/Info\/RunInformation", + "orbit-reset-path": "CTP\/Calib\/OrbitReset", + "ccdb-url": "http:\/\/alice-ccdb.cern.ch", + "isRun2MC": "false" + }, + "track-propagation": { + "ccdb-url": "http:\/\/alice-ccdb.cern.ch", + "lutPath": "GLO\/Param\/MatLUT", + "geoPath": "GLO\/Config\/GeometryAligned", + "grpmagPath": "GLO\/Config\/GRPMagField", + "mVtxPath": "GLO\/Calib\/MeanVertex", + "minPropagationDistance": "5", + "processStandard": "true", + "processCovariance": "false" + }, + "bc-selection-task": { + "triggerBcShift": "999", + "processRun2": "false", + "processRun3": "true" + }, + "lambdakzero-preselector": { + "dIfMCgenerateK0Short": "true", + "dIfMCgenerateLambda": "true", + "dIfMCgenerateAntiLambda": "true", + "dIfMCgenerateGamma": "false", + "dIfMCgenerateHypertriton": "false", + "dIfMCgenerateAntiHypertriton": "false", + "dIfMCselectV0MotherPDG": "0", + "ddEdxPreSelectK0Short": "true", + "ddEdxPreSelectLambda": "true", + "ddEdxPreSelectAntiLambda": "true", + "ddEdxPreSelectGamma": "false", + "ddEdxPreSelectHypertriton": "false", + "ddEdxPreSelectAntiHypertriton": "false", + "ddEdxPreSelectionWindow": "7", + "dTPCNCrossedRows": "50", + "dPreselectOnlyBaryons": "false", + "processBuildAll": "true", + "processBuildMCAssociated": "false", + "processBuildValiddEdx": "false", + "processBuildValiddEdxMCAssociated": "false", + "processSkipV0sNotUsedInCascades": "false", + "processSkipV0sNotUsedInTrackedCascades": "false" + }, + "lambdakzero-builder": { + "createV0CovMats": "-1", + "d_UseAutodetectMode": "false", + "downscaleFactor": "2", + "dcanegtopv": "0.100000001", + "dcapostopv": "0.100000001", + "v0cospa": "0.94999999999999996", + "dcav0dau": "1", + "v0radius": "0.899999976", + "tpcrefit": "0", + "d_bz": "-999", + "d_UseAbsDCA": "true", + "d_UseWeightedPCA": "false", + "useMatCorrType": "2", + "rejDiffCollTracks": "0", + "d_doTrackQA": "false", + "d_QA_checkMC": "true", + "d_QA_checkdEdx": "false", + "ccdb-url": "http:\/\/alice-ccdb.cern.ch", + "grpPath": "GLO\/GRP\/GRP", + "grpmagPath": "GLO\/Config\/GRPMagField", + "lutPath": "GLO\/Param\/MatLUT", + "geoPath": "GLO\/Config\/GeometryAligned", + "mVtxPath": "GLO\/Calib\/MeanVertex", + "d_doQA": "false", + "dQANBinsRadius": "500", + "dQANBinsPtCoarse": "10", + "dQANBinsMass": "400", + "dQAMaxPt": "5", + "dQAGammaMassWindow": "0.0500000007", + "dQAK0ShortMassWindow": "0.00499999989", + "dQALambdaMassWindow": "0.00499999989", + "axisPtQA": { + "values": [ + "0", + "0", + "0.10000000149011612", + "0.20000000298023224", + "0.30000001192092896", + "0.40000000596046448", + "0.5", + "0.60000002384185791", + "0.69999998807907104", + "0.80000001192092896", + "0.89999997615814209", + "1", + "1.1000000238418579", + "1.2000000476837158", + "1.2999999523162842", + "1.3999999761581421", + "1.5", + "1.6000000238418579", + "1.7000000476837158", + "1.7999999523162842", + "1.8999999761581421", + "2", + "2.2000000476837158", + "2.4000000953674316", + "2.5999999046325684", + "2.7999999523162842", + "3", + "3.2000000476837158", + "3.4000000953674316", + "3.5999999046325684", + "3.7999999523162842", + "4", + "4.4000000953674316", + "4.8000001907348633", + "5.1999998092651367", + "5.5999999046325684", + "6", + "6.5", + "7", + "7.5", + "8", + "9", + "10", + "11", + "12", + "13", + "14", + "15", + "17", + "19", + "21", + "23", + "25", + "30", + "35", + "40", + "50" + ] + }, + "axisTopoVarPointingAngle": { + "values": [ + "50", + "0", + "1" + ] + }, + "axisTopoVarRAP": { + "values": [ + "50", + "0", + "1" + ] + }, + "axisTopoVarV0Radius": { + "values": [ + "500", + "0", + "100" + ] + }, + "axisTopoVarDCAV0Dau": { + "values": [ + "200", + "0", + "2" + ] + }, + "axisTopoVarDCAToPV": { + "values": [ + "200", + "-1", + "1" + ] + }, + "axisTopoVarDCAV0ToPV": { + "values": [ + "200", + "0", + "5" + ] + }, + "axisX": { + "values": [ + "200", + "0", + "200" + ] + }, + "axisRadius": { + "values": [ + "500", + "0", + "50" + ] + }, + "processRun2": "false", + "processRun3": "true" + }, + "event-selection-task": { + "syst": "pp", + "muonSelection": "0", + "customDeltaBC": "-1", + "isMC": "false", + "processRun2": "false", + "processRun3": "true" + }, + "pid-multiplicity": { + "processIU": "false", + "processStandard": "true" + }, + "tof-signal": { + "processRun3": "true", + "processRun2": "false" + }, + "tpc-pid": { + "param-file": "", + "ccdb-url": "http:\/\/alice-ccdb.cern.ch", + "ccdbPath": "Analysis\/PID\/TPC\/Response", + "recoPass": "", + "ccdb-timestamp": "0", + "useNetworkCorrection": "false", + "autofetchNetworks": "true", + "skipTPCOnly": "false", + "networkPathLocally": "network.onnx", + "enableNetworkOptimizations": "true", + "networkPathCCDB": "Analysis\/PID\/TPC\/ML", + "networkSetNumThreads": "0", + "pid-el": "-1", + "pid-mu": "-1", + "pid-pi": "-1", + "pid-ka": "-1", + "pid-pr": "-1", + "pid-de": "-1", + "pid-tr": "-1", + "pid-he": "-1", + "pid-al": "-1" + }, + "multiplicity-table": { + "doVertexZeq": "1", + "processRun2": "false", + "processRun3": "true" + }, + "ft0-corrected-table": "", + "lambdakzero-initializer": "", + "tof-event-time": { + "minMomentum": "0.5", + "maxMomentum": "2", + "maxEvTimeTOF": "100000", + "paramFileName": "", + "ccdb-url": "http:\/\/alice-ccdb.cern.ch", + "parametrizationPath": "TOF\/Calib\/Params", + "passName": "", + "ccdb-timestamp": "-1", + "loadResponseFromCCDB": "false", + "fatalOnPassNotAvailable": "true", + "sel8TOFEvTime": "false", + "maxNtracksInSet": "10", + "processRun2": "false", + "processNoFT0": "false", + "processFT0": "true", + "processOnlyFT0": "false" + }, + "lambdakzero-v0-data-link-builder": "", + "tof-pid": { + "paramFileName": "", + "ccdb-url": "http:\/\/alice-ccdb.cern.ch", + "parametrizationPath": "TOF\/Calib\/Params", + "timeShiftCCDBPath": "", + "passName": "", + "ccdb-timestamp": "-1", + "loadResponseFromCCDB": "false", + "enableTimeDependentResponse": "false", + "fatalOnPassNotAvailable": "true", + "enableParticle": { + "labels_rows": [ + "El", + "Mu", + "Pi", + "Ka", + "Pr", + "De", + "Tr", + "He", + "Al" + ], + "labels_cols": [ + "Enable" + ], + "values": [ + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ] + ] + }, + "processWSlice": "true", + "processWoSlice": "false" + }, + "femto-universe-producer-task": { + "ConfIsDebug": "true", + "ConfIsTrigger": "false", + "ConfIsRun3": "true", + "ConfIsMC": "false", + "ConfIsForceGRP": "false", + "ConfEvtUseTPCmult": "false", + "ConfEvtZvtx": "10", + "ConfEvtTriggerCheck": "false", + "ConfEvtTriggerSel": "0", + "ConfEvtOfflineCheck": "false", + "ConfIsActivateV0": "false", + "ConfIsActivatePhi": "true", + "ConfTrkRejectNotPropagated": "false", + "ConfTrkPDGCode": "211", + "ConfUseGlobalTrack": "true", + "ConfPtLowGlobalTrack": "0.140000001", + "ConfPtHighGlobalTrack": "5", + "ConfEtaLowGlobalTrack": "-0.800000012", + "ConfEtaHighGlobalTrack": "0.800000012", + "ConfDcaXYGlobalTrack": "2.4000001", + "ConfDcaZGlobalTrack": "3.20000005", + "ConfTpcClGlobalTrack": "88", + "ConfTpcCrosRoGlobalTrack": "70", + "ConfChi2TpcGlobalTrack": "4", + "ConfChi2ItsGlobalTrack": "36", + "ConfTrkSign": { + "values": [ + "-1", + "1" + ] + }, + "ConfTrkPtMin": { + "values": [ + "0.2" + ] + }, + "ConfTrkPtMax": { + "values": [ + "4.00" + ] + }, + "ConfTrkEtaMax": { + "values": [ + "0.8" + ] + }, + "ConfTrkTPCnClsMin": { + "values": [ + "70" + ] + }, + "ConfTrkTPCfClsMin": { + "values": [ + "0.83" + ] + }, + "ConfTrkTPCcRowsMin": { + "values": [ + "70" + ] + }, + "ConfTrkTPCsClsMax": { + "values": [ + "0.1" + ] + }, + "ConfTrkITSnClsMin": { + "values": [ + "-1" + ] + }, + "ConfTrkITSnClsIbMin": { + "values": [ + "-1" + ] + }, + "ConfTrkDCAxyMax": { + "values": [ + "0.1" + ] + }, + "ConfTrkDCAzMax": { + "values": [ + "0.2" + ] + }, + "ConfTrkPIDnSigmaMax": { + "values": [ + "5" + ] + }, + "ConfTrkPIDnSigmaOffsetTPC": "0", + "ConfTrkPIDnSigmaOffsetTOF": "0", + "ConfTrkPIDspecies": { + "values": [ + "2", + "3", + "4" + ] + }, + "ConfV0Sign": { + "values": [ + "-1", + "1" + ] + }, + "ConfV0PtMin": { + "values": [ + "0.3" + ] + }, + "ConfV0PtMax": { + "values": [ + "999" + ] + }, + "ConfV0EtaMax": { + "values": [ + "999" + ] + }, + "ConfV0DCAdaughMax": { + "values": [ + "1.5", + "1.2" + ] + }, + "ConfV0CPAMin": { + "values": [ + "0.99", + "0.988", + "0.992" + ] + }, + "ConfV0TranRadMin": { + "values": [ + "0.2" + ] + }, + "ConfV0TranRadMax": { + "values": [ + "100" + ] + }, + "ConfV0DecVecMax": { + "values": [ + "100" + ] + }, + "ConfChildSign": { + "values": [ + "-1", + "1" + ] + }, + "ConfChildEtaMax": { + "values": [ + "0.8", + "0.77", + "0.83" + ] + }, + "ConfChildTPCnClsMin": { + "values": [ + "70", + "80" + ] + }, + "ConfChildDCAMin": { + "values": [ + "0.05" + ] + }, + "ConfChildPIDnSigmaMax": { + "values": [ + "5", + "4" + ] + }, + "ConfChildPIDspecies": { + "values": [ + "2", + "4" + ] + }, + "ConfV0InvV0MassLowLimit": "1.11170006", + "ConfV0InvV0MassUpLimit": "1.11969995", + "ConfV0RejectKaons": "true", + "ConfV0InvKaonMassLowLimit": "0.479999989", + "ConfV0InvKaonMassUpLimit": "0.514999986", + "ConfPhiSign": { + "values": [ + "-1", + "1" + ] + }, + "ConfPhiPtMin": { + "values": [ + "0.300000012", + "0.400000006", + "0.5" + ] + }, + "ConfPhiPtMax": { + "values": [ + "3.29999995", + "3.4000001", + "3.5" + ] + }, + "ConfPhiEtaMax": { + "values": [ + "0.800000012", + "0.699999988", + "0.899999976" + ] + }, + "ConfPhiDCAdaughMax": { + "values": [ + "1.20000005", + "1.5" + ] + }, + "ConfPhiCPAMin": { + "values": [ + "0.99000001", + "0.995000005" + ] + }, + "ConfPhiTranRadMin": { + "values": [ + "0.200000003" + ] + }, + "ConfPhiTranRadMax": { + "values": [ + "100" + ] + }, + "ConfPhiDecVecMax": { + "values": [ + "100" + ] + }, + "ConfPhiChildSign": { + "values": [ + "-1", + "1" + ] + }, + "ConfPhiChildEtaMax": { + "values": [ + "0.800000012" + ] + }, + "ConfPhiChildTPCnClsMin": { + "values": [ + "80", + "70", + "60" + ] + }, + "ConfPhiChildDCAMin": { + "values": [ + "0.0500000007", + "0.0599999987" + ] + }, + "ConfPhiChildPIDnSigmaMax": { + "values": [ + "5", + "4" + ] + }, + "ConfPhiChildPIDspecies": { + "values": [ + "3", + "3" + ] + }, + "ConfNsigmaCombinedKaon": "3", + "ConfNsigmaTPCKaon": "3", + "ConfNsigmaTPCTOFKaon": "true", + "ConfInvMassLowLimitPhi": "1.0", + "ConfInvMassUpLimitPhi": "1.04", + "ConfPDGCodePartOne": "321", + "ConfPDGCodePartTwo": "321", + "processFullData": "false", + "processFullMC": "false", + "processTrackData": "false", + "processTrackPhiData": "true" + }, + "internal-dpl-aod-writer": "", + "internal-dpl-aod-global-analysis-file-sink": "", + "internal-dpl-injected-dummy-sink": "" +} diff --git a/prod-femtodream.sh b/prod-femtodream.sh new file mode 100644 index 0000000..9739c76 --- /dev/null +++ b/prod-femtodream.sh @@ -0,0 +1,57 @@ +#!/bin/bash + +export alien_CLOSE_SE=ALICE::UPB::EOS +# export alien_CLOSE_SE=ALICE::GSI::SE2 +# export alien_CLOSE_SE=ALICE::FZK::SE + +#ConfigFile="./configuration_22fpass4.json" +ConfigFile="./prod-Run3.json" + +Prefix="feature-bininng-22m_pass4-" + +Output="AnalysisResults.root" +OutputQA="QAResults.root" +Derived="FemtoAO2D" + +echo "----------Start Job----------" +date +Start=$(date '+%s') + + o2-analysis-timestamp -b --configuration json://$ConfigFile | + o2-analysis-event-selection -b --configuration json://$ConfigFile | + o2-analysis-multiplicity-table -b --configuration json://$ConfigFile | + o2-analysis-track-propagation -b --configuration json://$ConfigFile | + o2-analysis-pid-tpc-base -b --configuration json://$ConfigFile | + o2-analysis-pid-tpc -b --configuration json://$ConfigFile | + o2-analysis-pid-tof-base -b --configuration json://$ConfigFile | + o2-analysis-pid-tof -b --configuration json://$ConfigFile | + o2-analysis-pid-tof-full -b --configuration json://$ConfigFile | + o2-analysis-pid-tpc-full -b --configuration json://$ConfigFile | + #o2-analysis-zdc-converter -b --configuration json://$ConfigFile | + o2-analysis-ft0-corrected-table -b --configuration json://$ConfigFile | + o2-analysis-lf-lambdakzerobuilder -b --configuration json://$ConfigFile | #comment for producer-reduced + o2-analysis-cf-femtodream-producer -b --configuration json://$ConfigFile --aod-writer-resfile FemtoAO2D --aod-writer-keep AOD/FDPARTICLE/0,AOD/FDCOLLISION/0,AOD/FDEXTPARTICLE/0 #| + #o2-analysis-cf-femtouniverse-pair-track-track -b --configuration json://$ConfigFile + + #--aod-writer-resfile FemtoAO2D --aod-writer-keep AOD/FEMTODREAMPARTS/0,AOD/FEMTODREAMMCPS/0,AOD/FEMTOMCLABELS/0,AOD/FEMTODREAMCOLS/0 + + #--aod-writer-resfile FemtoAO2D --aod-writer-keep AOD/FEMTODREAMPARTS/0,AOD/FEMTODREAMCOLS/0 + +if [ -f "$Output" ]; then + mv "$Output" "${Prefix}${Output}" +fi + +if [ -f "$OutputQA" ]; then + mv "$OutputQA" "${Prefix}${OutputQA}" +fi + +# if [ -f "$Derived" ]; then +# mv "$Derived" "${Prefix}${Derived}" +# fi + +date +echo "----------End Job----------" +End=$(date '+%s') +echo "Duration $(date -d@$((End - Start)) -u '+%H:%M:%S')" + +#exit 0 diff --git a/prod.sh b/prod.sh index 3a3ac1c..c0740c4 100644 --- a/prod.sh +++ b/prod.sh @@ -1,31 +1,56 @@ #!/bin/bash -# alien-token-init desharma - -config_file=$1 -writer_file=$2 - -o2-analysis-collision-converter --configuration json://$config_file -b | -o2-analysis-trackselection --configuration json://$config_file -b | -o2-analysis-timestamp --configuration json://$config_file -b | -o2-analysis-multiplicity-table --configuration json://$config_file -b | -o2-analysis-centrality-table --configuration json://$config_file -b | -#o2-analysis-fdd-converter --configuration json://$config_file -b | -o2-analysis-event-selection --configuration json://$config_file -b | -o2-analysis-trackextension --configuration json://$config_file -b | -o2-analysis-pid-tpc --configuration json://$config_file -b | -o2-analysis-pid-tof-base --configuration json://$config_file -b | -o2-analysis-pid-tpc-base --configuration json://$config_file -b | -o2-analysis-pid-tof --configuration json://$config_file --aod-memory-rate-limit 600000000 -b | -o2-analysis-pid-tof-beta --configuration json://$config_file --aod-memory-rate-limit 600000000 -b | -o2-analysis-pid-tof-full --configuration json://$config_file --aod-memory-rate-limit 600000000 -b | -o2-analysis-zdc-converter --configuration json://$config_file --aod-memory-rate-limit 600000000 -b | -o2-analysis-pid-tpc-full --configuration json://$config_file --aod-memory-rate-limit 600000000 -b | -o2-analysis-lf-lambdakzerobuilder --configuration json://$config_file -b | -#o2-analysis-hf-refit-pv-dummy --configuration json://$config_file --aod-memory-rate-limit 600000000 -b | -o2-analysis-track-to-collision-associator --configuration json://$config_file --aod-memory-rate-limit 600000000 -b | -o2-analysis-hf-track-index-skim-creator --configuration json://$config_file --aod-memory-rate-limit 600000000 -b | -o2-analysis-hf-candidate-creator-2prong --configuration json://$config_file --aod-memory-rate-limit 600000000 -b | -o2-analysis-hf-candidate-selector-d0 --configuration json://$config_file --aod-memory-rate-limit 600000000 -b | -o2-analysis-cf-femto-world-producer --configuration json://$config_file --aod-writer-json $writer_file -b #&>output.log & -# o2-analysis-cf-femto-world-producer --configuration json://$config_file --aod-writer-resfile FemtoAO2D --aod-writer-keep AOD/FEMTOWORLDPARTS/0,AOD/FEMTOWORLDCOLS/0 -b &>output.log & \ No newline at end of file +export alien_CLOSE_SE=ALICE::UPB::EOS +# export alien_CLOSE_SE=ALICE::GSI::SE2 +# export alien_CLOSE_SE=ALICE::FZK::SE + +#ConfigFile="./configuration_22fpass4.json" +ConfigFile="./prod-Run3.json" +#ConfigFile="./run-femtodream-hyperloop.json" + +Prefix="feature-bininng-22m_pass4-" + +Output="AnalysisResults.root" +OutputQA="QAResults.root" +Derived="FemtoAO2D" + +echo "----------Start Job----------" +date +Start=$(date '+%s') + + o2-analysis-timestamp -b --configuration json://$ConfigFile | + o2-analysis-event-selection -b --configuration json://$ConfigFile | + o2-analysis-multiplicity-table -b --configuration json://$ConfigFile | + o2-analysis-track-propagation -b --configuration json://$ConfigFile | + o2-analysis-pid-tpc-base -b --configuration json://$ConfigFile | + o2-analysis-pid-tpc -b --configuration json://$ConfigFile | + o2-analysis-pid-tof-base -b --configuration json://$ConfigFile | + o2-analysis-pid-tof -b --configuration json://$ConfigFile | + #o2-analysis-zdc-converter -b --configuration json://$ConfigFile | + o2-analysis-ft0-corrected-table -b --configuration json://$ConfigFile | + #o2-analysis-lf-lambdakzerobuilder -b --configuration json://$ConfigFile | #comment for producer-reduced + o2-analysis-cf-femtouniverse-producer -b --configuration json://$ConfigFile --aod-writer-resfile FemtoAO2D --aod-writer-keep AOD/FDPARTICLE/0,AOD/FDCOLLISION/0,AOD/FDEXTPARTICLE/0 #| + #o2-analysis-cf-femtouniverse-pair-track-track -b --configuration json://$ConfigFile + + #--aod-writer-resfile FemtoAO2D --aod-writer-keep AOD/FEMTODREAMPARTS/0,AOD/FEMTODREAMMCPS/0,AOD/FEMTOMCLABELS/0,AOD/FEMTODREAMCOLS/0 + + #--aod-writer-resfile FemtoAO2D --aod-writer-keep AOD/FEMTODREAMPARTS/0,AOD/FEMTODREAMCOLS/0 + +if [ -f "$Output" ]; then + mv "$Output" "${Prefix}${Output}" +fi + +if [ -f "$OutputQA" ]; then + mv "$OutputQA" "${Prefix}${OutputQA}" +fi + +# if [ -f "$Derived" ]; then +# mv "$Derived" "${Prefix}${Derived}" +# fi + +date +echo "----------End Job----------" +End=$(date '+%s') +echo "Duration $(date -d@$((End - Start)) -u '+%H:%M:%S')" + +#exit 0