ATLAS Offline Software
Loading...
Searching...
No Matches
PFlow.py
Go to the documentation of this file.
1#!/usr/bin/env athena.py --CA
2# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
4if __name__=="__main__":
5
6 # Setup flags with custom input-choice
7 from AthenaConfiguration.AllConfigFlags import initConfigFlags
8 flags = initConfigFlags()
9 flags.addFlag('RecExRecoTest.doMC', False, help='custom option for RexExRecoText to run data or MC test')
10 flags.fillFromArgs()
11
12 # Use latest Data or MC
13 from AthenaConfiguration.TestDefaults import defaultTestFiles, defaultConditionsTags
14 if flags.RecExRecoTest.doMC:
15 flags.Input.Files = defaultTestFiles.ESD_RUN3_MC
16 flags.IOVDb.GlobalTag = defaultConditionsTags.RUN3_MC
17 else:
18 flags.Input.Files = defaultTestFiles.ESD_RUN3_DATA22
19 flags.IOVDb.GlobalTag = defaultConditionsTags.RUN3_DATA
20 flags.lock()
21
22 from eflowRec.PFRun3Config import PFRun3ConfigTest
23 PFRun3ConfigTest(flags)
24