ATLAS Offline Software
Functions | Variables
runIDPVM Namespace Reference

Functions

def GetCustomAthArgs ()
 

Variables

def MyArgs = GetCustomAthArgs()
 
 flags = initConfigFlags()
 
 Files
 
 OutputFileName
 
 truthMinPt
 
 setTruthStrategy
 
 doExpertOutput
 
 doPhysValOutput
 
 doValidateTruthToRecoNtuple
 
 doIDTIDE
 
 doValidateTracksInJets
 
 doValidateTracksInBJets
 
 doValidateLooseTracks
 
 doValidateTightPrimaryTracks
 
 doValidateHILoose
 
 doTruthOriginPlots
 
 doDuplicatePlots
 
 doValidateMuonMatchedTracks
 
 doValidateElectronMatchedTracks
 
 doValidateLargeD0Tracks
 
 doValidateMergedLargeD0Tracks
 
 doValidateLowPtRoITracks
 
 doRecoOnly
 
 doPerAuthorPlots
 
 doHitLevelPlots
 
 runDecoration
 
 requiredSiHits
 
 selectedCharge
 
 maxProdVertRadius
 
 ancestorIDs
 
 hardScatterStrategy
 
 jetsNameForHardScatter
 
 GRL
 
 validateExtraTrackCollections
 
 doTechnicalEfficiency
 
 doPRW
 
 doActs
 
 doHGTD
 
 maxTrkJetDR
 
 PrimaryVertexContainer
 
 jetCollection
 
 JetPtMin
 
 JetPtMax
 
 JetAbsEtaMax
 
 SkipEvents
 
 MaxEvents
 
 doExample
 
 acc = MainServicesCfg(flags)
 
 withDetails
 
 sc = acc.run()
 

Function Documentation

◆ GetCustomAthArgs()

def runIDPVM.GetCustomAthArgs ( )

Definition at line 8 of file runIDPVM.py.

8 def GetCustomAthArgs():
9  from argparse import ArgumentParser
10  IDPVMparser = ArgumentParser(description='Parser for IDPVM configuration')
11  IDPVMparser.add_argument("--filesInput", required=True)
12  IDPVMparser.add_argument("--maxEvents", help="Limit number of events. Default: all input events", default=-1, type=int)
13  IDPVMparser.add_argument("--skipEvents", help="Skip this number of events. Default: no events are skipped", default=0, type=int)
14  IDPVMparser.add_argument("--doLargeD0Tracks", help='also run LRT plots', action='store_true', default=False)
15  IDPVMparser.add_argument("--doLowPtRoITracks", help='also run low pt tracks', action='store_true', default=False)
16  IDPVMparser.add_argument("--doMergedLargeD0Tracks", help='also run merged STD+LRT plots', action='store_true', default=False)
17  IDPVMparser.add_argument("--doRecoOnly", help='skip truth-specific processing', action='store_true', default=False)
18  IDPVMparser.add_argument("--doLoose", help='also run loose plots', action='store_true', default=False)
19  IDPVMparser.add_argument("--doTightPrimary", help='also run tight-primary plots', action='store_true', default=False)
20  IDPVMparser.add_argument("--doHILoose", help='also run Heavy Ion loose plots', action='store_true', default=False)
21  IDPVMparser.add_argument("--doTracksInJets", help='also run tracks in jets', action='store_true', default=False)
22  IDPVMparser.add_argument("--doTracksInBJets", help='also run tracks in jets', action='store_true', default=False)
23  IDPVMparser.add_argument("--doTruthOrigin", help='make plots by track origin', action='store_true', default=False)
24  IDPVMparser.add_argument("--doDuplicate", help='make duplicate plots', action='store_true', default=False)
25  IDPVMparser.add_argument("--doHitLevelPlots", help='make hit residual / eff plots', action='store_true', default=False)
26  IDPVMparser.add_argument("--doPerAuthor", help='make plots by track author', action='store_true', default=False)
27  IDPVMparser.add_argument("--doExpertPlots", help='run additional expert-level plots', action='store_true', default=False)
28  IDPVMparser.add_argument("--doMuonMatchedTracks", help='run plots for tracks matched to true muons', action='store_true', default=False)
29  IDPVMparser.add_argument("--doElectronMatchedTracks", help='run plots for tracks matched to true electrons', action='store_true', default=False)
30  IDPVMparser.add_argument("--doTruthToRecoNtuple", help='output track-to-truth ntuple', action='store_true', default=False)
31  IDPVMparser.add_argument("--doActs", help='run plots for acts collections', action='store_true', default=False)
32  IDPVMparser.add_argument("--doHGTD", help='run plots fof HGTD collections', action='store_true', default=False)
33  IDPVMparser.add_argument("--disableDecoration", help='disable extra track and truth decoration if possible', action='store_true', default=False)
34  IDPVMparser.add_argument("--hardScatterStrategy", help='Strategy to select the hard scatter. 0 = SumPtĀ² 1 = SumPt , 2 = Sumptw, 3 = GNN, 4 = H->yy', choices=["0","1","2","3","4"], default="0")
35  IDPVMparser.add_argument("--truthMinPt", help='minimum truth particle pT', type=float, default=None)
36  IDPVMparser.add_argument("--outputFile", help='Name of output file',default="M_output.root")
37  IDPVMparser.add_argument("--HSFlag", help='Hard-scatter flag - decides what is used for truth matching', choices=['HardScatter', 'All', 'PileUp'],default="HardScatter")
38  IDPVMparser.add_argument("--jetsNameForHardScatter", help='Name of jet collection',default="AntiKt4EMTopoJets")
39  IDPVMparser.add_argument("--ancestorIDList", help='List of ancestor truth IDs to match.', default = [], nargs='+', type=int)
40  IDPVMparser.add_argument("--requiredSiHits", help='Number of truth silicon hits', type=int, default=0)
41  IDPVMparser.add_argument("--selectedCharge", help='Charge of selected truth particles (0=inclusive)', type=int, default=0)
42  IDPVMparser.add_argument("--maxProdVertRadius", help='Maximum production radius for truth particles', type=float, default=300)
43  IDPVMparser.add_argument("--GRL", help='Which GRL(s) to use, if any, when running on data', choices=['2015', '2016', '2017', '2018', '2022', '2023', '2024'], nargs='+', default=[])
44  IDPVMparser.add_argument("--validateExtraTrackCollections", help='List of extra track collection names to be validated in addition to Tracks.', nargs='+', default=[])
45  IDPVMparser.add_argument("--doIDTIDE", help='run the output from IDTIDE derivation', action='store_true', default=False)
46  IDPVMparser.add_argument("--doTechnicalEfficiency", help='fill the technical efficiency plot (requires additional si hit information in the input file)', action='store_true', default=False)
47  IDPVMparser.add_argument("--doPRW", help='apply pileup reweight', action='store_true', default=False)
48  IDPVMparser.add_argument("--maxTrkJetDR", help='the maximum dR to jets to allow for track-in-jet plots', type=float, default=0.4)
49  IDPVMparser.add_argument("--JetAbsEtaMax", help='Maximum Eta value for jet selection', type=float, default=-1)
50  IDPVMparser.add_argument("--PrimaryVertexContainer", help='Name of the primary vertex container', choices=['PrimaryVertices', 'ActsPrimaryVertices', 'HggPrimaryVertices'], default='PrimaryVertices')
51  IDPVMparser.add_argument("--OnlyTrackingPreInclude", help='Disable all flags related to detectors/domains beyond tracking', action='store_true', default=False)
52  IDPVMparser.add_argument("--jetCollection", help='Jet collection for track-in-jet plots', default="AntiKt4EMPFlowJets")
53  IDPVMparser.add_argument("--JetPtMin", help='Minimum pt for jet selection in GeV', type=float, default=100)
54  IDPVMparser.add_argument("--JetPtMax", help='Maximum pt for jet selection in GeV', type=float, default=5000)
55  return IDPVMparser.parse_args()
56 
57 # Parse the arguments

Variable Documentation

◆ acc

runIDPVM.acc = MainServicesCfg(flags)

Definition at line 135 of file runIDPVM.py.

◆ ancestorIDs

runIDPVM.ancestorIDs

Definition at line 100 of file runIDPVM.py.

◆ doActs

runIDPVM.doActs

Definition at line 108 of file runIDPVM.py.

◆ doDuplicatePlots

runIDPVM.doDuplicatePlots

Definition at line 87 of file runIDPVM.py.

◆ doExample

runIDPVM.doExample

Definition at line 130 of file runIDPVM.py.

◆ doExpertOutput

runIDPVM.doExpertOutput

Definition at line 75 of file runIDPVM.py.

◆ doHGTD

runIDPVM.doHGTD

Definition at line 109 of file runIDPVM.py.

◆ doHitLevelPlots

runIDPVM.doHitLevelPlots

Definition at line 95 of file runIDPVM.py.

◆ doIDTIDE

runIDPVM.doIDTIDE

Definition at line 78 of file runIDPVM.py.

◆ doPerAuthorPlots

runIDPVM.doPerAuthorPlots

Definition at line 94 of file runIDPVM.py.

◆ doPhysValOutput

runIDPVM.doPhysValOutput

Definition at line 76 of file runIDPVM.py.

◆ doPRW

runIDPVM.doPRW

Definition at line 107 of file runIDPVM.py.

◆ doRecoOnly

runIDPVM.doRecoOnly

