from GaudiKernel.ProcessJobOptions import importOptions # Instantiate the application. app = Brunel() # Don't save a DST app.OutputType = 'NONE' # Save a histo and ntuple file. HistogramPersistencySvc().OutputFile = "allBrunelHisto.root" NTupleSvc().Output=["FILE1 DATAFILE='allBrunelNtuple.root' TYP='ROOT' OPT='NEW'"] # Configure the IP ntupling algo. from Configurables import Velo__VeloIPResolutionMonitorNT ipMoniAlgo = Velo__VeloIPResolutionMonitorNT( "VeloIPResolutionMonitorNT" ) ipMoniAlgo.RefitPVs = True ipMoniAlgo.PrintToolProps = True def killSequence(seqName) : if isinstance(seqName, list) : for name in seqName : killSequence(name) else : GaudiSequencer(seqName).Members = [] # Add the IP monitoring algorithm to the Brunel sequence and remove all # superflous algorithms, such as CALO and RICH reconstruction, and any # other monitoring algos. def addIPMonitoring(): killSequence(["MoniVELOSeq", "MoniCALOSeq",