ATLAS Offline Software
Functions | Variables
ParseInputs_Preliminary Namespace Reference

Functions

def natural_sort (s)
 

Variables

bool freezeFlavourInPt = False
 
string outBaselineFile = "JESUncertainty_AllComponents.root"
 
 inSituDir = sys.argv[1]
 
 etaIntercalDir = sys.argv[2]
 
 highPtDir = sys.argv[3]
 
 pileupDir = sys.argv[4]
 
 flavourDir = sys.argv[5]
 
 bJESDir = sys.argv[6]
 
 punchthroughDir = sys.argv[7]
 
 currentDir = gDirectory
 
 inSituHistos = ReadInSituHistograms(inSituDir)
 
 etaIntercalHistos = ReadEtaIntercalibrationHistograms(etaIntercalDir)
 
 highPtHistos = ReadHighPtHistogramsFromOldFile(highPtDir)
 
 pileupHistos = ReadPileupHistograms(pileupDir)
 
 flavourHistos = ReadFlavourHistograms(flavourDir,freezeFlavourInPt)
 
 bJESHistos = ReadBJESHistograms(bJESDir)
 
 punchthroughHistos = ReadPunchthroughHistograms(punchthroughDir)
 
 nonClosureHists = CreateNonClosureHistograms()
 
dictionary jetDefs = {"AntiKt4Topo_EMJES" : "AntiKt4EMTopo", "AntiKt4PFlow_EMJES" : "AntiKt4EMPFlow"}
 
dictionary systematics = {}
 
 baselineFile = TFile(outBaselineFile,"RECREATE")
 
 key
 
 gDirectory = currentDir
 

Function Documentation

◆ natural_sort()

def ParseInputs_Preliminary.natural_sort (   s)

Definition at line 20 of file ParseInputs_Preliminary.py.

20 def natural_sort(s):
21  return [int(''.join(g)) if k else ''.join(g) for k, g in groupby(s[0], str.isdigit)]
22 
23 # Design: This is to make a file entirely from scratch.
24 # At present the high pT term has not been updated since 2012, so
25 # that one will be retrieved from the final 2012 recommendations.
26 # All else is needed new.
27 
28 # Full list of required inputs, distinguished by needing them
29 # from a different person
30 # - In situ terms
31 # - Eta intercalibration
32 # - Single particle
33 # - MC non-closure
34 # - Pileup
35 # - Flavour
36 # - B-JES
37 # - Punchthrough
38 
39 
40 # NOTES
41 # Need to carefully check all flavour histograms in comparison to 2012 to make sure they look sensible!!
42 # Things below were done in pre-recs and are currently being done here:
43 # - Freeze flavour histograms by hand wherever input histogram falls below 0: extrapolate forward in pT from around 2 TeV centrally and from lower pT as eta increases.
44 # - FlavorResponse histogram inverted from input file to match Run I convention

Variable Documentation

◆ baselineFile

ParseInputs_Preliminary.baselineFile = TFile(outBaselineFile,"RECREATE")

Definition at line 132 of file ParseInputs_Preliminary.py.

◆ bJESDir

ParseInputs_Preliminary.bJESDir = sys.argv[6]

Definition at line 67 of file ParseInputs_Preliminary.py.

◆ bJESHistos

ParseInputs_Preliminary.bJESHistos = ReadBJESHistograms(bJESDir)

Definition at line 109 of file ParseInputs_Preliminary.py.

◆ currentDir

ParseInputs_Preliminary.currentDir = gDirectory

Definition at line 97 of file ParseInputs_Preliminary.py.

◆ etaIntercalDir

ParseInputs_Preliminary.etaIntercalDir = sys.argv[2]

Definition at line 63 of file ParseInputs_Preliminary.py.

◆ etaIntercalHistos

ParseInputs_Preliminary.etaIntercalHistos = ReadEtaIntercalibrationHistograms(etaIntercalDir)

Definition at line 105 of file ParseInputs_Preliminary.py.

◆ flavourDir

ParseInputs_Preliminary.flavourDir = sys.argv[5]

Definition at line 66 of file ParseInputs_Preliminary.py.

◆ flavourHistos

ParseInputs_Preliminary.flavourHistos = ReadFlavourHistograms(flavourDir,freezeFlavourInPt)

Definition at line 108 of file ParseInputs_Preliminary.py.

◆ freezeFlavourInPt

bool ParseInputs_Preliminary.freezeFlavourInPt = False

Definition at line 45 of file ParseInputs_Preliminary.py.

◆ gDirectory

ParseInputs_Preliminary.gDirectory = currentDir

Definition at line 141 of file ParseInputs_Preliminary.py.

◆ highPtDir

ParseInputs_Preliminary.highPtDir = sys.argv[3]

Definition at line 64 of file ParseInputs_Preliminary.py.

◆ highPtHistos

ParseInputs_Preliminary.highPtHistos = ReadHighPtHistogramsFromOldFile(highPtDir)

Definition at line 106 of file ParseInputs_Preliminary.py.

◆ inSituDir

ParseInputs_Preliminary.inSituDir = sys.argv[1]

Definition at line 62 of file ParseInputs_Preliminary.py.

◆ inSituHistos

ParseInputs_Preliminary.inSituHistos = ReadInSituHistograms(inSituDir)

Definition at line 104 of file ParseInputs_Preliminary.py.

◆ jetDefs

dictionary ParseInputs_Preliminary.jetDefs = {"AntiKt4Topo_EMJES" : "AntiKt4EMTopo", "AntiKt4PFlow_EMJES" : "AntiKt4EMPFlow"}

Definition at line 115 of file ParseInputs_Preliminary.py.

◆ key

ParseInputs_Preliminary.key

Definition at line 133 of file ParseInputs_Preliminary.py.

◆ nonClosureHists

ParseInputs_Preliminary.nonClosureHists = CreateNonClosureHistograms()

Definition at line 111 of file ParseInputs_Preliminary.py.

◆ outBaselineFile

string ParseInputs_Preliminary.outBaselineFile = "JESUncertainty_AllComponents.root"

Definition at line 61 of file ParseInputs_Preliminary.py.

◆ pileupDir

ParseInputs_Preliminary.pileupDir = sys.argv[4]

Definition at line 65 of file ParseInputs_Preliminary.py.

◆ pileupHistos

ParseInputs_Preliminary.pileupHistos = ReadPileupHistograms(pileupDir)

Definition at line 107 of file ParseInputs_Preliminary.py.

◆ punchthroughDir

ParseInputs_Preliminary.punchthroughDir = sys.argv[7]

Definition at line 68 of file ParseInputs_Preliminary.py.

◆ punchthroughHistos

ParseInputs_Preliminary.punchthroughHistos = ReadPunchthroughHistograms(punchthroughDir)

Definition at line 110 of file ParseInputs_Preliminary.py.

◆ systematics

dictionary ParseInputs_Preliminary.systematics = {}

Definition at line 116 of file ParseInputs_Preliminary.py.

CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
ParseInputs_Preliminary.natural_sort
def natural_sort(s)
Definition: ParseInputs_Preliminary.py:20
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10