Definition at line 93 of file runIDPVM.py.

◆ doTechnicalEfficiency

runIDPVM.doTechnicalEfficiency

Definition at line 106 of file runIDPVM.py.

◆ doTruthOriginPlots

runIDPVM.doTruthOriginPlots

Definition at line 86 of file runIDPVM.py.

◆ doValidateElectronMatchedTracks

runIDPVM.doValidateElectronMatchedTracks

Definition at line 89 of file runIDPVM.py.

◆ doValidateHILoose

runIDPVM.doValidateHILoose

Definition at line 85 of file runIDPVM.py.

◆ doValidateLargeD0Tracks

runIDPVM.doValidateLargeD0Tracks

Definition at line 90 of file runIDPVM.py.

◆ doValidateLooseTracks

runIDPVM.doValidateLooseTracks

Definition at line 83 of file runIDPVM.py.

◆ doValidateLowPtRoITracks

runIDPVM.doValidateLowPtRoITracks

Definition at line 92 of file runIDPVM.py.

◆ doValidateMergedLargeD0Tracks

runIDPVM.doValidateMergedLargeD0Tracks

Definition at line 91 of file runIDPVM.py.

◆ doValidateMuonMatchedTracks

runIDPVM.doValidateMuonMatchedTracks

Definition at line 88 of file runIDPVM.py.

◆ doValidateTightPrimaryTracks

runIDPVM.doValidateTightPrimaryTracks

Definition at line 84 of file runIDPVM.py.

◆ doValidateTracksInBJets

runIDPVM.doValidateTracksInBJets

Definition at line 82 of file runIDPVM.py.

◆ doValidateTracksInJets

runIDPVM.doValidateTracksInJets

Definition at line 80 of file runIDPVM.py.

◆ doValidateTruthToRecoNtuple

runIDPVM.doValidateTruthToRecoNtuple

Definition at line 77 of file runIDPVM.py.

◆ Files

runIDPVM.Files

Definition at line 64 of file runIDPVM.py.

◆ flags

runIDPVM.flags = initConfigFlags()

Definition at line 62 of file runIDPVM.py.

◆ GRL

runIDPVM.GRL

Definition at line 104 of file runIDPVM.py.

◆ hardScatterStrategy

runIDPVM.hardScatterStrategy

Definition at line 101 of file runIDPVM.py.

◆ JetAbsEtaMax

runIDPVM.JetAbsEtaMax

Definition at line 116 of file runIDPVM.py.

◆ jetCollection

runIDPVM.jetCollection

Definition at line 112 of file runIDPVM.py.

◆ JetPtMax

runIDPVM.JetPtMax

Definition at line 114 of file runIDPVM.py.

◆ JetPtMin

runIDPVM.JetPtMin

Definition at line 113 of file runIDPVM.py.

◆ jetsNameForHardScatter

runIDPVM.jetsNameForHardScatter

Definition at line 102 of file runIDPVM.py.

◆ MaxEvents

runIDPVM.MaxEvents

Definition at line 120 of file runIDPVM.py.

◆ maxProdVertRadius

runIDPVM.maxProdVertRadius

Definition at line 99 of file runIDPVM.py.

◆ maxTrkJetDR

runIDPVM.maxTrkJetDR

Definition at line 110 of file runIDPVM.py.

◆ MyArgs

def runIDPVM.MyArgs = GetCustomAthArgs()

Definition at line 58 of file runIDPVM.py.

◆ OutputFileName

runIDPVM.OutputFileName

Definition at line 67 of file runIDPVM.py.

◆ PrimaryVertexContainer

runIDPVM.PrimaryVertexContainer

Definition at line 111 of file runIDPVM.py.

◆ requiredSiHits

runIDPVM.requiredSiHits

Definition at line 97 of file runIDPVM.py.

◆ runDecoration

runIDPVM.runDecoration

Definition at line 96 of file runIDPVM.py.

◆ sc

runIDPVM.sc = acc.run()

Definition at line 155 of file runIDPVM.py.

◆ selectedCharge

runIDPVM.selectedCharge

Definition at line 98 of file runIDPVM.py.

◆ setTruthStrategy

runIDPVM.setTruthStrategy

Definition at line 74 of file runIDPVM.py.

◆ SkipEvents

runIDPVM.SkipEvents

Definition at line 119 of file runIDPVM.py.

◆ truthMinPt

runIDPVM.truthMinPt

Definition at line 71 of file runIDPVM.py.

◆ validateExtraTrackCollections

runIDPVM.validateExtraTrackCollections

Definition at line 105 of file runIDPVM.py.

◆ withDetails

runIDPVM.withDetails

Definition at line 152 of file runIDPVM.py.

runIDPVM.GetCustomAthArgs
def GetCustomAthArgs()
Definition: runIDPVM.py:8