Skip to content
Snippets Groups Projects
Commit d8fd7e3d authored by Antonio Sbrizzi's avatar Antonio Sbrizzi Committed by Graeme Stewart
Browse files

store LUCID digits and rawdata in RDO to ESD step (ForwardRec-00-02-00)

parent 87c9a411
No related branches found
No related tags found
No related merge requests found
author Peter Steinberg <peter.steinberg@bnl.gov>
private
package ForwardRec
use AtlasReconstructionRunTime AtlasReconstructionRunTime-* -no_auto_imports
use AtlasPolicy AtlasPolicy-*
branches run
apply_pattern declare_joboptions files="*.py"
AFP_ItemList=[]
AFP_ItemList.append("AFP_TDSimHitCollection#AFP_TDSimHitCollection")
AFP_ItemList.append("AFP_SIDSimHitCollection#AFP_SIDSimHitCollection")
#AFP_ItemList.append("AFP_RawDataContainer#AFP_RawData")
AFP_ItemList.append("AFP_TDDigiCollection#AFP_TDDigiCollection")
AFP_ItemList.append("AFP_SiDigiCollection#AFP_SiDigiCollection")
AFP_ItemList.append("AFP_TDLocRecoEvCollection#AFP_TDLocRecoEvCollection")
AFP_ItemList.append("AFP_SIDLocRecoEvCollection#AFP_SIDLocRecoEvCollection")
AlfaItemList=[]
#AlfaItemList.ItemList+= ["ALFA_HitCollection#*"]
#AlfaItemList.ItemList+= ["ALFA_ODHitCollection#*"]
#AlfaItemList.ItemList+= ["ALFA_DigitCollection#*"]
#AlfaItemList.ItemList+= ["ALFA_ODDigitCollection#*"]
#AlfaItemList.ItemList+= ["ALFA_RawDataContainer#*"]
AlfaItemList.append("ALFA_DigitCollection#ALFA_DigitCollection")
AlfaItemList.append("ALFA_ODDigitCollection#ALFA_ODDigitCollection")
#AlfaItemList.append("ALFA_RawDataContainer#ALFA_RawDataContainer")
AlfaItemList.append("ALFA_RawDataContainer#ALFA_RawData")
AlfaItemList.append("ALFA_LocRecEvCollection#ALFA_LocRecEvCollection")
AlfaItemList.append("ALFA_LocRecODEvCollection#ALFA_LocRecODEvCollection")
AlfaItemList.append("ALFA_LocRecCorrEvCollection#ALFA_LocRecCorrEvCollection")
AlfaItemList.append("ALFA_LocRecCorrODEvCollection#ALFA_LocRecCorrODEvCollection")
AlfaItemList.append("ALFA_CLinkEvent#ALFA_CLinkEvent")
include.block ('ForwardRec/ForwardRec_jobOptions.py')
from AthenaCommon.Resilience import treatException
from AthenaCommon.GlobalFlags import globalflags
from AthenaCommon.DetFlags import DetFlags
from RecExConfig.RecFlags import rec
if (rec.doLucid):
include ( "ForwardRec/LUCID_Rec_jobOptions.py" )
#if (rec.doForwardDet and rec.doZdc):
# include ( "ZdcRec/ZdcRec_jobOptions.py" )
if DetFlags.makeRIO.ZDC_on() and not rec.doWriteBS() :
try:
from ZdcRec.ZdcRawChannelGetter import ZdcRawChannelGetter
ZdcRawChannelGetter()
except Exception:
treatException("Problem with ZdcRawChannelGetter. Switched off.")
DetFlags.makeRIO.ZDC_setOff()
if rec.doAlfa() and rec.doESD():
if DetFlags.readRDOBS.ALFA_on():
#Needed for real-data reconstruction:
from ALFA_RawDataByteStreamCnv.ALFA_RawDataByteStreamCnvConf import ALFA_RawDataProvider
topSequence+=ALFA_RawDataProvider()
from ALFA_Raw2Digit.ALFA_Raw2DigitConf import ALFA_Raw2Digit
topSequence+=ALFA_Raw2Digit(MeasuredDataType = "tunnel")
pass
#For both, real and simulated data:
#from IOVDbSvc.CondDB import conddb
#conddb.addFolder("FWD","/FWD/ALFA/position_calibration<tag>FWDALFAposition_calibration-run373-v2</tag>")
include("ALFA_LocRec/ALFA_LocRec_joboption.py")
include("ALFA_LocRecCorr/ALFA_LocRecCorr_joboption.py")
include("ALFA_CLinkAlg/ALFA_CLinkAlg_joboption.py")
if rec.doAFP() and rec.doESD():
include("AFP_LocReco/AFP_LocReco_joboption.py")
from AthenaCommon.Logging import logging
mlog = logging.getLogger( 'RDOtoESD_Lucid: ' )
from AthenaCommon.GlobalFlags import globalflags
from RecExConfig.RecFlags import rec
from RecExConfig.ObjKeyStore import objKeyStore
if rec.doESD:
if DetFlags.readRDOPool.Lucid_on():
include("LUCID_RawDataByteStreamCnv/LUCID_DigitRawDataCnv.py")
if globalflags.DataSource()=='geant4':
objKeyStore.addStreamESD("LUCID_DigitContainer", "Lucid_Digits")
objKeyStore.addStreamESD("LUCID_RawDataContainer", "Lucid_RawData")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment