ATLAS Offline Software
Functions | Variables
MuonSegmentReaderConfig Namespace Reference

Functions

def MuonSegmentReaderCfg (configFlags, **kwargs)
 

Variables

 log = logging.getLogger('CalibStreamConfig')
 
 flags = initConfigFlags()
 
 NumThreads
 
string inputdir = '/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/MuonRecRTT/MdtCalibration/'
 define the input files More...
 
 Files
 
 TypedCollections
 
 AtlasVersion
 
 GlobalTag
 
 isMC
 
 ProjectName
 
 data = flags.Input.Files[0].split('/')[-1].split('.')
 
 RunNumbers
 
string ntuplename = flags.Input.Files[0].split('/')[-1][0:-4] + "ntuple.root"
 
 GeometryMDT
 
 GeometryTGC
 
 GeometryRPC
 
 GeometryCSC
 
 GeometrysTGC
 
 GeometryMM
 
 GeometryCalo
 
 GeometryID
 
 GeometryPixel
 
 GeometrySCT
 
 makePRDs
 
 LumiBlockNumbers
 
 Type
 
 Collections
 
 Format
 
 doWriteESD
 
 ESDFileName
 
 OutputLevel
 
 doFullMonMT
 
 OutputJSON
 
 acc = MainServicesCfg(flags)
 
 histSvc = CompFactory.THistSvc(Output=["%s DATAFILE='%s', OPT='RECREATE'" % ("CALIBNTUPLESTREAM", ntuplename)], AutoFlush= -10000000, AutoSave= -10000000)
 
 primary
 
dictionary tool_kwargs = {}
 
 read = MuonCalibStreamReadCfg(flags)
 
 mdtCalibRawDataProvider = MdtCalibRawDataProviderCfg(flags)
 
 rpcCalibRawDataProvider = RpcCalibRawDataProviderCfg(flags)
 
 tgcCalibRawDataProvider = TgcCalibRawDataProviderCfg(flags)
 
 reco = MuonSegmentFindingCfg(flags, setup_bytestream=False)
 
def reader = MuonSegmentReaderCfg(flags, CalibrationTool = acc.popToolsAndMerge(MdtCalibrationToolCfg(flags, TimeWindowSetting = 3, DoPropagationCorrection = True, DoSlewingCorrection = True, DoMagneticFieldCorrection = True)))
 
 ReadKeyDCS
 
 RingSize
 
 CleanDelay
 
 LookAhead
 
 withDetails
 
 True
 
 summariseProps
 

Function Documentation

◆ MuonSegmentReaderCfg()

def MuonSegmentReaderConfig.MuonSegmentReaderCfg (   configFlags,
**  kwargs 
)

Definition at line 6 of file MuonSegmentReaderConfig.py.

6 def MuonSegmentReaderCfg(configFlags, **kwargs):
7  #setup the tools
8  from MuonConfig.MuonGeometryConfig import MuonIdHelperSvcCfg
9  from MuonConfig.MuonRecToolsConfig import MuonEDMHelperSvcCfg
10 
11  result=ComponentAccumulator()
12  result.merge(MuonIdHelperSvcCfg(configFlags))
13  result.merge(MuonEDMHelperSvcCfg(configFlags))
14 
15  if "PullCalculator" not in kwargs:
16  from TrkConfig.TrkResidualPullCalculatorConfig import (
17  ResidualPullCalculatorCfg)
18  kwargs.setdefault("PullCalculator", result.popToolsAndMerge(
19  ResidualPullCalculatorCfg(configFlags)))
20 
21  alg = CompFactory.MuonCalib.MuonSegmentReader(**kwargs)
22 
23  result.addEventAlgo(alg)
24  return result
25 

Variable Documentation

◆ acc

MuonSegmentReaderConfig.acc = MainServicesCfg(flags)

Definition at line 95 of file MuonSegmentReaderConfig.py.

◆ AtlasVersion

MuonSegmentReaderConfig.AtlasVersion

Definition at line 49 of file MuonSegmentReaderConfig.py.

◆ CleanDelay

MuonSegmentReaderConfig.CleanDelay

Definition at line 152 of file MuonSegmentReaderConfig.py.

◆ Collections

MuonSegmentReaderConfig.Collections

Definition at line 77 of file MuonSegmentReaderConfig.py.

