@@ -1818,6 +1818,7 @@ void AODProducerWorkflowDPL::init(InitContext& ic)
18181818 mAnchorProd = ic.options ().get <std::string>(" anchor-prod" );
18191819 mUser = ic.options ().get <std::string>(" created-by" );
18201820 mRecoPass = ic.options ().get <std::string>(" reco-pass" );
1821+ mAODParent = ic.options ().get <std::string>(" aod-parent" );
18211822 mTFNumber = ic.options ().get <int64_t >(" aod-timeframe-id" );
18221823 mRecoOnly = ic.options ().get <int >(" reco-mctracks-only" );
18231824 mTruncate = ic.options ().get <int >(" enable-truncation" );
@@ -2615,7 +2616,7 @@ void AODProducerWorkflowDPL::run(ProcessingContext& pc)
26152616 pc.outputs ().snapshot (Output{" AMD" , " AODMetadataVals" , 0 }, mMetaDataVals );
26162617
26172618 pc.outputs ().snapshot (Output{" TFN" , " TFNumber" , 0 }, tfNumber);
2618- pc.outputs ().snapshot (Output{" TFF" , " TFFilename" , 0 }, " " );
2619+ pc.outputs ().snapshot (Output{" TFF" , " TFFilename" , 0 }, mAODParent );
26192620
26202621 mTimer .Stop ();
26212622}
@@ -3485,6 +3486,7 @@ DataProcessorSpec getAODProducerWorkflowSpec(GID::mask_t src, bool enableSV, boo
34853486 ConfigParamSpec{" anchor-pass" , VariantType::String, " " , {" AnchorPassName" }},
34863487 ConfigParamSpec{" anchor-prod" , VariantType::String, " " , {" AnchorProduction" }},
34873488 ConfigParamSpec{" reco-pass" , VariantType::String, " " , {" RecoPassName" }},
3489+ ConfigParamSpec{" aod-parent" , VariantType::String, " " , {" Parent AOD file name (if any)" }},
34883490 ConfigParamSpec{" created-by" , VariantType::String, " " , {" Who created this AO2D" }},
34893491 ConfigParamSpec{" nthreads" , VariantType::Int, std::max (1 , int (std::thread::hardware_concurrency () / 2 )), {" Number of threads" }},
34903492 ConfigParamSpec{" reco-mctracks-only" , VariantType::Int, 0 , {" Store only reconstructed MC tracks and their mothers/daughters. 0 -- off, != 0 -- on" }},
0 commit comments