def checkForMissingData(): from Configurables import GaudiSequencer, TESCheck from Configurables import DataOnDemandSvc dod = DataOnDemandSvc() dod.Dump = True trigEvTES = "Trigger/RawEvent" from Configurables import RawEventSelectiveCopy trigRawBankCopy = RawEventSelectiveCopy('CopyTriggerRawEvent') trigRawBankCopy.RawBanksToCopy = [ 'ODIN', 'HltSelReports', 'HltDecReports', 'HltRoutingBits', 'HltVertexReports', 'L0Calo', 'L0CaloFull', 'L0DU', 'L0Muon', 'L0MuonProcCand', 'L0PU' ] trigRawBankCopy.OutputRawEventLocation = trigEvTES dod.AlgMap[trigEvTES] = trigRawBankCopy recSumTES = "Rec/Summary" from Configurables import RecSummaryAlg summary = RecSummaryAlg("CreateRecSummary") dod.AlgMap[recSumTES] = summary
(options, args) = parser.parse_args() if len(args) not in (0, 1): print parser.print_usage() sys.exit(-2) from math import fabs from array import array from Gaudi.Configuration import * from Configurables import LHCbApp, EventSelector, DstConf, PhysConf from Configurables import DataOnDemandSvc dod = DataOnDemandSvc() dod.Dump = True ApplicationMgr().ExtSvc += [ 'DataOnDemandSvc' ] if options.data: importOptions(options.data) ## Moore settings app = LHCbApp() app.EvtMax = options.nevents app.CondDBtag = 'sim-20131023-vc-md100' app.DDDBtag = 'dddb-20130929-1' app.DataType = '2015' app.Simulation = True ApplicationMgr().HistogramPersistency = "ROOT"