@@ -1675,6 +1675,7 @@ void AODProducerWorkflowDPL::init(InitContext& ic)
16751675 mLPMProdTag = ic.options ().get <string>(" lpmp-prod-tag" );
16761676 mAnchorPass = ic.options ().get <string>(" anchor-pass" );
16771677 mAnchorProd = ic.options ().get <string>(" anchor-prod" );
1678+ mUser = ic.options ().get <string>(" created-by" );
16781679 mRecoPass = ic.options ().get <string>(" reco-pass" );
16791680 mTFNumber = ic.options ().get <int64_t >(" aod-timeframe-id" );
16801681 mRecoOnly = ic.options ().get <int >(" reco-mctracks-only" );
@@ -2398,8 +2399,8 @@ void AODProducerWorkflowDPL::run(ProcessingContext& pc)
23982399 TString dataType = mUseMC ? " MC" : " RAW" ;
23992400 TString O2Version = o2::fullVersion ();
24002401 TString ROOTVersion = ROOT_RELEASE;
2401- mMetaDataKeys = {" DataType" , " Run" , " O2Version" , " ROOTVersion" , " RecoPassName" , " AnchorProduction" , " AnchorPassName" , " LPMProductionTag" };
2402- mMetaDataVals = {dataType, " 3" , O2Version, ROOTVersion, mRecoPass , mAnchorProd , mAnchorPass , mLPMProdTag };
2402+ mMetaDataKeys = {" DataType" , " Run" , " O2Version" , " ROOTVersion" , " RecoPassName" , " AnchorProduction" , " AnchorPassName" , " LPMProductionTag" , " CreatedBy " };
2403+ mMetaDataVals = {dataType, " 3" , O2Version, ROOTVersion, mRecoPass , mAnchorProd , mAnchorPass , mLPMProdTag , mUser };
24032404 pc.outputs ().snapshot (Output{" AMD" , " AODMetadataKeys" , 0 }, mMetaDataKeys );
24042405 pc.outputs ().snapshot (Output{" AMD" , " AODMetadataVals" , 0 }, mMetaDataVals );
24052406
@@ -3256,6 +3257,7 @@ DataProcessorSpec getAODProducerWorkflowSpec(GID::mask_t src, bool enableSV, boo
32563257 ConfigParamSpec{" anchor-pass" , VariantType::String, " " , {" AnchorPassName" }},
32573258 ConfigParamSpec{" anchor-prod" , VariantType::String, " " , {" AnchorProduction" }},
32583259 ConfigParamSpec{" reco-pass" , VariantType::String, " " , {" RecoPassName" }},
3260+ ConfigParamSpec{" created-by" , VariantType::String, " " , {" Who created this AO2D" }},
32593261 ConfigParamSpec{" nthreads" , VariantType::Int, std::max (1 , int (std::thread::hardware_concurrency () / 2 )), {" Number of threads" }},
32603262 ConfigParamSpec{" reco-mctracks-only" , VariantType::Int, 0 , {" Store only reconstructed MC tracks and their mothers/daughters. 0 -- off, != 0 -- on" }},
32613263 ConfigParamSpec{" ctpreadout-create" , VariantType::Int, 0 , {" Create CTP digits from detector readout and CTP inputs. !=1 -- off, 1 -- on" }},
0 commit comments