◆ data

MuonSegmentReaderConfig.data = flags.Input.Files[0].split('/')[-1].split('.')

Definition at line 53 of file MuonSegmentReaderConfig.py.

◆ doFullMonMT

MuonSegmentReaderConfig.doFullMonMT

Definition at line 90 of file MuonSegmentReaderConfig.py.

◆ doWriteESD

MuonSegmentReaderConfig.doWriteESD

Definition at line 80 of file MuonSegmentReaderConfig.py.

◆ ESDFileName

MuonSegmentReaderConfig.ESDFileName

Definition at line 82 of file MuonSegmentReaderConfig.py.

◆ Files

MuonSegmentReaderConfig.Files

Definition at line 43 of file MuonSegmentReaderConfig.py.

◆ flags

MuonSegmentReaderConfig.flags = initConfigFlags()

Definition at line 34 of file MuonSegmentReaderConfig.py.

◆ Format

MuonSegmentReaderConfig.Format

Definition at line 78 of file MuonSegmentReaderConfig.py.

◆ GeometryCalo

MuonSegmentReaderConfig.GeometryCalo

Definition at line 66 of file MuonSegmentReaderConfig.py.

◆ GeometryCSC

MuonSegmentReaderConfig.GeometryCSC

Definition at line 63 of file MuonSegmentReaderConfig.py.

◆ GeometryID

MuonSegmentReaderConfig.GeometryID

Definition at line 67 of file MuonSegmentReaderConfig.py.

◆ GeometryMDT

MuonSegmentReaderConfig.GeometryMDT

Definition at line 60 of file MuonSegmentReaderConfig.py.

◆ GeometryMM

MuonSegmentReaderConfig.GeometryMM

Definition at line 65 of file MuonSegmentReaderConfig.py.

◆ GeometryPixel

MuonSegmentReaderConfig.GeometryPixel

Definition at line 68 of file MuonSegmentReaderConfig.py.

◆ GeometryRPC

MuonSegmentReaderConfig.GeometryRPC

Definition at line 62 of file MuonSegmentReaderConfig.py.

◆ GeometrySCT

MuonSegmentReaderConfig.GeometrySCT

Definition at line 69 of file MuonSegmentReaderConfig.py.

◆ GeometrysTGC

MuonSegmentReaderConfig.GeometrysTGC

Definition at line 64 of file MuonSegmentReaderConfig.py.

◆ GeometryTGC

MuonSegmentReaderConfig.GeometryTGC

Definition at line 61 of file MuonSegmentReaderConfig.py.

◆ GlobalTag

MuonSegmentReaderConfig.GlobalTag

Definition at line 50 of file MuonSegmentReaderConfig.py.

◆ histSvc

MuonSegmentReaderConfig.histSvc = CompFactory.THistSvc(Output=["%s DATAFILE='%s', OPT='RECREATE'" % ("CALIBNTUPLESTREAM", ntuplename)], AutoFlush= -10000000, AutoSave= -10000000)

Definition at line 96 of file MuonSegmentReaderConfig.py.

◆ inputdir

string MuonSegmentReaderConfig.inputdir = '/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/MuonRecRTT/MdtCalibration/'

define the input files

Definition at line 42 of file MuonSegmentReaderConfig.py.

◆ isMC

MuonSegmentReaderConfig.isMC

Definition at line 51 of file MuonSegmentReaderConfig.py.

◆ log

MuonSegmentReaderConfig.log = logging.getLogger('CalibStreamConfig')

Definition at line 33 of file MuonSegmentReaderConfig.py.

◆ LookAhead

MuonSegmentReaderConfig.LookAhead

Definition at line 153 of file MuonSegmentReaderConfig.py.

◆ LumiBlockNumbers

MuonSegmentReaderConfig.LumiBlockNumbers

Definition at line 73 of file MuonSegmentReaderConfig.py.

◆ makePRDs

MuonSegmentReaderConfig.makePRDs

Definition at line 71 of file MuonSegmentReaderConfig.py.

◆ mdtCalibRawDataProvider

MuonSegmentReaderConfig.mdtCalibRawDataProvider = MdtCalibRawDataProviderCfg(flags)

Definition at line 117 of file MuonSegmentReaderConfig.py.

◆ ntuplename

