def CaloD3PD(file, level=4, tuplename='MyTuple', seq=topSequence, D3PDSvc='D3PD::RootD3PDSvc', streamNameRoot=None, **kw): alg = MakerAlg(tuplename, seq, file=file, D3PDSvc=D3PDSvc, streamNameRoot=streamNameRoot) alg += EventInfoD3PDObject(**_args(level, 'EventInfo', kw)) # CaloTower alg += TowerD3PDObject( **_args(0, 'CaloTower', kw, sgkey='CombinedTower', prefix='tw_calo_')) # TopoTower alg += TowerD3PDObject( **_args(1, 'TopoTower', kw, sgkey='TopoTower', prefix='tw_topo_')) return alg
from D3PDMakerCoreComps.MakerAlg import * from CaloD3PDMaker.ClusterD3PDObject import * from CaloD3PDMaker.CaloCellD3PDObject import * from CaloD3PDMaker.CaloInfoD3PDObject import * # switch off?? LArDigit JT. 09.10.2012 # from CaloD3PDMaker.LArDigitD3PDObject import * from EventCommonD3PDMaker.EventInfoD3PDObject import * alg = MakerAlg("caloD3PD", topSequence, file=tuple_name, D3PDSvc='D3PD::RootD3PDSvc') alg += EventInfoD3PDObject(1) # alg += AllCaloCellD3PDObject (10) #alg += SelCaloCellD3PDObject (Param) # alg += EMCellD3PDObject (10) # alg += HECCellD3PDObject (10) # alg += FCALCellD3PDObject (10) # alg += TileCellD3PDObject (10) alg += CaloInfoD3PDObject(1) alg += ClusterD3PDObject(2) # switch off LArDigitObj JT 09.10.2012 #alg += LArDigitD3PDObject (2)