ATLAS Offline Software
Variables
PURW_create_actual_mu_profile Namespace Reference

Variables

 logger = logging.getLogger('PURW actual mu profile tool')
 
 parser = argparse.ArgumentParser(description='Make a BCID-aware pileup reweighting file')
 
 type
 
 help
 
 default
 
 args = parser.parse_args()
 
 bcidfile = ROOT.TFile.Open(args.bcidfile)
 
 grl = None
 
 outfile = ROOT.TFile.Open(args.outfile, 'RECREATE')
 
 metadata = ROOT.TTree('DataCustomReweighting', 'DataCustomReweighting')
 
 cname_arr = bytearray('pileup\0',encoding='utf-8')
 
 runno_arr = array.array('I', [0])
 
 histname_arr = bytearray('pileup_data_run_XXXXXX\0',encoding='utf-8')
 
 lgp = ROOT.Root.TGoodRunsListReader(args.grl)
 
 outhist = None
 
 runno = run.GetRunNumber()
 
 encoding
 
 rdir = bcidfile.Get(repr(runno))
 
 runhist = None
 
 inhist = rdir.Get('%srec' % lb)
 
 lumitag = bcidfile.Get('LuminosityTag')
 
 grlo = ROOT.TNamed("InputGRL", args.grl)
 

Variable Documentation

◆ args

PURW_create_actual_mu_profile.args = parser.parse_args()

Definition at line 20 of file PURW_create_actual_mu_profile.py.

◆ bcidfile

PURW_create_actual_mu_profile.bcidfile = ROOT.TFile.Open(args.bcidfile)

Definition at line 27 of file PURW_create_actual_mu_profile.py.

◆ cname_arr

PURW_create_actual_mu_profile.cname_arr = bytearray('pileup\0',encoding='utf-8')

Definition at line 46 of file PURW_create_actual_mu_profile.py.

◆ default

PURW_create_actual_mu_profile.default

Definition at line 18 of file PURW_create_actual_mu_profile.py.

◆ encoding

PURW_create_actual_mu_profile.encoding

Definition at line 61 of file PURW_create_actual_mu_profile.py.

◆ grl

PURW_create_actual_mu_profile.grl = None

Definition at line 33 of file PURW_create_actual_mu_profile.py.

◆ grlo

PURW_create_actual_mu_profile.grlo = ROOT.TNamed("InputGRL", args.grl)

Definition at line 92 of file PURW_create_actual_mu_profile.py.

◆ help

PURW_create_actual_mu_profile.help

Definition at line 12 of file PURW_create_actual_mu_profile.py.

◆ histname_arr

PURW_create_actual_mu_profile.histname_arr = bytearray('pileup_data_run_XXXXXX\0',encoding='utf-8')

Definition at line 48 of file PURW_create_actual_mu_profile.py.

◆ inhist

PURW_create_actual_mu_profile.inhist = rdir.Get('%srec' % lb)

Definition at line 71 of file PURW_create_actual_mu_profile.py.

◆ lgp

PURW_create_actual_mu_profile.lgp = ROOT.Root.TGoodRunsListReader(args.grl)

Definition at line 54 of file PURW_create_actual_mu_profile.py.

◆ logger

PURW_create_actual_mu_profile.logger = logging.getLogger('PURW actual mu profile tool')

Definition at line 7 of file PURW_create_actual_mu_profile.py.

◆ lumitag

PURW_create_actual_mu_profile.lumitag = bcidfile.Get('LuminosityTag')

Definition at line 85 of file PURW_create_actual_mu_profile.py.

◆ metadata

PURW_create_actual_mu_profile.metadata = ROOT.TTree('DataCustomReweighting', 'DataCustomReweighting')

Definition at line 45 of file PURW_create_actual_mu_profile.py.

◆ outfile

PURW_create_actual_mu_profile.outfile = ROOT.TFile.Open(args.outfile, 'RECREATE')

Definition at line 44 of file PURW_create_actual_mu_profile.py.

◆ outhist

PURW_create_actual_mu_profile.outhist = None

Definition at line 58 of file PURW_create_actual_mu_profile.py.

◆ parser

PURW_create_actual_mu_profile.parser = argparse.ArgumentParser(description='Make a BCID-aware pileup reweighting file')

Definition at line 10 of file PURW_create_actual_mu_profile.py.

◆ rdir

PURW_create_actual_mu_profile.rdir = bcidfile.Get(repr(runno))

Definition at line 62 of file PURW_create_actual_mu_profile.py.

◆ runhist

PURW_create_actual_mu_profile.runhist = None

Definition at line 67 of file PURW_create_actual_mu_profile.py.

◆ runno

PURW_create_actual_mu_profile.runno = run.GetRunNumber()

Definition at line 59 of file PURW_create_actual_mu_profile.py.

◆ runno_arr

PURW_create_actual_mu_profile.runno_arr = array.array('I', [0])

Definition at line 47 of file PURW_create_actual_mu_profile.py.

◆ type

PURW_create_actual_mu_profile.type

Definition at line 11 of file PURW_create_actual_mu_profile.py.