from AthenaCommon.AlgSequence import AlgSequence job = AlgSequence() job += tileInfoDump #=== save ROOT histograms and Tuple for bad cells if hasattr(tileInfoDump, "PrintBadCells"): if tileInfoDump.PrintBadCells: from GaudiSvc.GaudiSvcConf import THistSvc svcMgr += THistSvc() svcMgr.THistSvc.Output = [ "AANT DATAFILE='tileBadCells.root' OPT='RECREATE'" ] from AnalysisTools.AthAnalysisToolsConf import AANTupleStream job += AANTupleStream() AANTupleStream = AANTupleStream() AANTupleStream.ExtraRefNames = ["StreamESD", "Stream1"] AANTupleStream.OutputName = 'tileBadCells.root' AANTupleStream.WriteInputDataHeader = True AANTupleStream.OutputLevel = WARNING #============================================================ #=== MessageSvc setup #============================================================ MessageSvc = Service("MessageSvc") MessageSvc.OutputLevel = INFO MessageSvc.defaultLimit = 9999999 #============================================================ #=== Dummy event loop setup #============================================================ svcMgr.EventSelector.RunNumber = RUN
svcMgr.THistSvc.Output = [ "AANT DATAFILE='ntuple2.root' TYPE='ROOT' OPT='RECREATE'" ] NtupleName = "ntuple1.root" from AnalysisTools.AthAnalysisToolsConf import AANTupleStream aa = AANTupleStream() aa.ExtraRefNames = ["StreamESD", "StreamRDO"] aa.OutputName = NtupleName aa.ExistDataHeader = False aa.WriteInputDataHeader = True topSequence += aa from CBNT_Athena.CBNT_AthenaAwareCfg import CBNT_AthenaAware CBNT_Athena = CBNT_AthenaAware() topSequence += CBNT_Athena include("CBNT_Athena/CBNT_EventInfo_jobOptions.py") from CaloIdentifier import SUBCALO from CaloRec.CaloRecConf import CBNTAA_CaloCell theApp.Dlls += ["CaloRec"] #CBNT_Athena.Members += [ "CBNT_CaloCell/CBNT_RoILArCaloCell" ] CBNT_RoILArCaloCell = CBNTAA_CaloCell("CBNT_RoILArCaloCell") CBNT_Athena += CBNT_RoILArCaloCell CBNT_RoILArCaloCell.CaloNums = [SUBCALO.LAREM, SUBCALO.LARHEC, SUBCALO.LARFCAL] #CBNT_RoILArCaloCell.NtupleLocID="/FILE1/CALO/168"; CBNT_RoILArCaloCell.CellsName = "HLT_TrigT2CaloEgammaCells" CBNT_RoILArCaloCell.MaxNCells = 10000 CBNT_RoILArCaloCell.Suffix = "LRoI" CBNT_RoILArCaloCell.SaveDetInfo = True