string MuonSegmentReaderConfig.ntuplename = flags.Input.Files[0].split('/')[-1][0:-4] + "ntuple.root"

Definition at line 58 of file MuonSegmentReaderConfig.py.

◆ NumThreads

MuonSegmentReaderConfig.NumThreads

Definition at line 38 of file MuonSegmentReaderConfig.py.

◆ OutputJSON

MuonSegmentReaderConfig.OutputJSON

Definition at line 91 of file MuonSegmentReaderConfig.py.

◆ OutputLevel

MuonSegmentReaderConfig.OutputLevel

Definition at line 88 of file MuonSegmentReaderConfig.py.

◆ primary

MuonSegmentReaderConfig.primary

Definition at line 97 of file MuonSegmentReaderConfig.py.

◆ ProjectName

MuonSegmentReaderConfig.ProjectName

Definition at line 52 of file MuonSegmentReaderConfig.py.

◆ read

MuonSegmentReaderConfig.read = MuonCalibStreamReadCfg(flags)

Definition at line 113 of file MuonSegmentReaderConfig.py.

◆ reader

def MuonSegmentReaderConfig.reader = MuonSegmentReaderCfg(flags, CalibrationTool = acc.popToolsAndMerge(MdtCalibrationToolCfg(flags, TimeWindowSetting = 3, DoPropagationCorrection = True, DoSlewingCorrection = True, DoMagneticFieldCorrection = True)))

Definition at line 146 of file MuonSegmentReaderConfig.py.

◆ ReadKeyDCS

MuonSegmentReaderConfig.ReadKeyDCS

Definition at line 149 of file MuonSegmentReaderConfig.py.

◆ reco

MuonSegmentReaderConfig.reco = MuonSegmentFindingCfg(flags, setup_bytestream=False)

Definition at line 133 of file MuonSegmentReaderConfig.py.

◆ RingSize

MuonSegmentReaderConfig.RingSize

Definition at line 151 of file MuonSegmentReaderConfig.py.

◆ rpcCalibRawDataProvider

MuonSegmentReaderConfig.rpcCalibRawDataProvider = RpcCalibRawDataProviderCfg(flags)

Definition at line 123 of file MuonSegmentReaderConfig.py.

◆ RunNumbers

MuonSegmentReaderConfig.RunNumbers

Definition at line 55 of file MuonSegmentReaderConfig.py.

◆ summariseProps

MuonSegmentReaderConfig.summariseProps

Definition at line 155 of file MuonSegmentReaderConfig.py.

◆ tgcCalibRawDataProvider

MuonSegmentReaderConfig.tgcCalibRawDataProvider = TgcCalibRawDataProviderCfg(flags)

Definition at line 127 of file MuonSegmentReaderConfig.py.

◆ tool_kwargs

dictionary MuonSegmentReaderConfig.tool_kwargs = {}

Definition at line 106 of file MuonSegmentReaderConfig.py.

◆ True

MuonSegmentReaderConfig.True

Definition at line 155 of file MuonSegmentReaderConfig.py.

◆ Type

MuonSegmentReaderConfig.Type

Definition at line 76 of file MuonSegmentReaderConfig.py.

◆ TypedCollections

MuonSegmentReaderConfig.TypedCollections

Definition at line 48 of file MuonSegmentReaderConfig.py.

◆ withDetails

MuonSegmentReaderConfig.withDetails

Definition at line 155 of file MuonSegmentReaderConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.MuonGeometryConfig.MuonIdHelperSvcCfg
def MuonIdHelperSvcCfg(flags)
Definition: MuonGeometryConfig.py:15
python.MuonRecToolsConfig.MuonEDMHelperSvcCfg
def MuonEDMHelperSvcCfg(flags, name="MuonEDMHelperSvc", **kwargs)
Definition: MuonRecToolsConfig.py:29
MuonSegmentReaderConfig.MuonSegmentReaderCfg
def MuonSegmentReaderCfg(configFlags, **kwargs)
Definition: MuonSegmentReaderConfig.py:6
python.TrkResidualPullCalculatorConfig.ResidualPullCalculatorCfg
def ResidualPullCalculatorCfg(flags, name='ResidualPullCalculator', **kwargs)
Definition: TrkResidualPullCalculatorConfig.py:6