ATLAS Offline Software
Functions | Variables
PURW_create_mc_default_profile Namespace Reference

Functions

def include (s)
 

Variables

 parser = argparse.ArgumentParser(description='Create a default config file for a specific mu profile file')
 
 type
 
 help
 
 default
 
 int
 
 str
 
 args = parser.parse_args()
 
bool RunDMC_testing_configuration = True
 
 tool = ROOT.CP.TPileupReweighting("tool")
 
 f = ROOT.TFile(f"dummy.lumicalc.{args.lcRunNum}.root","RECREATE")
 
 t = ROOT.TTree("LumiMetaData","LumiMetaData")
 
 RunNbr = array('I',[args.lcRunNum])
 
 AvergeInteractionPerXing = array('f',[0.])
 
 IntLumi = array('f',[0.])
 
 LBStart = array('I',[0])
 
 testTool = ROOT.ToolHandle['CP::IPileupReweightingTool']("CP::PileupReweightingTool/tool")
 
 weight = testTool.expert().GetCombinedWeight(d['run'],45,d['mu'])
 
 rrn = testTool.expert().GetRandomRunNumber(d['run'],d['mu'])
 

Function Documentation

◆ include()

def PURW_create_mc_default_profile.include (   s)

Definition at line 29 of file PURW_create_mc_default_profile.py.

29  def include(s) : return

Variable Documentation

◆ args

PURW_create_mc_default_profile.args = parser.parse_args()

Definition at line 20 of file PURW_create_mc_default_profile.py.

◆ AvergeInteractionPerXing

PURW_create_mc_default_profile.AvergeInteractionPerXing = array('f',[0.])

Definition at line 56 of file PURW_create_mc_default_profile.py.

◆ default

PURW_create_mc_default_profile.default

Definition at line 14 of file PURW_create_mc_default_profile.py.

◆ f

PURW_create_mc_default_profile.f = ROOT.TFile(f"dummy.lumicalc.{args.lcRunNum}.root","RECREATE")

Definition at line 52 of file PURW_create_mc_default_profile.py.

◆ help

PURW_create_mc_default_profile.help

Definition at line 13 of file PURW_create_mc_default_profile.py.

◆ int

PURW_create_mc_default_profile.int

Definition at line 15 of file PURW_create_mc_default_profile.py.

◆ IntLumi

PURW_create_mc_default_profile.IntLumi = array('f',[0.])

Definition at line 57 of file PURW_create_mc_default_profile.py.

◆ LBStart

PURW_create_mc_default_profile.LBStart = array('I',[0])

Definition at line 58 of file PURW_create_mc_default_profile.py.

◆ parser

PURW_create_mc_default_profile.parser = argparse.ArgumentParser(description='Create a default config file for a specific mu profile file')

Definition at line 11 of file PURW_create_mc_default_profile.py.

◆ rrn

PURW_create_mc_default_profile.rrn = testTool.expert().GetRandomRunNumber(d['run'],d['mu'])

Definition at line 85 of file PURW_create_mc_default_profile.py.

◆ RunDMC_testing_configuration

bool PURW_create_mc_default_profile.RunDMC_testing_configuration = True

Definition at line 28 of file PURW_create_mc_default_profile.py.

◆ RunNbr

PURW_create_mc_default_profile.RunNbr = array('I',[args.lcRunNum])

Definition at line 55 of file PURW_create_mc_default_profile.py.

◆ str

PURW_create_mc_default_profile.str

Definition at line 16 of file PURW_create_mc_default_profile.py.

◆ t

PURW_create_mc_default_profile.t = ROOT.TTree("LumiMetaData","LumiMetaData")

Definition at line 53 of file PURW_create_mc_default_profile.py.

◆ testTool

PURW_create_mc_default_profile.testTool = ROOT.ToolHandle['CP::IPileupReweightingTool']("CP::PileupReweightingTool/tool")

Definition at line 72 of file PURW_create_mc_default_profile.py.

◆ tool

PURW_create_mc_default_profile.tool = ROOT.CP.TPileupReweighting("tool")

Definition at line 36 of file PURW_create_mc_default_profile.py.

◆ type

PURW_create_mc_default_profile.type

Definition at line 12 of file PURW_create_mc_default_profile.py.

◆ weight

PURW_create_mc_default_profile.weight = testTool.expert().GetCombinedWeight(d['run'],45,d['mu'])

Definition at line 81 of file PURW_create_mc_default_profile.py.

PURW_create_mc_default_profile.include
def include(s)
Definition: PURW_create_mc_default_profile.py:29