Example #1
0
 def __init__(self):
     mlog = logging.getLogger('MuonAlignmentIOFiles::__init__')
     if not MuonAlignmentIOFiles._rootFilePathIsSet:
         self.setRootFilePath(align.outputPath())
     if not MuonAlignmentIOFiles._asztFilePathIsSet:
         self.setAsztFilePath(mualign.asztFilePath())
     if not MuonAlignmentIOFiles._initialAsztFilePathIsSet:
         self.setInitialAsztFilePath(mualign.initialAsztFilePath())
Example #2
0
        CscClusterOnTrackCreator.OutputLevel = align.OutputLevel()
        CscClusterOnTrackCreator.ErrorScalingTool = muonErrorScalingTool

    MuonClusterOnTrackCreator = MuonRecTools.getPublicTool(
        "MuonClusterOnTrackCreator")
    MuonClusterOnTrackCreator.DoErrorScaling = True
    MuonClusterOnTrackCreator.OutputLevel = align.OutputLevel()
    MuonClusterOnTrackCreator.ErrorScalingTool = muonErrorScalingTool

try:
    doSetup
    doSetup()
except:
    printfunc("user defined setup method does not exist")

outputPath = align.outputPath()
if outputPath and not os.path.isdir(outputPath):
    printfunc("creating new directory ", outputPath)
    os.mkdir(outputPath)

#from MuonCompetingClustersOnTrackCreator.MuonCompetingClustersOnTrackCreatorConf import Muon__TriggerChamberClusterOnTrackCreator
#ToolSvc+=Muon__TriggerChamberClusterOnTrackCreator(OutputLevel=VERBOSE)

#ToolSvc.DCMathSegmentMaker.MuonCompetingClustersCreator.OutputLevel=DEBUG

ToolSvc.MuonClusterOnTrackCreator.FixedErrorTgcEta = 80.

#printfunc (ToolSvc.DCMathSegmentMaker.MuonCompetingClustersCreator.OutputLevel)
#printfunc (ToolSvc)

#from AthenaCommon.DetFlags import DetFlags