3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
11 from CaloRec.CaloRecoConfig
import CaloRecoCfg
13 result.getEventAlgo(
"LArRawChannelBuilder").TimingContainerKey=
"LArOFIterResult"
15 from TrigT1ResultByteStream.TrigT1ResultByteStreamConfig
import L1TriggerByteStreamDecoderCfg
18 from LArCafJobs.LArSCDumperSkeleton
import L1CaloMenuCfg
21 from LumiBlockComps.BunchCrossingCondAlgConfig
import BunchCrossingCondAlgCfg
24 from IOVDbSvc.IOVDbSvcConfig
import addFolders
26 '/LAR/ElecCalibOfl/Shape/RTM/4samples3bins17phases<tag>LARElecCalibOflShapeRTM4samples3bins17phases-RUN2-UPD3-00</tag><key>LArShape17phases</key>',
29 result.getService(
"PoolSvc").ReadCatalog += [
"apcfile:poolcond/PoolCat_comcond_castor.xml"]
31 result.merge(
addFolders(flags,
'/LAR/ElecCalibOfl/AutoCorrs/AutoCorr<tag>LARElecCalibOflAutoCorrsAutoCorr-RUN2-UPD3-00</tag>',
'LAR_OFL'))
32 result.getService(
"IOVDbSvc").overrideTags+=[
'<prefix>/LAR/ElecCalibOfl/Shape/RTM/5samples1phase</prefix><tag>LARElecCalibOflShapeRTM5samples1phase-RUN2-UPD1-04</tag>']
34 result.getService(
"IOVDbSvc").overrideTags+=[
'<prefix>/LAR/ElecCalibOfl/OFC/PhysWave/RTM/4samples3bins17phases</prefix><tag>LARElecCalibOflOFCPhysWaveRTM4samples3bins17phases-RUN2-UPD3-00</tag>']
35 result.getService(
"IOVDbSvc").overrideTags+=[
'<prefix>/LAR/ElecCalibOfl/Shape/RTM/4samples3bins17phases</prefix><tag>LARElecCalibOflShapeRTM4samples3bins17phases-RUN2-UPD3-00</tag>']
37 print(
"Dumping flags: ")
39 dumperAlg=CompFactory.LArReadCells(
"LArReadCells")
40 dumperAlg.output = flags.LArShapeDump.outputNtup
41 dumperAlg.etCut = -1500.
42 dumperAlg.etCut2 = -1500.
44 result.addEventAlgo(dumperAlg)
49 if __name__==
"__main__":
51 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
53 from LArShapeDumperFlags
import addShapeDumpFlags
56 from AthenaConfiguration.TestDefaults
import defaultTestFiles
57 flags.Input.Files=defaultTestFiles.RAW_RUN2
58 flags.LAr.ROD.forceIter=
True
59 flags.LArShapeDump.outputNtup=
"SPLASH"
62 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
65 cfg.addService(CompFactory.THistSvc(Output=[
"SPLASH DATAFILE='ntuple.root' OPT='RECREATE'",]))