Thu Apr 21 16:14:35 CEST 2005 Athena INFO including file "AthenaCommon/Compat.py" Athena INFO including file "AthenaCommon/Bootstrap.py" -+- 0 #************************************************************** -+- 1 # -+- 2 # Athena bootstrap options file -+- 3 # -+- 4 #============================================================== -+- 5 -+- 6 #-------------------------------------------------------------- -+- 7 # Atlas specific event loop and output stream -+- 8 #-------------------------------------------------------------- -+- 9 A theApp.EventLoop = "AthenaEventLoopMgr" -+- 10 A theApp.OutStreamType = "AthenaOutputStream" -+- 11 -+- 12 #-------------------------------------------------------------- -+- 13 # take care of job options legacy -+- 14 #-------------------------------------------------------------- -+- 15 A theApp.JobOptionsPath = "" -+- 16 A theApp.JobOptionsType = "NONE" -+- 17 -+- 18 #============================================================== -+- 19 # -+- 20 # End of Athena bootstrap options file -+- 21 # -+- 22 #************************************************************** Athena INFO end of "AthenaCommon/Bootstrap.py" ApplicationMgr INFO Successfully loaded modules: ApplicationMgr INFO Application Manager Configured successfully Athena INFO including file "AthenaCommon/Atlas.UnixStandardJob.py" -+- 0 #************************************************************** -+- 1 # -+- 2 # Unix standard job options file -+- 3 # -+- 4 #============================================================== -+- 5 -+- 6 #-------------------------------------------------------------- -+- 7 # units, as defined from CLHEP (not shown on screen) -+- 8 #-------------------------------------------------------------- -+- 9 A from AthenaCommon.SystemOfUnits import * -+- 10 -+- 11 #-------------------------------------------------------------- -+- 12 # ApplicationMgr configuration -+- 13 #-------------------------------------------------------------- -+- 14 A theApp.ExtSvc = [ "IncidentSvc/IncidentSvc", -+- 15 "EvtPersistencySvc/EventPersistencySvc", -+- 16 "HistogramSvc/HistogramDataSvc", -+- 17 "NTupleSvc/NTupleSvc", -+- 18 "ToolSvc/ToolSvc", -+- 19 "AuditorSvc/AuditorSvc", -+- 20 "RndmGenSvc/RndmGenSvc", -+- 21 "ChronoStatSvc/ChronoStatSvc" ] -+- 22 -+- 23 #-------------------------------------------------------------- -+- 24 # Auditor service call-in -+- 25 #-------------------------------------------------------------- -+- 26 A theAuditorSvc = AuditorSvc() -+- 27 A theAuditorSvc.__dict__[ 'auditor' ] = theApp.service -+- 28 A _services[ 'theAuditorSvc' ] = theAuditorSvc -+- 29 -+- 30 #-------------------------------------------------------------- -+- 31 # StoreGate services configuration -+- 32 #-------------------------------------------------------------- -+- 33 A include( "StoreGate/StoreGate_jobOptions.py" ) Athena INFO including file "StoreGate/StoreGate_jobOptions.py" -+- 0 A theApp.Dlls += [ "StoreGate", "CLIDSvc" ] ApplicationMgr INFO Successfully loaded modules: StoreGate, CLIDSvc -+- 1 A theApp.ExtSvc += [ "StoreGateSvc/DetectorStore", "StoreGateSvc", "StoreGateSvc/HistoryStore" ] -+- 2 #FIXME uncomment to verify that your CLIDs are good! -+- 3 #ClassIDSvc = Service( "ClassIDSvc" ) -+- 4 #ClassIDSvc.CLIDDBFiles += [ "clid.db" ] -+- 5 A include( "IOVSvc/IOVSvc.py" ) Athena INFO including file "IOVSvc/IOVSvc.py" -+- 0 #------------------------------------------------------------------------ -+- 1 # -+- 2 # Load the Interval of Validity Service -+- 3 # -+- 4 #------------------------------------------------------------------------ -+- 5 -+- 6 # Block double includes -+- 7 A include.block( "IOVSvc/IOVSvc.py" ) -+- 8 -+- 9 A theApp.Dlls += [ "IOVSvc" ] ServiceManager WARNING Service factory for type IOVSvc already declared ApplicationMgr INFO Successfully loaded modules: IOVSvc -+- 10 A theApp.ExtSvc += [ "IOVSvc" ] Athena INFO end of "IOVSvc/IOVSvc.py" -+- 6 A theAuditorSvc = AuditorSvc() -+- 7 A theAuditorSvc.Auditors += [ "AlgContextAuditor"] Athena INFO end of "StoreGate/StoreGate_jobOptions.py" -+- 34 -+- 35 A DetectorStore = Service( 'DetectorStore' ) -+- 36 -+- 37 # StoreGate bindings setup -+- 38 A PyLCGDict.loadDict( "StoreGateDict" ) -+- 39 -+- 40 # combine python property and bound interfaces (FIXME: this uses internal code) -+- 41 A class _StoreGateClass( object ): -+- 41 T class _StoreGateClass( object ): -+- 42 A def __init__( self ): -+- 43 self.__dict__[ '_sg' ] = PyLCGDict.makeClass( 'StoreGate' ).pointer() -+- 44 self.__dict__[ '_isvc' ] = Service( 'StoreGateSvc' ) -+- 45 self.__dict__[ '_isvc' ].__dict__[ '_ip' ] = self -+- 46 -+- 47 A def __getattr__( self, name ): -+- 48 try: -+- 49 return getattr( self._sg, name ) -+- 50 except AttributeError: -+- 51 return getattr( self._isvc, name ) -+- 52 -+- 53 A def __setattr__( self, name, value ): -+- 54 setattr( self._isvc, name, value ) -+- 55 -+- 56 A def dump( self ): -+- 57 print self.__dict__[ '_sg' ].dump() -+- 58 -+- 59 A def retrieve( self, aClass, aKey = None ): -+- 60 # templated retrieve interface -+- 61 if aKey: -+- 62 return gbl.PyGate( aClass ).retrieve( self, aKey ) -+- 63 else: -+- 64 return gbl.PyGate( aClass ).retrieve( self ) -+- 65 -+- 66 A def properties( self ): -+- 67 return self.__dict__[ '_isvc' ].properties() -+- 68 -+- 69 # the StoreGate instance -+- 70 A StoreGate = _StoreGateClass() -+- 43 T self.__dict__[ '_sg' ] = PyLCGDict.makeClass( 'StoreGate' ).pointer() ActiveStoreSvc INFO Initializing ActiveStoreSvc - package version StoreGate-02-14-14 -+- 44 T self.__dict__[ '_isvc' ] = Service( 'StoreGateSvc' ) -+- 45 T self.__dict__[ '_isvc' ].__dict__[ '_ip' ] = self -+- 71 A del _StoreGateClass -+- 72 -+- 73 # proper redirection (FIXME: this uses internal code) -+- 74 A _services[ 'StoreGate' ] = StoreGate -+- 75 A _services[ 'StoreGateSvc' ] = StoreGate -+- 76 -+- 77 #-------------------------------------------------------------- -+- 78 # Initialization of DetDescrCnvSvc -+- 79 #-------------------------------------------------------------- -+- 80 A include( "DetDescrCnvSvc/DetStore_joboptions.py" ) Athena INFO including file "DetDescrCnvSvc/DetStore_joboptions.py" -+- 0 # -+- 1 # Joboptions for bootstrapping the loading of the DetectorStore with -+- 2 # the DetDescrCnvSvc -+- 3 # -+- 4 # DLLs -+- 5 A theApp.Dlls += [ "DetDescrCnvSvc" ] ApplicationMgr INFO Successfully loaded modules: DetDescrCnvSvc -+- 6 -+- 7 # Instead use the event pers svc: -+- 8 A theApp.ExtSvc += [ "DetDescrCnvSvc" ] -+- 9 -+- 10 # Set DetDescrCnvSvc to be a proxy/address provider -+- 11 #ProxyProviderSvc.ProviderNames += { "DetDescrCnvSvc" }; -+- 12 A EventPersistencySvc = Service( "EventPersistencySvc" ) -+- 13 A EventPersistencySvc.CnvServices += [ "DetDescrCnvSvc" ] EventPersistenc... INFO "CnvServices": ["DetDescrCnvSvc"] -+- 14 -+- 15 # Specify primary Identifier dictionary to be used -+- 16 A DetDescrCnvSvc = Service( "DetDescrCnvSvc" ) -+- 17 A DetDescrCnvSvc.IdDictName = "IdDictParser/ATLAS_IDS.xml" -+- 18 -+- 19 # Specify the tag to be used -+- 20 # DetDescrCnvSvc.IdDictGlobalTag = "initial_layout" -+- 21 -+- 22 # Always include the IdDict jobOptions -+- 23 A include( "IdDictDetDescrCnv/IdDictDetDescrCnv_joboptions.py" ) Athena INFO including file "IdDictDetDescrCnv/IdDictDetDescrCnv_joboptions.py" -+- 0 # -+- 1 # Joboptions for the loading of the of InDetDDMgr -+- 2 # -+- 3 -+- 4 # DLLs -+- 5 A theApp.Dlls += [ "IdDictDetDescrCnv" ] ApplicationMgr INFO Successfully loaded modules: IdDictDetDescrCnv -+- 6 Athena INFO end of "IdDictDetDescrCnv/IdDictDetDescrCnv_joboptions.py" -+- 24 Athena INFO end of "DetDescrCnvSvc/DetStore_joboptions.py" -+- 81 -+- 82 #============================================================== -+- 83 # -+- 84 # End of Unix standard job options file -+- 85 # -+- 86 #************************************************************** Athena INFO end of "AthenaCommon/Atlas.UnixStandardJob.py" Athena INFO including file "rec/disk5/test/optRecExToESD_1.py" -+- 0 A EvtMax=50 -+- 1 A PoolRDOInput=["rfio:/castor/cern.ch/user/h/hhayward/10.0.0/FakeMuons/Digitization/test/digi_1.root"] -+- 2 A PoolESDOutput = "rfio:/castor/cern.ch/user/h/hhayward/10.0.1/disk5/test/ESD_1.pool.root" -+- 3 A include ("RecExCommon/RecExCommon_flags.py") Athena INFO including file "RecExCommon/RecExCommon_flags.py" -+- 0 # flags to configure RecExCommon -+- 1 # Default values are set only if the variables do not exist yet. -+- 2 # To configure it there are several possibilities, from the most -+- 3 # recommended to the least -+- 4 # - specify values to be changed with the -c option -+- 5 # athena -c "readG3=True ; EvtMax = 100" RecExCommon_topOptions.py -+- 6 # Note: please use \" if a " is needed inside the command line -+- 7 # athena -c "include(\"RecExCommon/RecExCommon_flags.py\") ; DetFlags.Muon_setOff()" RecExCommon_topOptions.py -+- 8 # - create a file myconfig.py with the values to be changed -+- 9 # (myconfig.py could be copied/edited from RecExCommon_flags.py), -+- 10 # then run -+- 11 # athena myconfig.py RecExCommon_topOptions.py -+- 12 # - edit/modify RecExCommon_topOptions.py and add the new values -+- 13 # specification inside -+- 14 # - edit/modify the default values in RecExCommon_flags.py -+- 15 -+- 16 -+- 17 A varInit=dir() -+- 18 -+- 19 # some very general flags, EvtMax, SkipEvents, PoolESDInput etc... -+- 20 A include ("AthenaCommon/AthenaCommonFlags.py") Athena INFO including file "AthenaCommon/AthenaCommonFlags.py" -+- 0 # Common flags to configure jobOptions -+- 1 # Flags to select number of events and input and output files -+- 2 # are included in this file: -+- 3 # EvtMax: Number of events to run -+- 4 # SkipEvents: Number of events to skip -+- 5 # PoolEvgenInput: Input file name containing HepMC trees -+- 6 # PoolHitsInput: Input file name containing Hits -+- 7 # PoolRDOInput Input file name containing RDOs -+- 8 # PoolESDInput Input file name containing ESDs -+- 9 # PoolAODInput Input file name containing AODs -+- 10 # -+- 11 # PoolEvgenOutput: Output file name containing HepMC trees -+- 12 # PoolHitsOutput: Output file name containing Hits -+- 13 # PoolRDOOutput Output file name containing RDOs -+- 14 # PoolESDOutput Output file name containing ESDs -+- 15 # PoolAODOutput Output file name containing AODs -+- 16 # -+- 17 # To configure it there are several possibilities, from the most -+- 18 # recommended to the least -+- 19 # - specify values to be changed with the -c option -+- 20 # athena -c "readG3=True ; EvtMax = 100" RecExCommon_topOptions.py -+- 21 # Note: please use \" if a " is needed inside the command line -+- 22 # athena -c "include(\"RecExCommon/RecExCommon_flags.py\") ; DetFlags.Muon_setOff()" RecExCommon_topOptions.py -+- 23 # - create a file myconfig.py with the values to be changed -+- 24 # then run -+- 25 # athena myconfig.py RecExCommon_topOptions.py -+- 26 -+- 27 -+- 28 #number of events to process -+- 29 A varInit=dir() -+- 30 -+- 31 # use python ntuple to store variables (from wim) -+- 32 # these are default values -+- 33 A AthenaCommonFlags = { -+- 34 'EvtMax' : 5, # number of events to be processed -+- 35 'SkipEvents' : 0, # number of events to be skipped -+- 36 'PoolEvgenInput' : ["Evgen.pool.root"], -+- 37 'PoolHitsInput' : ["Hits.pool.root"], -+- 38 'PoolRDOInput' : ["RDO.pool.root"], # input RDO file -+- 39 'PoolESDInput' : [ "ESD.pool.root" ], # pool ESD input file -+- 40 'PoolAODInput' : [ "AOD.pool.root" ], # pool ESD input file -+- 41 'PoolEvgenOutput' : "Evgen.pool.root", # pool evgen file -+- 42 'PoolHitsOutput' : "Hits.pool.root", # pool evgen file -+- 43 'PoolRDOOutput' : "RDO.pool.root", # pool evgen file -+- 44 'PoolESDOutput' : "ESD.pool.root", # pool ESD output file -+- 45 'PoolAODOutput' : "AOD.pool.root" # pool AOD output file -+- 46 } -+- 47 -+- 48 # set variable to default if not already set -+- 49 A for o in [ o for o in AthenaCommonFlags.keys() if not o in varInit ]: -+- 50 A exec '%s = AthenaCommonFlags[ "%s" ]' % (o,o) -+- 49 T for o in [ o for o in AthenaCommonFlags.keys() if not o in varInit ]: -+- 50 T exec '%s = AthenaCommonFlags[ "%s" ]' % (o,o) -+- 49 T for o in [ o for o in AthenaCommonFlags.keys() if not o in varInit ]: -+- 50 T exec '%s = AthenaCommonFlags[ "%s" ]' % (o,o) -+- 49 T for o in [ o for o in AthenaCommonFlags.keys() if not o in varInit ]: -+- 50 T exec '%s = AthenaCommonFlags[ "%s" ]' % (o,o) -+- 49 T for o in [ o for o in AthenaCommonFlags.keys() if not o in varInit ]: -+- 50 T exec '%s = AthenaCommonFlags[ "%s" ]' % (o,o) -+- 49 T for o in [ o for o in AthenaCommonFlags.keys() if not o in varInit ]: -+- 50 T exec '%s = AthenaCommonFlags[ "%s" ]' % (o,o) -+- 49 T for o in [ o for o in AthenaCommonFlags.keys() if not o in varInit ]: -+- 50 T exec '%s = AthenaCommonFlags[ "%s" ]' % (o,o) -+- 49 T for o in [ o for o in AthenaCommonFlags.keys() if not o in varInit ]: -+- 50 T exec '%s = AthenaCommonFlags[ "%s" ]' % (o,o) -+- 49 T for o in [ o for o in AthenaCommonFlags.keys() if not o in varInit ]: -+- 50 T exec '%s = AthenaCommonFlags[ "%s" ]' % (o,o) -+- 49 T for o in [ o for o in AthenaCommonFlags.keys() if not o in varInit ]: -+- 51 -+- 52 Athena INFO end of "AthenaCommon/AthenaCommonFlags.py" -+- 21 # prevent this file to be included a second time -+- 22 A include.block("AthenaCommon/AthenaCommonFlags.py") -+- 23 -+- 24 # prevent the current file to be included a second time -+- 25 A include.block("RecExCommon/RecExCommon_flags.py") -+- 26 #guard to include it only once -+- 27 -+- 28 -+- 29 # use python ntuple to store variables (from wim) -+- 30 # these are default values -+- 31 A RecExCommonFlags = { -+- 32 'BSRDOInput' : ["./dc2_mixing_all_phys_0003621_file100002.data"], -+- 33 #["/castor/cern.ch/grid/atlas/datafiles/dc2/mixing/dc2.006666.mixing.all_A/dc2_evtmix_0066666_file100001.data.2"], # Bytestream input file -+- 34 # ["/castor/cern.ch/atlas/project/dc2/preprod/evtmix808/dc2_evtmix808_0065432/data/dc2_evtmix808_0065432_file100001.data"] -+- 35 'PoolRDOInput' : ["LFN:zee_RDO_extract.pool"], # input RDO file -+- 36 # Z ee (just 10 events) -+- 37 # (LFN for logical file name, otherwise specify full path (preceded by rfio: for castor files) -+- 38 # be careful to set correctly GlobalFlags according to the -+- 39 # nature of the input file -+- 40 # Z ee (100 events) -+- 41 # PoolRDOInput = [ "LFN:zee_RDO.pool" ] -+- 42 # Z mumu -+- 43 # PoolRDOInput = [ "LFN:zmumu_RDO.pool" ] -+- 44 # Z mumu with pile up (same input file) ( need change GlobalFlag.Luminosity) -+- 45 # PoolRDOInput = [ "LFN:zmumu_highlumi_RDO.pool" ] -+- 46 # H->llll initial layout -+- 47 # PoolRDOInput = [ "LFN:hllll_initial_RDO.pool" ] ; DetDescrVersion="Rome-Initial" -+- 48 'readColl' : False, # if true use collection (to be done in *addition* to readESD if relevant) (collections are to be created first with: -+- 49 # athena.py -c " In=[\"LFN:zee_RDO_extract.pool\"] ; Out=\"MyColl\" " TagCollectionTest/MakeSimpleCollection.py -+- 50 'CollInput' : [ "MyColl" ], # name of collection (.root will be appended) -+- 51 'CollInputQuery' : "eventNumber != 3 && runNumber!=1234 ", # selection -+- 52 'RootNtupleOutput' : "ntuple.root", # Root Ntuple output -+- 53 'RootHistoOutput' : "histo.root", # Root Histogram output -+- 54 'HbookNtupleOutput' : "ntuple.hbook", # Hbook Ntuple output -+- 55 'HbookHistoOutput' : "histo.hbook", # Hbook Histogram output -+- 56 'readG3' : False, # if run on Geant3 data -+- 57 'useNova' : False, # if True maximise use of Nova and minimize Oracle -+- 58 'readESD' : False, # if run on ESD file -+- 59 'doWriteESD' : False, # if write out ESD file -+- 60 'doWriteAOD' : False, # if write out AOD file (not fully debugged) -+- 61 'OutputLevel': INFO, # general msg output level VERBOSE DEBUG INFO -+- 62 'doTimeLimit': False, # if stop execution when allocated time elapsed -+- 63 'doTruth' : True, # id use the truth -+- 64 'doDumpMC' : False, # if dump mc truth in log file -+- 65 'doNameAuditor' : False, # if NameAuditor switched on (one line print out per alg) -+- 66 'doShowSizeStatistics' : False, # if print pool object size stat of input file -+- 67 'doDumpTES' : False, # if dump storegate transient event store -+- 68 'doDumpTDS' : False, # if dump storegate transient detector store -+- 69 'doDumpProperties' : False, # if dump all algs properties -+- 70 'doDetailedAuditor' : False, # if monitor alg/tools and services memory and CPU time -+- 71 'doCheckDictionary' : False, # if check dictionary -+- 72 'doCBNT' : True, # if output combined ntuple -+- 73 'doHist' : True, # if output some histograms -+- 74 'doJiveXML' : False, # if output xml file for atlantis -+- 75 'useROOTNtuple' : True, # if use root ntuple rather than hbook -+- 76 'AllAlgs' : True, # if false the default is to have all algs off -+- 77 'UserAlgs' : "", -+- 78 } # user algorithm(s) e.g ["MyPackage/MyAlg_jobOptions.py"] -+- 79 -+- 80 # set variable to default if not already set -+- 81 A for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 A exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 82 T exec '%s = RecExCommonFlags[ "%s" ]' % (o,o) -+- 81 T for o in [ o for o in RecExCommonFlags.keys() if not o in varInit ]: -+- 83 -+- 84 -+- 85 -+- 86 # Algorithm switches (separated so that they can be manipulated all together -+- 87 A RecExCommonAlgs = { -+- 88 'doxKalman' : True, -+- 89 'doiPatRec' : True, -+- 90 'doEmCluster' : True, -+- 91 'doCaloCluster' : True, -+- 92 'doCaloTopoCluster' : True, -+- 93 'doMoore' : True, -+- 94 'doMuonbox' : True, -+- 95 'doConversion' : True, -+- 96 'doBtagging' : True, -+- 97 'doEgamma' : True, -+- 98 'doJetRec' : True, -+- 99 'doTauRec' : True, -+- 100 'doMuonID' : True, -+- 101 'doStaco' : True, -+- 102 'doTileMuID' : True, -+- 103 'doMissingET' : True, -+- 104 'doEFlow' : False, -+- 105 'doEFlowJet' : False, -+- 106 'doAODLVL1' : True, -+- 107 # not readG3 and not DetDescrVersion=\"Rome-Initial\", # -+- 108 # cannot be run on geant3 -+- 109 # nor on initial layout (missing muon info) -+- 110 'doTrigger' : False, -+- 111 'doAtlfast' : False -+- 112 -+- 113 } -+- 114 -+- 115 -+- 116 -+- 117 A if AllAlgs and not readESD: -+- 118 A for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 A exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 119 T exec '%s = RecExCommonAlgs[ "%s" ]' % (o,o) -+- 118 T for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 120 else: -+- 121 print "By default switch off all algorithms" -+- 122 for o in [ o for o in RecExCommonAlgs.keys() if not o in varInit ]: -+- 123 exec '%s = False' % (o) -+- 124 -+- 125 # merge Algs flag with the other flags for future reference -+- 126 A RecExCommonFlags.update (AthenaCommonFlags) -+- 127 A RecExCommonFlags.update (RecExCommonAlgs) -+- 128 -+- 129 -+- 130 -+- 131 # GlobalFlags : Author Tadashi Maeno, David Rousseau -+- 132 # This is class for main jobs configuration flags -+- 133 # -+- 134 # Category : DetGeo has states : atlas ctbh6 ctbh8 (ctbh6 and ctbh8 grouped in ctb) -+- 135 # Category : DataSource has states : data geant3 geant4 -+- 136 # Category : InputFormat has states : zebra pool bytestream -+- 137 # Category : Luminosity has states : zero, verylow (10^33), low (2 10^33), -+- 138 # high (10^34) -+- 139 # -+- 140 # Each category can be set once and only once by the main topOptions. -+- 141 # states are mutually exclusive -+- 142 # -+- 143 # from AthenaCommon.GlobalFlags import GlobalFlags -+- 144 # GlobalFlags.DetGeo.set_atlas() # set DetGeo to be atlas -+- 145 # (trying to set again the same category will throw an error) -+- 146 # -+- 147 # state can be interrogated as follows (by construction, one category -+- 148 # is only in one state. Testing a category that has not been set -+- 149 # throws an error): -+- 150 # if GlobalFlags.DetGeo.is_atlas(): -+- 151 # -+- 152 # Groupings canbe used to interrogate (no set methods available): -+- 153 # if GlobalFlags.DetGeo.is_ctb(): (or of is_ctbh6() and is_ctbh8()) -+- 154 -+- 155 A if 'GlobalFlags' in varInit: -+- 156 print "GlobalFlags already imported:" -+- 157 else: -+- 158 A from AthenaCommon.GlobalFlags import GlobalFlags -+- 159 -+- 160 # default is atlas geometry -+- 161 A try: -+- 162 A GlobalFlags.DetGeo.set_atlas() -+- 163 except RuntimeError: -+- 164 print "GlobalFlags.DetGeo already set" -+- 165 -+- 166 -+- 167 -+- 168 -+- 169 -+- 170 A if readG3: -+- 171 try: -+- 172 GlobalFlags.DataSource.set_geant3() -+- 173 except RuntimeError: -+- 174 print "GlobalFlags.DataSource already set" -+- 175 -+- 176 try: -+- 177 GlobalFlags.InputFormat.set_zebra() -+- 178 except RuntimeError: -+- 179 print "GlobalFlags.InputFormat already set" -+- 180 else: -+- 181 A try: -+- 182 A GlobalFlags.DataSource.set_geant4() -+- 183 except RuntimeError: -+- 184 print "GlobalFlags.DataSource already set" -+- 185 -+- 186 A try: -+- 187 A GlobalFlags.InputFormat.set_pool() -+- 188 except RuntimeError: -+- 189 print "GlobalFlags.InputFormat already set" -+- 190 -+- 191 A try: -+- 192 # default is zero luminosity -+- 193 A GlobalFlags.Luminosity.set_zero() -+- 194 # for high lumi -+- 195 # GlobalFlags.Luminosity.set_high() -+- 196 except RuntimeError: -+- 197 print "GlobalFlags.Luminosity already set" -+- 198 -+- 199 -+- 200 # if bytestream no truth -+- 201 A if GlobalFlags.InputFormat.is_bytestream(): -+- 202 print " No truth on bytestream" -+- 203 doTruth=False -+- 204 -+- 205 # set here the geometry version -+- 206 -+- 207 A if (not "DetDescrVersion" in varInit) or (DetDescrVersion == "" or DetDescrVersion == "Default"): -+- 208 A DetDescrVersion = "DC2" -+- 209 A if ("GlobalFlags" in dir()): -+- 210 A if GlobalFlags.DataSource.is_geant3(): -+- 211 DetDescrVersion = "DC1" -+- 212 A elif GlobalFlags.DetGeo.is_ctb(): -+- 213 DetDescrVersion = "CTB" -+- 214 -+- 215 # data for Rome have Muon Digit unless otherwise specified -+- 216 -+- 217 A if not readESD: -+- 218 A if DetDescrVersion=="Rome-Initial" or DetDescrVersion=="Rome-Final" : -+- 219 if 'readMuonDigit' not in dir(): -+- 220 readMuonDigit=True -+- 221 elif readMuonDigit==False: -+- 222 print "%sNING: Rome data normally should have readMuonDigit=True" % "WAR" -+- 223 else: -+- 224 A if 'readMuonDigit' not in dir(): -+- 225 A readMuonDigit=False -+- 226 elif readMuonDigit==True: -+- 227 print "%sNING: non-Rome data normally should have readMuonDigit=False" % "WAR" -+- 228 elif 'readMuonDigit' in dir() and readMuonDigit: -+- 229 print "%sNING: readMuonDigit=True meaningful only when reading ESD" % "WAR" -+- 230 readMuonDigit=False -+- 231 else: -+- 232 readMuonDigit=False -+- 233 -+- 234 # DetFlags : Author Tadashi Maeno -+- 235 # -+- 236 # detectors : ID = pixel SCT TRT -+- 237 # LAr = em HEC FCal -+- 238 # Calo = em HEC FCal Tile -+- 239 # Muon = MDT CSC TGC RPC -+- 240 # tasks: -+- 241 # geometry : setup the geometry -+- 242 # digitize : hit -> RDO (raw data objects) -+- 243 # makeRIO : RDO -> RIO (Reconstruction Input Objects) -+- 244 # writeBS : write RDO byte stream -+- 245 # readRDOBS : read RDO from byte stream -+- 246 # readRDOPool : read RDO from pool -+- 247 # readRIOBS : read RIO directly from BS -+- 248 # writeRDOPool : write RDO in pool -+- 249 # -+- 250 # subdetectors and tasks from a matrix of flags which are all -+- 251 # off by default -+- 252 # changing the flags: -+- 253 # tasks can be switched on/off for all detectors: -+- 254 # DetFlags.detdescr.all_setOn() (or all_setOff() -+- 255 # a task for a given subdetector can be switched on/off -+- 256 # DetFlags.readRDOPool.Pixel_setOn() (or setOff() ) -+- 257 # setting off/on a group of subdetectors (e.g. LAr or Muon) switch off/on -+- 258 # all the corresponding subdetectors -+- 259 # a subdetector can be switched on/off for all tasks: -+- 260 # DetFlags.Muon_setOn() (or setOff() ) -+- 261 # -+- 262 # Flags can be tested individually: -+- 263 # if DetFlags.detdescr.pixel_on(): -+- 264 # print "pix Geo On" -+- 265 # else: -+- 266 # print "pix Geo Off" -+- 267 # there is no off() method, just use not -+- 268 # Group of subdetectors can also be tested: -+- 269 # if DetFlags.detdescr.any_on() : true if any subdet is true -+- 270 # if DetFlags.detdescr.allOn() : true if all subdet is true -+- 271 # if DetFlags.detdescr.LAr_on() : true if any LAr det is true -+- 272 # if DetFlags.detdescr.LAr_allOn() : true if all LAr det is true -+- 273 A if 'DetFlags' in varInit: -+- 274 print "DetFlags already defined:" -+- 275 DetFlags.Print() -+- 276 else: -+- 277 # include DetFlags -+- 278 # by default everything is off -+- 279 A from AthenaCommon.DetFlags import DetFlags -+- 280 # switch on tasks for all detectors -+- 281 A DetFlags.detdescr.all_setOn() -+- 282 A if not readESD: -+- 283 A DetFlags.makeRIO.all_setOn() -+- 284 else: -+- 285 DetFlags.makeRIO.all_setOff() -+- 286 -+- 287 A if GlobalFlags.InputFormat.is_pool(): -+- 288 A DetFlags.readRDOPool.all_setOn() -+- 289 A DetFlags.readRDOBS.all_setOff() -+- 290 A DetFlags.readRIOBS.all_setOff() -+- 291 elif GlobalFlags.InputFormat.is_bytestream(): -+- 292 DetFlags.readRDOPool.all_setOff() -+- 293 DetFlags.readRDOBS.all_setOn() -+- 294 # DetFlags.readRIOBS.all_setOn() -+- 295 else: -+- 296 DetFlags.readRDOPool.all_setOff() -+- 297 DetFlags.readRDOBS.all_setOff() -+- 298 # DetFlags.readRIOBS.all_setOff() -+- 299 -+- 300 # very special case for normal Rome production -+- 301 A if readMuonDigit: -+- 302 DetFlags.makeRIO.Muon_setOn() -+- 303 DetFlags.readRDOPool.Muon_setOff() -+- 304 DetFlags.readRIOPool.Muon_setOn() -+- 305 -+- 306 -+- 307 -+- 308 -+- 309 # (note that these flags are visible from within included fragments) -+- 310 # doTracking=True is Obsolete. Tests are now done on DetFlags.makeRIO.ID_On() -+- 311 # internal calorimeter configuration -+- 312 A if GlobalFlags.InputFormat.is_zebra(): -+- 313 # set to true if want calo noise -+- 314 if not 'doCaloNoise' in varInit: -+- 315 doCaloNoise=False -+- 316 -+- 317 # normally in geant4 data noise has already been simulated -+- 318 A if GlobalFlags.DataSource.is_geant4(): -+- 319 A if not 'doCaloNoise' in varInit: -+- 320 A doCaloNoise=True -+- 321 -+- 322 -+- 323 # internal tracking configuration -+- 324 -+- 325 # default is two make two collections of trackParticle -+- 326 A if not 'makeBothTrackParticles' in varInit: -+- 327 A makeBothTrackParticles=True -+- 328 -+- 329 A if 'InDetFlags' in varInit: -+- 330 print "InDetFlags already defined" -+- 331 else: -+- 332 A include ( "InDetRecExample/InDetFlags.py" ) Athena INFO including file "InDetRecExample/InDetFlags.py" -+- 0 # ---- choose subdetectors to decode -+- 1 -+- 2 A class InDetFlags: -+- 2 T class InDetFlags: -+- 3 # Controls whether to do PrepRawData/RIO Formation -+- 4 A doPRDFormation=True -+- 5 # Control whether to do SpacePointFormation -+- 6 A doSpacePointFormation=True -+- 7 # control whether to run xKalman (default=true) -+- 8 A doxKalman=True -+- 9 # control whether to run iPatRec (default=true) -+- 10 A doiPatRec=True -+- 11 # control whether to create do vertex finding (default=true) -+- 12 A doVertexFinding=True -+- 13 # control whether to create TrackParticles (default=true) -+- 14 A doParticleCreation=True -+- 15 A doLegacyConversion=True -+- 16 A doAmbiSolving=True -+- 17 #if do refit=true then all tracks from the ambi processor will be refit -+- 18 A doRefit=FalseAthena INFO end of "InDetRecExample/InDetFlags.py" -+- 333 # change default indet flags -+- 334 A InDetFlags.doxKalman = doxKalman -+- 335 A InDetFlags.doiPatRec = doiPatRec -+- 336 -+- 337 -+- 338 # AOD Flags -+- 339 A if 'AODFlags' in varInit: -+- 340 print "AODFlags already defined" -+- 341 else: -+- 342 A from ParticleEventAthenaPool.AODFlags import AODFlags -+- 343 A AODFlags.Print() Photon : ON Electron : ON Muon : ON Tau : ON ParticleJet : ON BJet : ON JetTag : ON SpclMC : ON TruthParticleJet : ON MissingEtTruth : -- Trigger : -- Streaming : ON FastSimulation : -- -+- 344 -+- 345 -+- 346 # if trigger complete larcell simulation (especially for geant3) -+- 347 A if doTrigger: -+- 348 include ("CaloRec/CaloCellMaker_config.py") -+- 349 print "doTrigger on : complete LArCell and TileCell simulation" -+- 350 CaloCellMakerFlags.doLArHitToCellDirect=False -+- 351 CaloCellMakerFlags.doTileHitToRawChannelDirect=False Athena INFO end of "RecExCommon/RecExCommon_flags.py" -+- 4 #DetDescrVersion="Rome-Initial" # mandatory (also to produce AOD -+- 5 A DetFlags.Muon_setOff() -+- 6 A DetFlags.Calo_setOff() -+- 7 #DetFlags.ID_setOff() -+- 8 A DetFlags.TRT_setOff() -+- 9 A doNameAuditor=True -+- 10 A doWriteESD=True -+- 11 A doJiveXML=False -+- 12 A include ("RecExCommon/RecExCommon_topOptions.py") Athena INFO including file "RecExCommon/RecExCommon_topOptions.py" -+- 0 ############################################################### -+- 1 # -+- 2 # Main jobOptions.file seting up general parameters -+- 3 # and sourcing one auxilliary jobOption per major algorithm -+- 4 # -+- 5 # To use it : athena RecExCommon_topOptions.py >! athena.log -+- 6 # -+- 7 # To have a full trace back of what's happening in the python scripts do: -+- 8 # athena -s RecExCommon_topOptions.py >! athena.log -+- 9 # -+- 10 # To trace memory usage while loading libraries: -+- 11 # -+- 12 # athena -s AthenaCommon/MemTraceInclude.py RecExCommon_topOptions.py >! athena.log -+- 13 # -+- 14 # WARNIN ! in python indentation is used to define block ! -+- 15 # (emacs knows about it, just use tab) -+- 16 #============================================================== -+- 17 -+- 18 # Flags default values are set only if the flags do not exist yet. -+- 19 # -+- 20 # To configure the flags there are several possibilities, from the most -+- 21 # recommended to the least: -+- 22 # - specify values to be changed with the -c option -+- 23 # athena -c 'readG3=True ; EvtMax = 100' RecExCommon_topOptions.py -+- 24 # - use a file myconfig.py with the values to be changed -+- 25 # (see RecExCommon/share/myconfig.py as an example), -+- 26 # then run -+- 27 # athena -s myconfig.py RecExCommon_topOptions.py -+- 28 # - edit/modify RecExCommon_topOptions.py and add the new values -+- 29 # specification inside -+- 30 # - edit/modify the default values in RecExCommon_flags.py -+- 31 # -+- 32 # To configure Algorithms properties (not flags, beware!) there are -+- 33 # different possibilities, from the most recommended to the least: -+- 34 # - use a file myproperties.py with the new algorithm properties -+- 35 # (see RecExCommon/share/myproperties.py as an example) -+- 36 # then run -+- 37 # athena -s myconfig.py RecExCommon_topOptions.py myproperties.py -+- 38 # - edit/modify RecExCommon_topOptions.py and add the new algorithm -+- 39 # modifiers inside (towards the end) -+- 40 -+- 41 -+- 42 -+- 43 A include ( "RecExCommon/RecExCommon_flags.py" ) -+- 44 -+- 45 # possible user flags specification -+- 46 -+- 47 -+- 48 -+- 49 # dump flag content -+- 50 A print "RecExCommon_flags.py flags values:" RecExCommon_flags.py flags values: -+- 51 A for o in RecExCommonFlags.keys(): -+- 52 A exec 'print "%s =",%s ' % (o,o) CollInputQuery = eventNumber != 3 && runNumber!=1234 -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doTruth = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doMoore = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) RootNtupleOutput = ntuple.root -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doMuonID = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) PoolESDOutput = rfio:/castor/cern.ch/user/h/hhayward/10.0.1/disk5/test/ESD_1.pool.root -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) useNova = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) PoolRDOInput = ['rfio:/castor/cern.ch/user/h/hhayward/10.0.0/FakeMuons/Digitization/test/digi_1.root'] -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doAODLVL1 = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) PoolESDInput = ['ESD.pool.root'] -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) readESD = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doTileMuID = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) readG3 = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doiPatRec = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doConversion = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) PoolEvgenOutput = Evgen.pool.root -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doJetRec = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doCBNT = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doDetailedAuditor = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doxKalman = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) PoolHitsOutput = Hits.pool.root -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doShowSizeStatistics = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) PoolEvgenInput = ['Evgen.pool.root'] -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) PoolAODOutput = AOD.pool.root -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doCaloCluster = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doDumpTES = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doAtlfast = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doCheckDictionary = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doDumpMC = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) readColl = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doTauRec = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doMissingET = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) RootHistoOutput = histo.root -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) BSRDOInput = ['./dc2_mixing_all_phys_0003621_file100002.data'] -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) SkipEvents = 0 -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doWriteESD = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doEmCluster = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) OutputLevel = 3 -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) EvtMax = 50 -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doDumpProperties = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doBtagging = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doEgamma = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doHist = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doCaloTopoCluster = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doMuonbox = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) PoolRDOOutput = RDO.pool.root -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) UserAlgs = -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doJiveXML = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doTrigger = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doTimeLimit = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) AllAlgs = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) PoolAODInput = ['AOD.pool.root'] -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doEFlow = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doEFlowJet = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doNameAuditor = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) useROOTNtuple = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doStaco = True -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) HbookNtupleOutput = ntuple.hbook -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doDumpTDS = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) doWriteAOD = False -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) CollInput = ['MyColl'] -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) HbookHistoOutput = histo.hbook -+- 51 T for o in RecExCommonFlags.keys(): -+- 52 T exec 'print "%s =",%s ' % (o,o) PoolHitsInput = ['Hits.pool.root'] -+- 51 T for o in RecExCommonFlags.keys(): -+- 53 -+- 54 A DetFlags.Print() : pixel SCT TRT em HEC FCal Tile MDT CSC TGC RPC Truth LVL1 detdescr : ON ON -- -- -- -- -- -- -- -- -- ON ON digitize : -- -- -- -- -- -- -- -- -- -- -- -- -- geometry : -- -- -- -- -- -- -- -- -- -- -- -- -- haveRDO : ON ON -- -- -- -- -- -- -- -- -- ON ON haveRIO : ON ON -- -- -- -- -- -- -- -- -- ON ON makeRIO : ON ON -- -- -- -- -- -- -- -- -- ON ON pileup : -- -- -- -- -- -- -- -- -- -- -- -- -- readRDOBS : -- -- -- -- -- -- -- -- -- -- -- -- -- readRDOPool : ON ON -- -- -- -- -- -- -- -- -- ON ON readRIOBS : -- -- -- -- -- -- -- -- -- -- -- -- -- readRIOPool : -- -- -- -- -- -- -- -- -- -- -- -- -- simulate : -- -- -- -- -- -- -- -- -- -- -- -- -- simulateLVL1 : -- -- -- -- -- -- -- -- -- -- -- -- -- writeBS : -- -- -- -- -- -- -- -- -- -- -- -- -- writeRDOPool : -- -- -- -- -- -- -- -- -- -- -- -- -- writeRIOPool : -- -- -- -- -- -- -- -- -- -- -- -- -- -+- 55 A GlobalFlags.Print() DetGeo : atlas DataSource : geant4 InputFormat : pool Luminosity : zero -+- 56 -+- 57 # end flag settings section -+- 58 ########################################################################## -+- 59 # set up job -+- 60 -+- 61 -+- 62 # to read ByteStream data -+- 63 A if GlobalFlags.InputFormat.is_bytestream(): -+- 64 #for geant3 bsinclude( "ByteStreamCnvSvc/ByteStreamSelector_jobOptions.py" ) -+- 65 #from fredrik -+- 66 theApp.Dlls += [ "ByteStreamCnvSvc", "ByteStreamCnvSvcBase"] -+- 67 # Services -+- 68 theApp.ExtSvc += ["ByteStreamEventStorageInputSvc/ByteStreamInputSvc"] -+- 69 theApp.ExtSvc += [ "ROBDataProviderSvc/ROBDataProviderSvc" ] -+- 70 theApp.ExtSvc += [ "EventSelectorByteStream/EventSelector"] -+- 71 theApp.EvtSel = "EventSelector"; -+- 72 # Properties -+- 73 EventSelector = Service( "EventSelector" ) -+- 74 EventSelector.ByteStreamInputSvc = "ByteStreamInputSvc"; -+- 75 EventPersistencySvc = Service( "EventPersistencySvc" ) -+- 76 EventPersistencySvc.CnvServices += [ "ByteStreamCnvSvc" ] -+- 77 ProxyProviderSvc = Service( "ProxyProviderSvc" ) -+- 78 ProxyProviderSvc.ProviderNames += [ "ByteStreamAddressProviderSvc" ] -+- 79 -+- 80 ByteStreamInputSvc = Service( "ByteStreamInputSvc" ) -+- 81 ByteStreamInputSvc.FullFileName = BSRDOInput -+- 82 # Reader type "Castor" or "Simple" -+- 83 ByteStreamEventStorageInputSvc = Service( "ByteStreamEventStorageInputSvc" ) -+- 84 ByteStreamEventStorageInputSvc.ReaderType = "Castor"; -+- 85 -+- 86 -+- 87 # to read Zebra data -+- 88 A if GlobalFlags.InputFormat.is_zebra(): -+- 89 theApp.setup( ZEBRA ) -+- 90 #this meaningless line should be there -+- 91 EventSelector = Service( "EventSelector" ) -+- 92 EventSelector.dataSetNames = ["Y01606.1"] -+- 93 # Select the events to read by their event number: -+- 94 # Examples: 24, 35: 37, 45: selects 24, 35 to 37 and 45 and above -+- 95 # : 35 selects up to and including 35 -+- 96 # 53: selects from 53 -+- 97 # be careful to respects the spaces after " and : -+- 98 #EventSelector.EventNumbers = " 24, 35: 37, 45: " ; -+- 99 # -+- 100 # Get only relevant digits from Event -+- 101 # -+- 102 EventSelector.calos = FALSE; -+- 103 EventSelector.muons = FALSE; -+- 104 EventSelector.trt = FALSE -+- 105 EventSelector.sct = FALSE -+- 106 EventSelector.pixel = FALSE -+- 107 -+- 108 -+- 109 #to read G4 POOL RDO -+- 110 A if GlobalFlags.InputFormat.is_pool(): -+- 111 # to read pool Data -+- 112 A include( "AthenaPoolCnvSvc/ReadAthenaPool_jobOptions.py" ) Athena INFO including file "AthenaPoolCnvSvc/ReadAthenaPool_jobOptions.py" -+- 0 ## @file ReadAthenaPool_jobOptions.py -+- 1 ## @brief AthenaPool job options file for reading event objects. -+- 2 ## @author Peter van Gemmeren -+- 3 ## $Id: ReadAthenaPool_jobOptions.py,v 1.5 2005/01/10 18:11:16 gemmeren Exp $ -+- 4 ############################################################### -+- 5 # -+- 6 # This is an jobOptions for reading event objects in AthenaPool. -+- 7 # It loads the conversion service shared lib, and the EventInfo converter. -+- 8 # Each subsystem should provide additional jobOpt fragments to load converter and append -+- 9 # to event object ItemList. For example, LArAthenaPool should include: -+- 10 # -+- 11 #============================================================== -+- 12 # ApplicationMgr.DLLs += [ "LArAthenaPool" ]; -+- 13 # -+- 14 # When using Explicit Collection, a query can be applied to the collection attributes -+- 15 # through the EventSelector for preselecting events. Note only attributes are (run,event) for now. -+- 16 # For example: -+- 17 # -+- 18 # EventSelector.query = "event > 10 && event < 100"; -+- 19 # -+- 20 # will selector events that have event number in the specified range. -+- 21 # -+- 22 # Avoid double inclusion: -+- 23 A include.block( "AthenaPoolCnvSvc/ReadAthenaPool_jobOptions.py" ) -+- 24 # -+- 25 # Load the basic services -+- 26 A include( "AthenaPoolCnvSvc/AthenaPool_jobOptions.py" ) Athena INFO including file "AthenaPoolCnvSvc/AthenaPool_jobOptions.py" -+- 0 ## @file AthenaPool_jobOptions.py -+- 1 ## @brief Core job options file for AthenaPOOL to setup the basic sercives. -+- 2 ## @author Peter van Gemmeren -+- 3 ## $Id: AthenaPool_jobOptions.py,v 1.3 2005/01/10 18:11:16 gemmeren Exp $ -+- 4 ############################################################### -+- 5 # -+- 6 # The core jobOptions for AthenaPOOL -+- 7 # Setup the basic sercives -+- 8 # -+- 9 #============================================================== -+- 10 # Avoid double inclusion: -+- 11 A include.block( "AthenaPoolCnvSvc/AthenaPool_jobOptions.py" ) -+- 12 # -+- 13 # Required libs: -+- 14 A theApp.Dlls += [ "PoolSvc", "AthenaPoolCnvSvc", "AthenaPoolCnvSvcPoolCnv" ] ApplicationMgr INFO Successfully loaded modules: PoolSvc, AthenaPoolCnvSvc, AthenaPoolCnvSvcPoolCnv -+- 15 A theApp.ExtSvc += [ "PoolSvc", "AthenaPoolCnvSvc" ] -+- 16 # -+- 17 A EventPersistencySvc = Service( "EventPersistencySvc" ) -+- 18 A EventPersistencySvc.CnvServices += [ "AthenaPoolCnvSvc" ] EventPersistenc... INFO "CnvServices": ["DetDescrCnvSvc", "AthenaPoolCnvSvc"] -+- 19 A ProxyProviderSvc = Service( "ProxyProviderSvc" ) -+- 20 # -+- 21 # Make sure AthenaSealSvc is loaded for dict check -+- 22 A include( "AthenaSealSvc/AthenaSealSvc_joboptions.py" ) Athena INFO including file "AthenaSealSvc/AthenaSealSvc_joboptions.py" -+- 0 # -+- 1 # Joboptions for loading the AthenaSealSvc -+- 2 # -+- 3 -+- 4 # Block multiple includes -+- 5 A include.block( "AthenaSealSvc/AthenaSealSvc_joboptions.py" ) -+- 6 -+- 7 # general application configuration options -+- 8 -+- 9 # DLLs -+- 10 A theApp.Dlls += [ "AthenaSealSvc" ] ApplicationMgr INFO Successfully loaded modules: AthenaSealSvc -+- 11 -+- 12 # Add in services -+- 13 A theApp.ExtSvc += [ "AthenaSealSvc" ] -+- 14 -+- 15 A AthenaSealSvc = Service( "AthenaSealSvc" ) -+- 16 -+- 17 # Add in default dictionaries from SEAL: -+- 18 A AthenaSealSvc.DictNames += [ "SealSTLDict" ] -+- 19 -+- 20 # Add in dictionary names: -+- 21 #AthenaSealSvc.DictNames += [ "DictName" ] -+- 22 -+- 23 # Check the dictionary in memory for completeness -+- 24 #AthenaSealSvc.CheckDictionary = true; -+- 25 -+- 26 # Force the loading of all dictionary fillers via plugins: (default = false) -+- 27 #AthenaSealSvc.LoadAllDicts = true; -+- 28 -+- 29 -+- 30 # List of classes to ignore -+- 31 A include( "AthenaSealSvc/AthenaSealSvcIgnore_joboptions.py" ) Athena INFO including file "AthenaSealSvc/AthenaSealSvcIgnore_joboptions.py" -+- 0 -+- 1 A AthenaSealSvc = Service( "AthenaSealSvc" ) -+- 2 -+- 3 # List of class to ignore for dictionary checks -+- 4 A AthenaSealSvc.IgnoreNames = [ "GaudiPython::Interface", "GaudiPython::Helper" ] -+- 5 A AthenaSealSvc.IgnoreNames += [ "Gaudi" ] -+- 6 A AthenaSealSvc.IgnoreNames += [ "FactoryTable" ] -+- 7 A AthenaSealSvc.IgnoreNames += [ "IInterface" ] -+- 8 A AthenaSealSvc.IgnoreNames += [ "IFactory" ] -+- 9 A AthenaSealSvc.IgnoreNames += [ "IAlgFactory" ] -+- 10 A AthenaSealSvc.IgnoreNames += [ "ISvcFactory" ] -+- 11 A AthenaSealSvc.IgnoreNames += [ "IToolFactory" ] -+- 12 A AthenaSealSvc.IgnoreNames += [ "InterfaceID" ] -+- 13 A AthenaSealSvc.IgnoreNames += [ "StatusCode" ] -+- 14 A AthenaSealSvc.IgnoreNames += [ "IAppMgrUI" ] -+- 15 A AthenaSealSvc.IgnoreNames += [ "IProperty" ] -+- 16 A AthenaSealSvc.IgnoreNames += [ "Property" ] -+- 17 A AthenaSealSvc.IgnoreNames += [ "std::vector" ] -+- 18 A AthenaSealSvc.IgnoreNames += [ "std::vector" ] -+- 19 A AthenaSealSvc.IgnoreNames += [ "std::list" ] -+- 20 A AthenaSealSvc.IgnoreNames += [ "std::list" ] -+- 21 A AthenaSealSvc.IgnoreNames += [ "std::list" ] -+- 22 A AthenaSealSvc.IgnoreNames += [ "std::vector" ] -+- 23 A AthenaSealSvc.IgnoreNames += [ "SimpleProperty" ] -+- 24 A AthenaSealSvc.IgnoreNames += [ "SimplePropertyRef" ] -+- 25 A AthenaSealSvc.IgnoreNames += [ "IService" ] -+- 26 A AthenaSealSvc.IgnoreNames += [ "IAlgorithm" ] -+- 27 A AthenaSealSvc.IgnoreNames += [ "ISvcManager" ] -+- 28 A AthenaSealSvc.IgnoreNames += [ "IAlgManager" ] -+- 29 A AthenaSealSvc.IgnoreNames += [ "IJobOptionsSvc" ] -+- 30 A AthenaSealSvc.IgnoreNames += [ "ISvcLocator" ] -+- 31 A AthenaSealSvc.IgnoreNames += [ "IEventProcessor" ] -+- 32 A AthenaSealSvc.IgnoreNames += [ "IDataProviderSvc" ] -+- 33 A AthenaSealSvc.IgnoreNames += [ "IDataManagerSvc" ] -+- 34 A AthenaSealSvc.IgnoreNames += [ "IRegistry" ] -+- 35 A AthenaSealSvc.IgnoreNames += [ "ContainedObject" ] -+- 36 A AthenaSealSvc.IgnoreNames += [ "std::vector" ] -+- 37 A AthenaSealSvc.IgnoreNames += [ "DataObject" ] -+- 38 A AthenaSealSvc.IgnoreNames += [ "IHistogramSvc" ] -+- 39 A AthenaSealSvc.IgnoreNames += [ "AIDA::I" ] -+- 40 A AthenaSealSvc.IgnoreNames += [ "Algorithm" ] -+- 41 A AthenaSealSvc.IgnoreNames += [ "Service" ] -+- 42 A AthenaSealSvc.IgnoreNames += [ "GaudiPython::PyAlgorithm" ] -+- 43 A AthenaSealSvc.IgnoreNames += [ "GaudiPython::PyAlgorithmWrap" ] -+- 44 A AthenaSealSvc.IgnoreNames += [ "IParticlePropertySvc" ] -+- 45 A AthenaSealSvc.IgnoreNames += [ "ParticleProperty" ] -+- 46 A AthenaSealSvc.IgnoreNames += [ "StoreGateSvc" ] -+- 47 A AthenaSealSvc.IgnoreNames += [ "IStoragePolicy" ] -+- 48 -+- 49 # I don't know where the following classes come from???? RDS 2004-07-06 -+- 50 A AthenaSealSvc.IgnoreNames += [ "CharDbArray" ] -+- 51 A AthenaSealSvc.IgnoreNames += [ "DoubleDbArray" ] -+- 52 A AthenaSealSvc.IgnoreNames += [ "FloatDbArray" ] -+- 53 A AthenaSealSvc.IgnoreNames += [ "IntDbArray" ] -+- 54 A AthenaSealSvc.IgnoreNames += [ "LongDbArray" ] -+- 55 A AthenaSealSvc.IgnoreNames += [ "ShortDbArray" ] -+- 56 -+- 57 -+- 58 A AthenaSealSvc.IgnoreDicts += [ "libSealCLHEPDict" ] -+- 59 Athena INFO end of "AthenaSealSvc/AthenaSealSvcIgnore_joboptions.py" Athena INFO end of "AthenaSealSvc/AthenaSealSvc_joboptions.py" Athena INFO end of "AthenaPoolCnvSvc/AthenaPool_jobOptions.py" -+- 27 # -+- 28 # Add in EventSelector -+- 29 A theApp.Dlls += [ "EventSelectorAthenaPool" ] ApplicationMgr INFO Successfully loaded modules: EventSelectorAthenaPool -+- 30 A theApp.ExtSvc += [ "EventSelectorAthenaPool/EventSelector" ] -+- 31 A theApp.EvtSel = "EventSelector" -+- 32 A ProxyProviderSvc = Service( "ProxyProviderSvc" ) -+- 33 A ProxyProviderSvc.ProviderNames += [ "EventSelector" ] Athena INFO end of "AthenaPoolCnvSvc/ReadAthenaPool_jobOptions.py" -+- 113 -+- 114 -+- 115 -+- 116 # G4 Pool input -+- 117 # make sure the file listed is in PoolFileCatalog.xml in run directory -+- 118 # AND that you have a copy or soft link of this file in the run directoryes -+- 119 -+- 120 # it is possible to specify a list of files to be processed consecutively -+- 121 A EventSelector = Service( "EventSelector" ) -+- 122 A if doShowSizeStatistics: -+- 123 EventSelector.ShowSizeStatistics = True # show size inform -+- 124 -+- 125 A if readColl: -+- 126 EventSelector.InputCollections = CollInput -+- 127 EventSelector.CollectionType = "ExplicitROOT" -+- 128 EventSelector.Connection = "" -+- 129 EventSelector.Query = CollInputQuery -+- 130 else: -+- 131 A if not readESD: -+- 132 # dummy line in case this file is edited by a batch script -+- 133 A dummy=0 -+- 134 A EventSelector.InputCollections = PoolRDOInput -+- 135 else: -+- 136 # dummy line in case this file is edited by a batch script -+- 137 dummy=0 -+- 138 EventSelector.InputCollections = PoolESDInput -+- 139 -+- 140 -+- 141 -+- 142 -+- 143 #particle property service -+- 144 A include( "PartPropSvc/PartPropSvc.py" ) Athena INFO including file "PartPropSvc/PartPropSvc.py" -+- 0 #-------------------------------------------------------------- -+- 1 # PartPropSvc Service options -+- 2 #-------------------------------------------------------------- -+- 3 A theApp.Dlls += [ "PartPropSvc" ] ApplicationMgr INFO Successfully loaded modules: PartPropSvc -+- 4 A theApp.ExtSvc += ["PartPropSvc"] -+- 5 A PartPropSvc = Service( "PartPropSvc" ) -+- 6 A PartPropSvc.InputType = "PDG" -+- 7 A PartPropSvc.InputFile = ["PDGTABLE.MeV"] -+- 8 #-------------------------------------------------------------- Athena INFO end of "PartPropSvc/PartPropSvc.py" -+- 145 -+- 146 ####################################################################### -+- 147 # useful debugging/info tools -+- 148 -+- 149 # Use auditors -+- 150 A theApp.Dlls += [ "GaudiAud" ] ApplicationMgr INFO Successfully loaded modules: GaudiAud -+- 151 -+- 152 # -+- 153 # write out a summary of the time spent -+- 154 # -+- 155 A theAuditorSvc = AuditorSvc() -+- 156 A theAuditorSvc.Auditors += [ "ChronoAuditor"] -+- 157 -+- 158 # -+- 159 # write out a short message upon entering or leaving each algorithm -+- 160 # -+- 161 A if doNameAuditor: -+- 162 A theAuditorSvc.Auditors += [ "NameAuditor" ] -+- 163 # -+- 164 -+- 165 A ChronoStatSvc = Service ( "ChronoStatSvc") -+- 166 # write out summary of the memory usage -+- 167 # number of events to be skip to detect memory leak -+- 168 # Set to 50 to give some time to stabilise -+- 169 A ChronoStatSvc.NumberOfSkippedEventsForMemStat = 50 -+- 170 A theAuditorSvc.Auditors += [ "MemStatAuditor" ] -+- 171 A MemStatAuditor = theAuditorSvc.auditor( "MemStatAuditor" ) -+- 172 A theApp.AuditAlgorithms=True -+- 173 -+- 174 A if doDetailedAuditor: -+- 175 MemStatAuditor.OutputLevel = INFO -+- 176 theApp.AuditServices=True -+- 177 # theApp.AuditTools=True # FIXME crash on finalisation -+- 178 else: -+- 179 A MemStatAuditor.OutputLevel = WARNING -+- 180 -+- 181 -+- 182 # -+- 183 # write out a list of all Storegate collection with their keys and -+- 184 # lock/unlock state. Very useful for debugging purpose -+- 185 # -+- 186 A StoreGateSvc = Service ("StoreGateSvc" ) -+- 187 A if doDumpTES: -+- 188 StoreGateSvc.Dump = True -+- 189 A if doDumpTDS: -+- 190 DetectorStore.Dump = True -+- 191 -+- 192 # Set output level threshold -+- 193 # ( ALL, VERBOSE, DEBUG, INFO, WARNING, ERROR, FATAL ) -+- 194 A MessageSvc = Service( "MessageSvc" ) -+- 195 A MessageSvc.OutputLevel = OutputLevel -+- 196 #increase the number of letter reserved to the alg/tool name from 18 to 30 -+- 197 A MessageSvc.Format = "% F%30W%S%7W%R%T %0W%M" -+- 198 # to change the default limit on number of message -+- 199 -+- 200 -+- 201 # MessageSvc.debugLimit = 10000 # all debug message etc... -+- 202 A MessageSvc.defaultLimit = 9999999 # all messages -+- 203 -+- 204 # to get couloured messages (not in emacs though) -+- 205 # MessageSvc.useColors = true -+- 206 -+- 207 ######################################################################## -+- 208 -+- 209 # Number of events to be processed -+- 210 A theApp.EvtMax = EvtMax -+- 211 # possibly skip events -+- 212 A EventSelector.SkipEvents = SkipEvents -+- 213 -+- 214 -+- 215 A if doTimeLimit: -+- 216 include ("LSFTimeKeeper/LSFTimeKeeperOptions.py") -+- 217 LSFTimeKeeperSvc= Service("LSFTimeKeeperSvc") -+- 218 LSFTimeKeeperSvc.OutputLevel=DEBUG -+- 219 -+- 220 -+- 221 A if doCBNT: -+- 222 A NTupleSvc = Service( "NTupleSvc" ) -+- 223 A CBNT_Athena = Algorithm( "CBNT_Athena" ) -+- 224 -+- 225 A if useROOTNtuple: -+- 226 # Root Ntuple output -+- 227 A theApp.Dlls += [ "RootHistCnv" ] ApplicationMgr INFO Successfully loaded modules: RootHistCnv -+- 228 -+- 229 #ntuple output name -+- 230 A NTupleSvc.Output = [ "FILE1 DATAFILE='ntuple.root' OPT='NEW'" ] -+- 231 A exec 'NTupleSvc.Output = [ "FILE1 DATAFILE=\'%s\' OPT=\'NEW\'" ] ' % RootNtupleOutput -+- 232 -+- 233 #for root file, it is easier to start ntuple ID with a letter -+- 234 A CBNT_Athena.NtupleLocID="/FILE1/CBNT/t3333" -+- 235 else: -+- 236 #hbook ntuple -+- 237 # Also please make sure that all ntuple ID are plain number (in -+- 238 # particular CBNT_Athena) -+- 239 # Note that due to hbook limitations all variables cannot -+- 240 # be stored in hbook ntuples -+- 241 theApp.Dlls += [ "HbookCnv"] -+- 242 exec 'NTupleSvc.Output = [ "FILE1 DATAFILE=\'%s\' OPT=\'NEW\'" ] ' % HbookNtupleOutput -+- 243 HbookHistSvc = Service ( "HbookHistSvc") -+- 244 HbookHistSvc.NPAWC = 1500000 -+- 245 -+- 246 # if need histogram output -+- 247 # note that it has been observed an interference with histogram input -+- 248 A if doWriteAOD and doHist: -+- 249 print "cannot write histogram if write AOD" -+- 250 doHist=False -+- 251 -+- 252 A if doHist : -+- 253 # Histogram output, if any. -+- 254 A HistogramPersistencySvc = Service( "HistogramPersistencySvc" ) -+- 255 A if useROOTNtuple: -+- 256 A theApp.Dlls += [ "RootHistCnv" ] ApplicationMgr INFO Successfully loaded modules: -+- 257 A theApp.HistogramPersistency = "ROOT" -+- 258 A HistogramPersistencySvc.OutputFile = RootHistoOutput -+- 259 else: -+- 260 theApp.HistogramPersistency="HBOOK" -+- 261 HistogramPersistencySvc.OutputFile = HbookHistoOutput -+- 262 -+- 263 ########################################################################## -+- 264 -+- 265 # put quasi empty first algorithm so that the first real -+- 266 # algorithm does not see the memory change due to event manipulation -+- 267 A theApp.DLLs += [ "GaudiAlg" ] ApplicationMgr INFO Successfully loaded modules: GaudiAlg -+- 268 A theApp.TopAlg += [ "EventCounter" ] -+- 269 A EventCounter = Algorithm( "EventCounter" ) -+- 270 A EventCounter.Frequency=100 # one print every 100 event -+- 271 -+- 272 # set up all detector description description -+- 273 A include ("RecExCommon/AllDet_detDescr.py") Athena INFO including file "RecExCommon/AllDet_detDescr.py" -+- 0 # include so that alldet_detdescr can be used directly from somewhere else -+- 1 # (there is an include.block so that it is only loaded once) -+- 2 A include ("RecExCommon/RecExCommon_flags.py") -+- 3 -+- 4 A if DetFlags.detdescr.any_on(): -+- 5 -+- 6 # guess geometry version from globalflags -+- 7 # see AtlasGeomodel/SetGeometryVersion.py for the possibilities -+- 8 # e.g. DetDescrVersion="Rome-Initial" -+- 9 -+- 10 A include ("AtlasGeoModel/SetGeometryVersion.py") Athena INFO including file "AtlasGeoModel/SetGeometryVersion.py" -+- 0 # Set the latest (validated) geometry version. -+- 1 # This version will hopefully be replaced by -+- 2 # what is in SetGeometryVersionNew or can be avoided altogether -+- 3 # if you know the exact version tag to use. -+- 4 # -+- 5 # For reconstruction, automatic detection of the geometry tags -+- 6 # will be possible from the Pool file (its not possible yet) -+- 7 # and this job option fragment should not need to be used. -+- 8 # -+- 9 # Eventually iddict and bfield will be synchronised, but for now -+- 10 # we set them here. -+- 11 # -+- 12 -+- 13 -+- 14 A DetDescrCnvSvc = Service( "DetDescrCnvSvc" ) -+- 15 A GeoModelSvc = Service( "GeoModelSvc") -+- 16 -+- 17 # If DetDescrVersion is not set or set to "Default" or "" then set it to DC2,DC1 or CTB -+- 18 # according to GlobalFlags. -+- 19 A if (not "DetDescrVersion" in dir()) or (DetDescrVersion == "" or DetDescrVersion == "Default"): -+- 20 DetDescrVersion = "DC2" -+- 21 if ("GlobalFlags" in dir()): -+- 22 if GlobalFlags.DataSource.is_geant3(): -+- 23 DetDescrVersion = "DC1" -+- 24 elif GlobalFlags.DetGeo.is_ctb(): -+- 25 DetDescrVersion = "CTB" -+- 26 -+- 27 A if (DetDescrVersion == "DC2" or DetDescrVersion == "DC2-Final"): -+- 28 A GeoModelSvc.AtlasVersion = "ATLAS-00" -+- 29 -+- 30 A DetDescrCnvSvc.IdDictGlobalTag = "final_layout" -+- 31 A DetDescrCnvSvc.MuonIDFileName = "IdDictMuonSpectrometer_P.03.xml" -+- 32 A MuonLayout = "P03-DC2" -+- 33 -+- 34 elif (DetDescrVersion == "DC2-Initial"): -+- 35 # Initial layout for Inner Det only -+- 36 GeoModelSvc.AtlasVersion = "ATLAS-00" -+- 37 #GeoModelSvc.InDetVersionOverride = "InnerDetector-DC2-Initial-00" -+- 38 -+- 39 DetDescrCnvSvc.IdDictGlobalTag = "initial_layout" -+- 40 DetDescrCnvSvc.MuonIDFileName = "IdDictMuonSpectrometer_P.03.xml" -+- 41 MuonLayout = "P03-DC2" -+- 42 -+- 43 elif (DetDescrVersion == "Rome-Initial"): -+- 44 GeoModelSvc.AtlasVersion = "ATLAS-Rome-Initial-02" -+- 45 -+- 46 DetDescrCnvSvc.IdDictGlobalTag = "initial_layout" -+- 47 DetDescrCnvSvc.MuonIDFileName = "IdDictMuonSpectrometer_Q.02.xml" -+- 48 MuonLayout = "Q02_initial_pro" -+- 49 -+- 50 elif (DetDescrVersion == "Rome-Initial-v00"): -+- 51 GeoModelSvc.AtlasVersion = "ATLAS-Rome-Initial-01" -+- 52 -+- 53 DetDescrCnvSvc.IdDictGlobalTag = "initial_layout" -+- 54 DetDescrCnvSvc.MuonIDFileName = "IdDictMuonSpectrometer_Q.02.xml" -+- 55 MuonLayout = "Q02_initial" -+- 56 -+- 57 elif (DetDescrVersion == "Rome-Final"): -+- 58 GeoModelSvc.AtlasVersion = "ATLAS-Rome-Final-00" -+- 59 -+- 60 DetDescrCnvSvc.IdDictGlobalTag = "final_layout" -+- 61 DetDescrCnvSvc.MuonIDFileName = "IdDictMuonSpectrometer_Q.02.xml" -+- 62 MuonLayout = "Q02" -+- 63 -+- 64 elif (DetDescrVersion == "DC1"): -+- 65 GeoModelSvc.AtlasVersion = "ATLAS-00" -+- 66 GeoModelSvc.InDetVersionOverride = "InnerDetector-DC1-00" -+- 67 -+- 68 DetDescrCnvSvc.MuonIDFileName = "IdDictMuonSpectrometer_P.03.xml" -+- 69 MuonLayout = "P03-DC2" -+- 70 -+- 71 elif (DetDescrVersion == "DC1-Initial"): -+- 72 # Initial for InDet only. Not sure what Muons want here? -+- 73 GeoModelSvc.AtlasVersion = "ATLAS-00" -+- 74 GeoModelSvc.InDetVersionOverride = "InnerDetector-DC1-Initial-00" -+- 75 -+- 76 DetDescrCnvSvc.IdDictGlobalTag = "initial_layout" -+- 77 DetDescrCnvSvc.MuonIDFileName = "IdDictMuonSpectrometer_P.03.xml" -+- 78 MuonLayout = "P03-DC2" -+- 79 -+- 80 elif (DetDescrVersion == "DC1-Final"): -+- 81 GeoModelSvc.AtlasVersion = "ATLAS-00" -+- 82 GeoModelSvc.InDetVersionOverride = "InnerDetector-DC1-Final-00" -+- 83 -+- 84 DetDescrCnvSvc.IdDictGlobalTag = "final_layout" -+- 85 DetDescrCnvSvc.MuonIDFileName = "IdDictMuonSpectrometer_P.03.xml" -+- 86 MuonLayout = "P03-DC2" -+- 87 -+- 88 # CTB -+- 89 elif (DetDescrVersion == "CTB"): -+- 90 GeoModelSvc.AtlasVersion = "ATLAS-00" -+- 91 GeoModelSvc.InDetVersionOverride = "InnerDetector-CTB-04" -+- 92 DetDescrCnvSvc.InDetIDFileName="IdDictParser/IdDictInnerDetector_CTB2004.xml" -+- 93 DetDescrCnvSvc.MuonIDFileName = "IdDictMuonSpectrometer_H8_2004.xml" -+- 94 MuonLayout = "CTB2004" -+- 95 -+- 96 else: -+- 97 raise RuntimeError, 'ERROR : Unknown version of DetDescrVersion: ' Athena INFO end of "AtlasGeoModel/SetGeometryVersion.py" -+- 11 -+- 12 A if DetDescrVersion=="DC1" : -+- 13 # this strange construct is to avoid the triggering word WARN.. -+- 14 # to appear in the script dump -+- 15 print "%sNING Force use of Nova if DC1 " % "WAR" -+- 16 useNova=True -+- 17 -+- 18 -+- 19 # load detector geometry -+- 20 A if useNova: -+- 21 -+- 22 #FIXME ugly hack to avoid including LArGeoModel which is so far -+- 23 # not used for reconstruction -+- 24 include.block ("AtlasGeoModel/LArGeoModelNova.py") -+- 25 -+- 26 include( "AtlasGeoModel/GeoModelInitNova.py" ) -+- 27 else: -+- 28 # ugly hack to avoid including LArGeoModel which is so far -+- 29 # not used for reconstruction -+- 30 A include.block ("AtlasGeoModel/LArGeoModel.py") -+- 31 -+- 32 A include( "AtlasGeoModel/GeoModelInit.py" ) Athena INFO including file "AtlasGeoModel/GeoModelInit.py" -+- 0 # -+- 1 # Initializes the whole detector description. -+- 2 # If a particular geometry version is required then -+- 3 # either set version directly. Eventually for reconstruction -+- 4 # version will be automitically detected from Pool file. -+- 5 -+- 6 # -+- 7 # include (AtlasGeoModel/GeoModelInit) -+- 8 # GeoModelSvc = Service("GeoModelSvc") -+- 9 # GeoModelSvc.AtlasVersion = "ATLAS-00" -+- 10 # -+- 11 # or set DetDescrVersion and include "AtlasGeoModel/SetGeometryVersion.py" -+- 12 # -+- 13 # DetDescrVersion = "DC2" -+- 14 # include ("AtlasGeoModel/SetGeometryVersion.py") -+- 15 # include ("AtlasGeoModel/GeoModelInit") -+- 16 # -+- 17 -+- 18 # We farm out depending on GlobalFlags. -+- 19 -+- 20 A if not "GlobalFlags" in dir(): -+- 21 include ("AtlasGeoModel/GeoModelInitStandard.py") -+- 22 -+- 23 A elif GlobalFlags.DetGeo.is_ctb(): -+- 24 include( "AtlasGeoModel/GeoModelInitCTB.py" ) -+- 25 -+- 26 A elif GlobalFlags.DataSource.is_geant3(): -+- 27 include( "AtlasGeoModel/GeoModelInitDC1.py" ) -+- 28 -+- 29 else: -+- 30 A include ("AtlasGeoModel/GeoModelInitStandard.py") Athena INFO including file "AtlasGeoModel/GeoModelInitStandard.py" -+- 0 # -+- 1 # Initializes the whole detector description. -+- 2 # If a particular geometry version is required then -+- 3 # either set version directly. Eventually for reconstruction -+- 4 # version will be automitically detected from Pool file. -+- 5 -+- 6 # -+- 7 # include (AtlasGeoModel/GeoModelInit) -+- 8 # GeoModelSvc = Service("GeoModelSvc") -+- 9 # GeoModelSvc.AtlasVersion = "ATLAS-00" -+- 10 # -+- 11 # or set DetDescrVersion and include "AtlasGeoModel/SetGeometryVersion.py" -+- 12 # -+- 13 # DetDescrVersion = "DC2" -+- 14 # include ("AtlasGeoModel/SetGeometryVersion.py") -+- 15 # include ("AtlasGeoModel/GeoModelInit") -+- 16 # -+- 17 -+- 18 # Load RDBAcessSvc (Access to parameter Database) -+- 19 A include ("RDBAccessSvc/RDBAccessSvcPdb_jobOptions.py") Athena INFO including file "RDBAccessSvc/RDBAccessSvcPdb_jobOptions.py" -+- 0 -+- 1 A theApp.Dlls += ["RDBAccessSvc"] ApplicationMgr INFO Successfully loaded modules: RDBAccessSvc -+- 2 A theApp.ExtSvc += ["RDBAccessSvc"] -+- 3 -+- 4 A RDBAccessSvc = Service( "RDBAccessSvc" ) -+- 5 -+- 6 # -+- 7 # Definitions and default values -+- 8 # -+- 9 -+- 10 # Technology has two possible values - oracle and mysql -+- 11 A RDBAccessSvc.Technology = "oracle" -+- 12 -+- 13 # HostName specifies the host name -+- 14 A RDBAccessSvc.HostName = "atlas" -+- 15 -+- 16 # Port specifies the connection port -+- 17 A RDBAccessSvc.Port = "" -+- 18 -+- 19 # SchemaName specifies the schema name for oracle -+- 20 # and database name for mysql -+- 21 A RDBAccessSvc.SchemaName = "atlasdd" -+- 22 -+- 23 # SID specifies sid -+- 24 A RDBAccessSvc.SID = "" -+- 25 -+- 26 # User specifies the user name -+- 27 A RDBAccessSvc.User = "atlasdd_reader" -+- 28 -+- 29 # Password specifies the password for this user -+- 30 A RDBAccessSvc.Password = "reader" Athena INFO end of "RDBAccessSvc/RDBAccessSvcPdb_jobOptions.py" -+- 20 -+- 21 # Load GeoModelSvc -+- 22 A theApp.Dlls += [ "GeoModelSvc" ] ApplicationMgr INFO Successfully loaded modules: GeoModelSvc -+- 23 A theApp.ExtSvc += [ "GeoModelSvc"] -+- 24 -+- 25 # Load the detectors. These job option fragments look at DetFlags if it is -+- 26 # defined. -+- 27 -+- 28 A include ("AtlasGeoModel/InDetGeoModel.py") Athena INFO including file "AtlasGeoModel/InDetGeoModel.py" -+- 0 # -+- 1 # InDet GeoModel initialization -+- 2 # -+- 3 -+- 4 # Treat CTB separately -+- 5 A if ('GlobalFlags' in dir()) and GlobalFlags.DetGeo.is_ctb(): -+- 6 include ("AtlasGeoModel/InDetGeoModelCTB.py") -+- 7 -+- 8 else: -+- 9 A if not 'DetFlags' in dir(): -+- 10 -+- 11 # Load everything. -+- 12 print "DetFlags not defined. Loading whole Inner Detector" -+- 13 -+- 14 # Load the relevant libraries -+- 15 theApp.Dlls += [ "PixelGeoModel"] -+- 16 theApp.Dlls += [ "SCT_GeoModel" ] -+- 17 theApp.Dlls += [ "TRT_GeoModel" ] -+- 18 theApp.Dlls += [ "InDetServMatGeoModel" ] -+- 19 -+- 20 # Setup Geometry Model Tools to be instantiated -+- 21 GeoModelSvc = Service( "GeoModelSvc" ) -+- 22 GeoModelSvc.Detectors += [ "PixelDetectorTool" ] -+- 23 GeoModelSvc.Detectors += [ "SCT_DetectorTool" ] -+- 24 GeoModelSvc.Detectors += [ "TRT_DetectorTool" ] -+- 25 GeoModelSvc.Detectors += [ "InDetServMatTool" ] -+- 26 -+- 27 else: -+- 28 -+- 29 A if DetFlags.detdescr.ID_on(): -+- 30 A GeoModelSvc = Service( "GeoModelSvc" ) -+- 31 -+- 32 A if DetFlags.detdescr.pixel_on(): -+- 33 A theApp.Dlls += [ "PixelGeoModel"] ApplicationMgr INFO Successfully loaded modules: PixelGeoModel -+- 34 A GeoModelSvc.Detectors += [ "PixelDetectorTool" ] -+- 35 -+- 36 A if DetFlags.detdescr.SCT_on(): -+- 37 A theApp.Dlls += [ "SCT_GeoModel" ] ApplicationMgr INFO Successfully loaded modules: SCT_GeoModel -+- 38 A GeoModelSvc.Detectors += [ "SCT_DetectorTool" ] -+- 39 -+- 40 A if DetFlags.detdescr.TRT_on(): -+- 41 theApp.Dlls += [ "TRT_GeoModel" ] -+- 42 GeoModelSvc.Detectors += [ "TRT_DetectorTool" ] -+- 43 -+- 44 A theApp.Dlls += [ "InDetServMatGeoModel" ] ApplicationMgr INFO Successfully loaded modules: InDetServMatGeoModel -+- 45 A GeoModelSvc.Detectors += [ "InDetServMatTool" ] -+- 46 -+- 47 A GeoModelSvc = Service("GeoModelSvc") -+- 48 A GeoModelSvc.PixelDetectorTool.BuildFromNOVA = False -+- 49 A GeoModelSvc.SCT_DetectorTool.BuildFromNOVA = False -+- 50 A GeoModelSvc.TRT_DetectorTool.BuildFromNOVA = False -+- 51 A GeoModelSvc.InDetServMatTool.BuildFromNOVA = False Athena INFO end of "AtlasGeoModel/InDetGeoModel.py" -+- 29 A include ("AtlasGeoModel/LArGeoModel.py") -+- 30 A include ("AtlasGeoModel/TileGeoModel.py") Athena INFO including file "AtlasGeoModel/TileGeoModel.py" -+- 0 # -+- 1 # TileCal GeoModel initialization -+- 2 # -+- 3 -+- 4 A if (not 'DetFlags' in dir()) or DetFlags.detdescr.Tile_on(): -+- 5 include( "TileIdCnv/TileIdCnv_jobOptions.py" ) -+- 6 include( "CaloIdCnv/CaloIdCnv_joboptions.py" ) -+- 7 theApp.Dlls += ["TileGeoModel"] -+- 8 GeoModelSvc = Service( "GeoModelSvc" ) -+- 9 GeoModelSvc.Detectors += ["TileDetectorTool"] -+- 10 GeoModelSvc.TileDetectorTool.BuildFromNOVA = False -+- 11 -+- 12 if ('GlobalFlags' in dir()) and GlobalFlags.DetGeo.is_ctb(): -+- 13 GeoModelSvc.TileDetectorTool.TestBeam = True -+- 14 Athena INFO end of "AtlasGeoModel/TileGeoModel.py" -+- 31 A include ("AtlasGeoModel/MuonGeoModel.py") Athena INFO including file "AtlasGeoModel/MuonGeoModel.py" -+- 0 # -+- 1 # Muon GeoModel initialization -+- 2 # -+- 3 -+- 4 # Treat CTB separately -+- 5 A if ('GlobalFlags' in dir()) and GlobalFlags.DetGeo.is_ctb(): -+- 6 include ("AtlasGeoModel/MuonGeoModelCTB.py") -+- 7 -+- 8 else: -+- 9 A GeoModelSvc = Service( "GeoModelSvc" ) -+- 10 -+- 11 A if (not 'DetFlags' in dir()) or DetFlags.detdescr.Muon_on(): -+- 12 -+- 13 print "Loading Muon Detector" -+- 14 theApp.Dlls += ["MuonGeoModel"] -+- 15 GeoModelSvc.Detectors += ["MuonDetectorTool"] -+- 16 GeoModelSvc.MuonDetectorTool.BuildFromNova = 0 Athena INFO end of "AtlasGeoModel/MuonGeoModel.py" -+- 32 A include ("AtlasGeoModel/MiscGeoModel.py") Athena INFO including file "AtlasGeoModel/MiscGeoModel.py" -+- 0 # -+- 1 # This contains material with no specific home: -+- 2 # -+- 3 -+- 4 A GeoModelSvc = Service( "GeoModelSvc" ) -+- 5 -+- 6 # Build beampipe if ID is built. -+- 7 A if (not 'DetFlags' in dir()) or DetFlags.detdescr.ID_on(): -+- 8 A theApp.Dlls += [ "BeamPipeGeoModel" ] ApplicationMgr INFO Successfully loaded modules: BeamPipeGeoModel -+- 9 A GeoModelSvc.Detectors += [ "BeamPipeDetectorTool" ] Athena INFO end of "AtlasGeoModel/MiscGeoModel.py" Athena INFO end of "AtlasGeoModel/GeoModelInitStandard.py" Athena INFO end of "AtlasGeoModel/GeoModelInit.py" -+- 33 -+- 34 A if DetFlags.detdescr.Tile_on(): -+- 35 -+- 36 include( "TileConditions/TileConditions_jobOptions.py" ) -+- 37 if GlobalFlags.DataSource.is_geant3(): -+- 38 TileInfoLoader.TileNoise = doCaloNoise -+- 39 -+- 40 -+- 41 A if DetFlags.detdescr.Calo_on(): -+- 42 include( "CaloIdCnv/CaloIdCnv_joboptions.py" ) -+- 43 #FIXME tile and lar not independent -+- 44 include( "TileIdCnv/TileIdCnv_jobOptions.py" ) -+- 45 -+- 46 if GlobalFlags.InputFormat.is_zebra(): -+- 47 include( "CaloDetMgrDetDescrCnv/CaloDetMgrDetDescrCnv_joboptions.py" ) -+- 48 -+- 49 A if DetFlags.detdescr.LAr_on(): -+- 50 include( "LArDetMgrDetDescrCnv/LArDetMgrDetDescrCnv_joboptions.py" ) -+- 51 if readG3: -+- 52 include ("LArCondCnv/LArCondCnv_G3_jobOptions.py") -+- 53 else: -+- 54 include ("LArCondCnv/LArCondCnv_G4_jobOptions.py") -+- 55 -+- 56 A if DetFlags.detdescr.Calo_on(): -+- 57 include( "CaloTools/CaloNoiseTool_jobOptions.py" ) -+- 58 -+- 59 -+- 60 A DetDescrCnvSvc.DecodeIdDict = TRUE -+- 61 A if not GlobalFlags.InputFormat.is_zebra(): -+- 62 A DetDescrCnvSvc.ReadFromNova = useNova -+- 63 -+- 64 -+- 65 A if DetFlags.detdescr.ID_on(): -+- 66 A if GlobalFlags.DataSource.is_geant3(): -+- 67 #For DC1 reco -+- 68 # now in GeoModelInitStandard -+- 69 # include ("AtlasGeoModel/InDetGeoModelDC1.py") -+- 70 -+- 71 # for TDR data -+- 72 # include ("InDetDC1ReadPackage/SiTrackerDetDescrTDR_CnvOptions.py") -+- 73 # use the DC1 Initial Layout (one less pixel layer, TRT wheel -+- 74 # missing) xml detector description -+- 75 #include ("InDetDC1ReadPackage/SiTrackerDetDescrInitialLayout_CnvOptions.py") -+- 76 # use the DC1 xml detector description -+- 77 include( "InDetDC1ReadPackage/SiTrackerDetDescrDC0_CnvOptions.py" ) -+- 78 -+- 79 include( "InDetDC1ReadPackage/PixelDetDescrCnvOptions.py" ) -+- 80 -+- 81 include( "InDetDC1ReadPackage/SCT_DetDescrCnvOptions.py" ) -+- 82 -+- 83 A if GlobalFlags.DataSource.is_geant4(): -+- 84 A dummy=0 -+- 85 # For DC2 reco -+- 86 # now in GeoModelInitStandard -+- 87 # if useNova: -+- 88 # include( "AtlasGeoModel/InDetGeoModelDC2Nova.py" ) -+- 89 # else: -+- 90 # include( "AtlasGeoModel/InDetGeoModelDC2.py" ) -+- 91 -+- 92 A include ( "InDetRegionSelector/InDetRegionSelectorTable_jobOptions.py" ) Athena INFO including file "InDetRegionSelector/InDetRegionSelectorTable_jobOptions.py" -+- 0 ############################################################### -+- 1 # -+- 2 # Job options fragment for InDetRegionSelectorTable -+- 3 # -+- 4 #============================================================== -+- 5 #load relevant libraries -+- 6 A theApp.Dlls += [ "InDetRegionSelector"] ApplicationMgr INFO Successfully loaded modules: InDetRegionSelector -+- 7 -+- 8 # For identfier to robid mappings -+- 9 # These perhaps should be in a top level job options file. -+- 10 A theApp.Dlls += [ "InDetCabling" ] ObjectManager WARNING Factory for class:PixelIdMapping already exists. ObjectManager WARNING Factory for class:PixelFillCablingData_TB04 already exists. ObjectManager WARNING Factory for class:PixelFillCablingData_DC1 already exists. ObjectManager WARNING Factory for class:SCT_IdMapping already exists. ObjectManager WARNING Factory for class:SCT_FillCablingData_TB04 already exists. ObjectManager WARNING Factory for class:SCT_FillCablingData_DC1 already exists. ObjectManager WARNING Factory for class:TRT_IdMapping already exists. ObjectManager WARNING Factory for class:TRT_FillCablingData_TB04 already exists. ObjectManager WARNING Factory for class:TRT_FillCablingData_DC1 already exists. ObjectManager WARNING Factory for class:TRT_FillCablingData_DC2 already exists. ApplicationMgr INFO Successfully loaded modules: InDetCabling -+- 11 A theApp.Dlls += [ "InDetRawUtils" ] ApplicationMgr INFO Successfully loaded modules: InDetRawUtils -+- 12 -+- 13 # SiRegionSelectorTable -+- 14 A theApp.TopAlg += [ "SiRegionSelectorTable/PixelRegionSelectorTable" ] -+- 15 A theApp.TopAlg += [ "SiRegionSelectorTable/SCT_RegionSelectorTable" ] -+- 16 A theApp.TopAlg += [ "TRT_RegionSelectorTable" ] -+- 17 # -+- 18 # SiRegionSelectorTable properties -+- 19 # -+- 20 # ManagerName: Manager name. -+- 21 # OuputFile: File name of output file. -+- 22 # PrintHashId: true: print hash ids, false: print expanded id. -+- 23 # DeltaZ: Z vertex extent -+- 24 # PrintTable: Output table to a text file. -+- 25 A PixelRegionSelectorTable = Algorithm( "PixelRegionSelectorTable" ) -+- 26 A PixelRegionSelectorTable.ManagerName = "Pixel" -+- 27 A PixelRegionSelectorTable.OutputFile = "RoITablePixel.txt" -+- 28 A PixelRegionSelectorTable.PrintHashId = TRUE -+- 29 A PixelRegionSelectorTable.DeltaZ = 168 * mm; # Z vertex extent = +- this value. -+- 30 A PixelRegionSelectorTable.PrintTable = FALSE -+- 31 A SCT_RegionSelectorTable = Algorithm( "SCT_RegionSelectorTable" ) -+- 32 A SCT_RegionSelectorTable.ManagerName = "SCT" -+- 33 A SCT_RegionSelectorTable.OutputFile = "RoITableSCT.txt" -+- 34 A SCT_RegionSelectorTable.PrintHashId = TRUE -+- 35 A SCT_RegionSelectorTable.DeltaZ = 168 * mm; # Z vertex extent = +- this value. -+- 36 A SCT_RegionSelectorTable.PrintTable = FALSE -+- 37 A TRT_RegionSelectorTable = Algorithm( "TRT_RegionSelectorTable" ) -+- 38 A TRT_RegionSelectorTable.ManagerName = "TRT" -+- 39 A TRT_RegionSelectorTable.OutputFile = "RoITableTRT.txt" -+- 40 A TRT_RegionSelectorTable.PrintHashId = TRUE -+- 41 A TRT_RegionSelectorTable.DeltaZ = 168 * mm; # Z vertex extent = +- this value. -+- 42 A TRT_RegionSelectorTable.PrintTable = FALSE -+- 43 #============================================================== -+- 44 # -+- 45 # End of job options file -+- 46 # -+- 47 ############################################################### Athena INFO end of "InDetRegionSelector/InDetRegionSelectorTable_jobOptions.py" -+- 93 -+- 94 A if DetFlags.detdescr.Muon_on(): -+- 95 -+- 96 # AmdcAth is needed for -+- 97 # - Muonbox/Staco Reconstruction -+- 98 # AND (still !) - MdtCablingService + other(?) common Services -+- 99 # -+- 100 include ("AmdcAth/AmdcAth_jobOptions.py") -+- 101 -+- 102 # setup the appropriate IdDictionary and initialise Geometry services -+- 103 # both for G4 and G3 - -+- 104 # In principle this is not needed if Moore and MuID are off -+- 105 #already in GeoModel standard -+- 106 # include ("MuonGeoModel/MuonDD_RecExCommon_fragment.py") -+- 107 -+- 108 if GlobalFlags.DataSource.is_geant4(): -+- 109 # Load Mdt Calibration Service -+- 110 include( "MdtCalibSvc/MdtCalibrationSvc_jobOptions.py" ) -+- 111 if DetDescrVersion=="DC2-Final" or DetDescrVersion == "DC2-Initial" or DetDescrVersion == "DC2": -+- 112 #FIXME should not be there -+- 113 MDTcablingSvc = Service ("MDTcablingSvc") -+- 114 MDTcablingSvc.RODfile = "P03_RODmap.data" -+- 115 RPCcablingSvc = Service ("RPCcablingSvc") -+- 116 RPCcablingSvc.ConfFileName = "P03conf.data" -+- 117 RPCcablingSvc.CorrFileName = "P03conf.corr" -+- 118 -+- 119 elif GlobalFlags.InputFormat.is_zebra(): -+- 120 include ("MuonDetMgrDetDescrCnv/MuonDetMgrDetDescrCnv_joboptions.py") -+- 121 -+- 122 -+- 123 if not GlobalFlags.InputFormat.is_zebra(): -+- 124 #not for zebra because then geomodel is not loaded -+- 125 include( "MuonEventCnvTools/MuonEventCnvTools_jobOptions.py" ) -+- 126 include( "MuonTrackSummaryHelperTool/MuonTrackSummaryHelperTool_jobOptions.py" ) -+- 127 -+- 128 -+- 129 # MagneticField Service -+- 130 A include( "BFieldAth/BFieldAth_jobOptions.py" ) Athena INFO including file "BFieldAth/BFieldAth_jobOptions.py" -+- 0 #-------------------------------------------------------------- -+- 1 # BFieldAth -+- 2 #-------------------------------------------------------------- -+- 3 A theApp.Dlls += [ "BFieldAth" ] ApplicationMgr INFO Successfully loaded modules: BFieldAth -+- 4 A theApp.ExtSvc += [ "MagFieldAthenaSvc" ] -+- 5 A MagFieldAthenaSvc = Service( "MagFieldAthenaSvc" ) Athena INFO end of "BFieldAth/BFieldAth_jobOptions.py" -+- 131 -+- 132 # if running on data with uniform magnetic field in Inner Detector -+- 133 # (which is the case for most data until dc0) this switch -+- 134 # should be uncommented -+- 135 #MagFieldAthenaSvc.UniformFieldInID = 1 -+- 136 Athena INFO end of "RecExCommon/AllDet_detDescr.py" -+- 274 -+- 275 -+- 276 -+- 277 # -+- 278 # G4 : RDO Pool converters -+- 279 # -+- 280 -+- 281 -+- 282 -+- 283 A if DetFlags.readRDOPool.any_on() or DetFlags.readRIOPool.any_on() or readESD : -+- 284 A if DetFlags.readRDOPool.ID_on(): -+- 285 A include( "InDetEventAthenaPool/InDetEventAthenaPool_joboptions.py" ) Athena INFO including file "InDetEventAthenaPool/InDetEventAthenaPool_joboptions.py" -+- 0 A theApp.Dlls += [ "InDetEventAthenaPoolPoolCnv" ] ApplicationMgr INFO Successfully loaded modules: InDetEventAthenaPoolPoolCnv Athena INFO end of "InDetEventAthenaPool/InDetEventAthenaPool_joboptions.py" -+- 286 -+- 287 A if DetFlags.readRDOPool.LAr_on() : -+- 288 include( "LArAthenaPool/LArAthenaPool_joboptions.py" ) -+- 289 -+- 290 A if DetFlags.readRDOPool.Tile_on(): -+- 291 include( "TileEventAthenaPool/TileEventAthenaPool_joboptions.py" ) -+- 292 -+- 293 A if DetFlags.readRDOPool.Muon_on() or DetFlags.readRIOPool.Muon_on() : -+- 294 include( "MuonEventAthenaPool/MuonEventAthenaPool_joboptions.py" ) -+- 295 #needed to read MuonEntryRecord -+- 296 include( "G4SimAthenaPOOL/G4SimAthenaPOOL_joboptions.py" ) -+- 297 -+- 298 A if DetFlags.haveRIO.LVL1_on() and ( doAODLVL1 or doTrigger): -+- 299 A include("TrigT1EventAthenaPool/TrigT1EventAthenaPool_joboptions.py") Athena INFO including file "TrigT1EventAthenaPool/TrigT1EventAthenaPool_joboptions.py" -+- 0 A theApp.Dlls += [ "TrigT1EventAthenaPoolPoolCnv" ] ApplicationMgr INFO Successfully loaded modules: TrigT1EventAthenaPoolPoolCnv Athena INFO end of "TrigT1EventAthenaPool/TrigT1EventAthenaPool_joboptions.py" -+- 300 else: -+- 301 doAODLVL1=False -+- 302 doTrigger=False -+- 303 -+- 304 A include( "EventAthenaPool/EventAthenaPool_joboptions.py" ) Athena INFO including file "EventAthenaPool/EventAthenaPool_joboptions.py" -+- 0 A theApp.Dlls += [ "EventAthenaPoolPoolCnv" ] ConverterFactory WARNING Converter for class:T_AthenaPoolCnv already exists. ApplicationMgr INFO Successfully loaded modules: EventAthenaPoolPoolCnv Athena INFO end of "EventAthenaPool/EventAthenaPool_joboptions.py" -+- 305 -+- 306 A if doTruth: -+- 307 A include( "GeneratorObjectsAthenaPool/GeneratorObjectsAthenaPool_joboptions.py" ) Athena INFO including file "GeneratorObjectsAthenaPool/GeneratorObjectsAthenaPool_joboptions.py" -+- 0 A theApp.Dlls += [ "GeneratorObjectsAthenaPoolPoolCnv" ] ApplicationMgr INFO Successfully loaded modules: GeneratorObjectsAthenaPoolPoolCnv Athena INFO end of "GeneratorObjectsAthenaPool/GeneratorObjectsAthenaPool_joboptions.py" -+- 308 -+- 309 -+- 310 -+- 311 #-------------------------------------------------------------- -+- 312 # Now specify the list of algorithms to be run -+- 313 # The order of the jobOption specify the order of the algorithms -+- 314 # (don't modify it) -+- 315 #-------------------------------------------------------------- -+- 316 -+- 317 -+- 318 # -+- 319 # -+- 320 # functionality : read truth -+- 321 # -+- 322 A if doTruth: -+- 323 # this algorithm dump the content of the MC event: big output -+- 324 A if doDumpMC: -+- 325 theApp.DLLs += [ "TruthExamples" ] -+- 326 # generator truth -+- 327 theApp.TopAlg += [ "DumpMC" ] -+- 328 DumpMC=Algorithm ( "DumpMC" ) -+- 329 -+- 330 if DetDescrVersion=="DC2" or DetDescrVersion=="DC2-Final" or DetDescrVersion=="DC2-Initial" : -+- 331 # geant 4 truth -+- 332 theApp.TopAlg += [ "DumpMC/DumpMCG4" ] -+- 333 DumpMCG4=Algorithm ( "DumpMCG4" ) -+- 334 DumpMCG4.McEventKey = "G4Truth" -+- 335 -+- 336 A if GlobalFlags.InputFormat.is_zebra(): -+- 337 # -+- 338 # Genz/kine->HepMc converter for true particle, Generators and Kine -+- 339 # -+- 340 theApp.Dlls += [ "GenzModule"] -+- 341 # run the GenzKine->HepMC converter -+- 342 theApp.TopAlg += [ "GenzModule"] -+- 343 -+- 344 -+- 345 -+- 346 # -+- 347 # functionality : atlfast -+- 348 # -+- 349 -+- 350 A if doAtlfast: -+- 351 include ("AtlfastAlgs/Atlfast_CBNT.py") -+- 352 -+- 353 # -+- 354 # System Reconstruction -+- 355 # -+- 356 A include ("RecExCommon/SystemRec_config.py") Athena INFO including file "RecExCommon/SystemRec_config.py" -+- 0 -+- 1 -+- 2 -+- 3 -+- 4 A if GlobalFlags.InputFormat.is_bytestream(): -+- 5 # ------------------------------------------------------------- -+- 6 # RIO Convertors -+- 7 # ------------------------------------------------------------- -+- 8 include ("ByteStreamCnvSvcBase/BSAddProvSvc_RIO_jobOptions.py") -+- 9 -+- 10 # ------------------------------------------------------------- -+- 11 # RDO Convertors -+- 12 # ------------------------------------------------------------- -+- 13 include( "ByteStreamCnvSvcBase/BSAddProvSvc_RDO_jobOptions.py" ) -+- 14 # ------------------------------------------------------------- -+- 15 # LVL1 Result -+- 16 # ------------------------------------------------------------- -+- 17 theApp.Dlls += [ "TrigT1ResultByteStream" ] -+- 18 -+- 19 ByteStreamCnvSvc = Service( "ByteStreamCnvSvc" ) -+- 20 theApp.ExtSvc += [ "ByteStreamCnvSvc"] -+- 21 -+- 22 -+- 23 # -+- 24 # functionality : Inner detector prereconstruction -+- 25 # -+- 26 -+- 27 A if GlobalFlags.InputFormat.is_bytestream() and DetFlags.haveRIO.ID_on() : -+- 28 # FIXME should be done in ID fragment -+- 29 # force creation of Converter in init -+- 30 theApp.Dlls +=["InDetRawDataByteStream" ] -+- 31 -+- 32 ByteStreamCnvSvc = Service( "ByteStreamCnvSvc" ) -+- 33 ByteStreamCnvSvc.InitCnvs += [ "TRT_RDO_Container", -+- 34 "PixelRDO_Container", -+- 35 "SCT_RDO_Container", -+- 36 "InDetRawDataCollection", -+- 37 "InDetRawDataCollection", -+- 38 "InDetRawDataCollection" -+- 39 ] -+- 40 theApp.Dlls += ["InDetRawUtils"] -+- 41 -+- 42 A if (not GlobalFlags.InputFormat.is_bytestream()) and DetFlags.haveRIO.ID_on() : -+- 43 A print "I do Tracking" I do Tracking -+- 44 A if GlobalFlags.DataSource.is_geant3(): -+- 45 -+- 46 # Generate RDOs -+- 47 include( "InDetDC1ReadPackage/PixelRDOCnvOptions.py" ) -+- 48 -+- 49 include( "InDetDC1ReadPackage/SCT_RDOCnvOptions.py" ) -+- 50 -+- 51 include( "InDetDC1ReadPackage/TRT_RDOCnvOptions.py" ) -+- 52 -+- 53 # Simulated data selection (noise/efficiency/threshold settings) -+- 54 include( "InDetSimDataSelector/PixelSimDataSelectorOptions.py" ) -+- 55 -+- 56 include( "InDetSimDataSelector/SCT_SimDataSelectorOptions.py" ) -+- 57 -+- 58 A if DetFlags.makeRIO.ID_on() and not readESD : -+- 59 # ID reconstruction (includes RIO making) -+- 60 A include( "InDetRecExample/InDetRec_jobOptions.py" ) Athena INFO including file "InDetRecExample/InDetRec_jobOptions.py" -+- 0 # +++++++++++++++++++ beginning of InDetRec_jobOptions.py -+- 1 -+- 2 # jobOptions Fragment for ID software -+- 3 # ----------------------------------- -+- 4 # edward.moyse@cern.ch -+- 5 # markus.elsing@cern.ch -+- 6 # ----------------------------------- -+- 7 -+- 8 # +++++++++++++++++++++++ -+- 9 # Control -+- 10 # if needed switches are not defined, set them to sensible defaults -+- 11 -+- 12 A if not 'makeSimpleTracks' in dir(): -+- 13 A print "InDetRec_jobOptions: makeSimpleTracks not set - setting to FALSE" InDetRec_jobOptions: makeSimpleTracks not set - setting to FALSE -+- 14 A makeSimpleTracks=FALSE -+- 15 -+- 16 A if not 'doTruth' in dir(): -+- 17 print "InDetRec_jobOptions: makeSimpleTracks not set - setting to TRUE" -+- 18 doTruth=TRUE -+- 19 -+- 20 A if not 'makeBothTrackParticles' in dir(): -+- 21 # if this is set, will make second track collection from xkal -+- 22 makeBothTrackParticles=FALSE -+- 23 -+- 24 A if not 'InDetFlags' in dir(): -+- 25 # --- setup flags with default values -+- 26 print "InDetRec_jobOptions: InDetFlags not set - setting to defaults" -+- 27 include( "InDetRecExample/InDetFlags.py" ) -+- 28 -+- 29 # +++++++++++++++++++++++ -+- 30 -+- 31 #theApp.Dlls += [ "InDetRawUtils" ] -+- 32 -+- 33 # ----------- RIO creation -+- 34 A if InDetFlags.doPRDFormation: -+- 35 # create RIOs from RDOs -+- 36 A theApp.Dlls += [ "TRT_DriftCircleTool" ] ApplicationMgr INFO Successfully loaded modules: TRT_DriftCircleTool -+- 37 A include( "TRT_DriftFunctionTool/TRT_DriftFunctionTool_options.py" ) Athena INFO including file "TRT_DriftFunctionTool/TRT_DriftFunctionTool_options.py" -+- 0 # Joboptions for TRT_DriftFunctionTool (InnerDetector/InDetRecTools/TRT_DriftFunctionTool) -+- 1 # Author: Rasmus Mackeprang -+- 2 -+- 3 A ToolSvc = Service( "ToolSvc" ) -+- 4 -+- 5 A theApp.Dlls += [ "TRT_DriftFunctionTool" ] ApplicationMgr INFO Successfully loaded modules: TRT_DriftFunctionTool -+- 6 -+- 7 # All switches below this point are set to their default value in the source -+- 8 -+- 9 # This switch lets you manually supply what should be the default calibration -+- 10 # if you do not wish to run with calibration or if a straw is found not to -+- 11 # be calibrated: -+- 12 -+- 13 A ToolSvc.TRT_DriftFunctionTool.CustomTRTCalibration = False; -+- 14 -+- 15 # These are the coefficnents of a 3rd.-degree polynomium for -+- 16 # dt = t - dt -+- 17 # r(t) = a0 + a1*dt + a2*dt^2 + a3*dt^3 -+- 18 -+- 19 A ToolSvc.TRT_DriftFunctionTool.t_0_def = 27.1; -+- 20 A ToolSvc.TRT_DriftFunctionTool.a_0_def = 0.025; -+- 21 A ToolSvc.TRT_DriftFunctionTool.a_1_def = 0.04151; -+- 22 A ToolSvc.TRT_DriftFunctionTool.a_2_def = 0.0007546; -+- 23 A ToolSvc.TRT_DriftFunctionTool.a_3_def = -0.00001637; -+- 24 -+- 25 # If you are looking for the bool switch for TRT_Calibration it is found -+- 26 # in TRT_ConditionsAlgs/TRT_StrawCalibrationTool_options.py Athena INFO end of "TRT_DriftFunctionTool/TRT_DriftFunctionTool_options.py" -+- 38 A include( "InDetPrepRawDataFormation/InDetPrepRawDataFormation.py" ) Athena INFO including file "InDetPrepRawDataFormation/InDetPrepRawDataFormation.py" -+- 0 #top algorithm to be run and component library to be loaded -+- 1 A theApp.Dlls += [ "InDetPrepRawDataFormation","SiClusterizationTool" ] WARNING Algorithm factory for type InDet::PixelClusterization already declared. Overwriting it. WARNING Algorithm factory for type InDet::SCT_Clusterization already declared. Overwriting it. WARNING Algorithm factory for type InDet::TRT_RIO_Maker already declared. Overwriting it. ApplicationMgr INFO Successfully loaded modules: InDetPrepRawDataFormation, SiClusterizationTool -+- 2 A include( "InDetPrepRawDataFormation/PixelPrepRawDataFormation.py" ) Athena INFO including file "InDetPrepRawDataFormation/PixelPrepRawDataFormation.py" -+- 0 #top algorithm to be run and component library to be loaded -+- 1 A theApp.Dlls += [ "InDetPrepRawDataFormation","SiClusterizationTool" ] ApplicationMgr INFO Successfully loaded modules: -+- 2 A theApp.TopAlg += [ -+- 3 "InDet::PixelClusterization/NewPixelClusterization" ] -+- 4 # Pixel clustering options -+- 5 # -+- 6 # error strategy: -+- 7 # 0: broad errors (cluster width/srt(12.) ) -+- 8 # 1: default errors (pitch/sqrt(12.), default) -+- 9 A NewPixelClusterization = Algorithm( "NewPixelClusterization" ) -+- 10 A NewPixelClusterization.DetectorManagerName = "Pixel" -+- 11 A NewPixelClusterization.DataObjectName = "PixelRDOs" -+- 12 # NewPixelClusterization.ClusteringToolName = "InDetReco::SimplePixelClusteringTool"; -+- 13 A NewPixelClusterization.ClusteringToolName = "InDetReco::MergedPixelsTool" -+- 14 A NewPixelClusterization.ClustersName = "PixelClusters" -+- 15 A NewPixelClusterization.ErrorStrategy = 1 -+- 16 -+- 17 ############################################################### Athena INFO end of "InDetPrepRawDataFormation/PixelPrepRawDataFormation.py" -+- 3 A include( "InDetPrepRawDataFormation/SCT_PrepRawDataFormation.py" ) Athena INFO including file "InDetPrepRawDataFormation/SCT_PrepRawDataFormation.py" -+- 0 #top algorithm to be run and component library to be loaded -+- 1 A theApp.Dlls += [ "InDetPrepRawDataFormation","SiClusterizationTool" ] ApplicationMgr INFO Successfully loaded modules: -+- 2 A theApp.TopAlg += [ -+- 3 "InDet::SCT_Clusterization/NewSCT_Clusterization" ] -+- 4 # SCT Clustering options -+- 5 # -+- 6 # 0: broad errors (cluster width/srt(12.) ) -+- 7 # 1: default errors (pitch/sqrt(12.), default) -+- 8 A NewSCT_Clusterization = Algorithm( "NewSCT_Clusterization" ) -+- 9 A NewSCT_Clusterization.DetectorManagerName = "SCT" -+- 10 A NewSCT_Clusterization.DataObjectName = "SCT_RDOs" -+- 11 A NewSCT_Clusterization.ClusteringToolName = "InDetReco::SCT_ClusteringTool" -+- 12 A NewSCT_Clusterization.ClustersName = "SCT_Clusters" -+- 13 A NewSCT_Clusterization.ErrorStrategy = 1 -+- 14 A NewSCT_Clusterization.CTBBadChannels = 0 -+- 15 A if NewSCT_Clusterization.CTBBadChannels: -+- 16 theApp.Dlls += [ "SCT_ConditionsAlgs" ] -+- 17 include ("SCT_ConditionsAlgs/SCT_Conditions.py") -+- 18 ############################################################### Athena INFO end of "InDetPrepRawDataFormation/SCT_PrepRawDataFormation.py" -+- 4 A theApp.TopAlg += ["InDet::TRT_RIO_Maker/TRT_RIO_Maker"] Athena INFO end of "InDetPrepRawDataFormation/InDetPrepRawDataFormation.py" -+- 39 -+- 40 A if doTruth: -+- 41 A include ( "InDetTruthAlgs/InDetPrepRawDataTruth.py" ) Athena INFO including file "InDetTruthAlgs/InDetPrepRawDataTruth.py" -+- 0 # Generate cluster truth -+- 1 A theApp.Dlls += ["InDetTruthAlgs"] ApplicationMgr INFO Successfully loaded modules: InDetTruthAlgs -+- 2 A theApp.TopAlg += ["InDetPrepRawDataTruthMaker"] -+- 3 A InDetPrepRawDataTruthMaker = Algorithm( "InDetPrepRawDataTruthMaker" ) -+- 4 A InDetPrepRawDataTruthMaker.SiClusterContainerName1 = "PixelClusters" -+- 5 A InDetPrepRawDataTruthMaker.SiClusterContainerName2 = "SCT_Clusters" -+- 6 A InDetPrepRawDataTruthMaker.TRTDriftCircleContainerName = "TRT_RIOs" -+- 7 A InDetPrepRawDataTruthMaker.SimDataMapNamePixel = "PixelSDO_Map" -+- 8 A InDetPrepRawDataTruthMaker.SimDataMapNameSCT = "SCT_SDO_Map" -+- 9 A InDetPrepRawDataTruthMaker.SimDataMapNameTRT = "TRT_SDO_Map" -+- 10 A InDetPrepRawDataTruthMaker.SimClusterMapName = "InDet_PRD_PRDT_Map" Athena INFO end of "InDetTruthAlgs/InDetPrepRawDataTruth.py" -+- 42 -+- 43 # form SpacePoints from clusters & pixels -+- 44 A if InDetFlags.doSpacePointFormation: -+- 45 A include( "SiSpacePointFormation/SiTrackerSpacePointFinderOptions.py" ) Athena INFO including file "SiSpacePointFormation/SiTrackerSpacePointFinderOptions.py" -+- 0 ############################################################### -+- 1 # -+- 2 # Job options file -+- 3 # -+- 4 #============================================================== -+- 5 # Top algorithm to be run and component library to be loaded -+- 6 A theApp.Dlls += [ "SiSpacePointTool" ] ApplicationMgr INFO Successfully loaded modules: SiSpacePointTool -+- 7 A theApp.Dlls += [ "SiSpacePointFormation" ] WARNING Algorithm factory for type InDetReco::SiTrackerSpacePointFinder already declared. Overwriting it. ApplicationMgr INFO Successfully loaded modules: SiSpacePointFormation -+- 8 A theApp.TopAlg += [ "InDetReco::SiTrackerSpacePointFinder/SiTrackerSpacePointFinder" ] -+- 9 #-------------------------------------------------------------- -+- 10 # Algorithm Private Options: SiTrackerSpacePointFinder -+- 11 #-------------------------------------------------------------- -+- 12 A SiTrackerSpacePointFinder = Algorithm( "SiTrackerSpacePointFinder" ) -+- 13 A SiTrackerSpacePointFinder.SCT_ClustersName = "SCT_Clusters" -+- 14 A SiTrackerSpacePointFinder.PixelsClustersName = "PixelClusters" -+- 15 A SiTrackerSpacePointFinder.SpacePointsSCTName = "SCT_SpacePoints" -+- 16 A SiTrackerSpacePointFinder.SpacePointsPixelName = "PixelSpacePoints" -+- 17 A SiTrackerSpacePointFinder.SpacePointsOverlapName = "OverlapSpacePoints" -+- 18 A SiTrackerSpacePointFinder.SiSpacePointMakerToolName = "InDetReco::SiSpacePointMakerTool" -+- 19 A SiTrackerSpacePointFinder.ProcessPixels = TRUE -+- 20 A SiTrackerSpacePointFinder.ProcessSCTs = TRUE -+- 21 A SiTrackerSpacePointFinder.ProcessOverlaps = TRUE -+- 22 # If false, only process opposite wafer -+- 23 A SiTrackerSpacePointFinder.AllClusters = FALSE -+- 24 # If true, ignore following selection limits -+- 25 # Following limits in mm, meantime -+- 26 A SiTrackerSpacePointFinder.OverlapLimitOpposite = 2.800*mm -+- 27 # Overlap limit for opposite-neighbours (plus or minus -+- 28 # difference in local transverse coordinates). -+- 29 A SiTrackerSpacePointFinder.OverlapLimitPhi = 5.640 -+- 30 # Overlap limit for phi-neighbours (max distance from -+- 31 # edge of active area, on each wafer). Allows for 'epsWidth'. -+- 32 A SiTrackerSpacePointFinder.OverlapLimitEtaMin = 1.680 -+- 33 # Low overlap limit for eta-neighbours(minimum -+- 34 # difference in local transverse coordinates). -+- 35 A SiTrackerSpacePointFinder.OverlapLimitEtaMax = 3.000 -+- 36 # High overlap limit for eta-neighbours(maximum -+- 37 # difference in local transverse coordinates). -+- 38 #============================================================== -+- 39 # // End of job options file -+- 40 # -+- 41 ############################################################### Athena INFO end of "SiSpacePointFormation/SiTrackerSpacePointFinderOptions.py" -+- 46 -+- 47 A if doTruth: -+- 48 A include ( "InDetTruthAlgs/InDetSpacePointTruth.py" ) Athena INFO including file "InDetTruthAlgs/InDetSpacePointTruth.py" -+- 0 A theApp.Dlls += ["InDetTruthAlgs"] ApplicationMgr INFO Successfully loaded modules: -+- 1 A theApp.TopAlg += ["SpacePointTruthMaker"] -+- 2 A SpacePointTruthMaker = Algorithm( "SpacePointTruthMaker" ) -+- 3 A SpacePointTruthMaker.SpacePointsName = "PixelSpacePoints" -+- 4 A SpacePointTruthMaker.SimClusterMapName = "InDet_PRD_PRDT_Map" -+- 5 A SpacePointTruthMaker.SimSpacePointMapName = "SP_SPT_Map" Athena INFO end of "InDetTruthAlgs/InDetSpacePointTruth.py" -+- 49 -+- 50 # ------------- iPat -+- 51 A if InDetFlags.doiPatRec: -+- 52 # make sure that iPat knows we're not using testbeam -+- 53 A CTB = FALSE -+- 54 A include ( "iPatRecExample/iPatRec_jobOptions.py" ) Athena INFO including file "iPatRecExample/iPatRec_jobOptions.py" -+- 0 ############################################################### -+- 1 # -+- 2 # iPatRec jobOptions fragment -+- 3 # -+- 4 #============================================================== -+- 5 -+- 6 #-------------------------------------------------------------- -+- 7 # Reconstruction event processing: -+- 8 #-------------------------------------------------------------- -+- 9 -+- 10 # iPatRec TrackFinder/Follower/Fitter -+- 11 A include( "iPatRecAlgs/iPatRec_jobOptions.py" ) Athena INFO including file "iPatRecAlgs/iPatRec_jobOptions.py" -+- 0 ############################################################### -+- 1 # -+- 2 # iPatRec job options file -+- 3 # -+- 4 #============================================================== -+- 5 #top algorithm to be run and component library to be loaded -+- 6 A theApp.TopAlg += [ "iPatRec" ] -+- 7 A theApp.Dlls += [ "iPatRecAlgs" ] ApplicationMgr INFO Successfully loaded modules: iPatRecAlgs -+- 8 -+- 9 # TrajectorySvc sets up the parametrized magnetic field -+- 10 A theApp.ExtSvc += [ "TrajectorySvc" ] -+- 11 A include( "iPatRecAlgs/TrajectorySvc_jobOptions.py" ) Athena INFO including file "iPatRecAlgs/TrajectorySvc_jobOptions.py" -+- 0 ############################################################### -+- 1 # -+- 2 # TrajectorySvc job options file -+- 3 # -+- 4 #============================================================== -+- 5 A TrajectorySvc = Service( "TrajectorySvc" ) -+- 6 A TrajectorySvc.magneticFieldOff = False -+- 7 -+- 8 # defaults for atlas solenoid -+- 9 A if GlobalFlags.DetGeo.is_atlas(): -+- 10 A TrajectorySvc.constantCTB_Field = False -+- 11 A TrajectorySvc.parametrizeSolenoid = True -+- 12 -+- 13 # defaults for ctb simulated data -+- 14 A if GlobalFlags.DetGeo.is_ctb(): -+- 15 TrajectorySvc.constantCTB_Field = True -+- 16 TrajectorySvc.parametrizeSolenoid = False -+- 17 #============================================================== -+- 18 # -+- 19 # End of TrajectorySvc file -+- 20 # -+- 21 ############################################################### Athena INFO end of "iPatRecAlgs/TrajectorySvc_jobOptions.py" -+- 12 -+- 13 # for the TrackFinder and TrackFollower AlgTools -+- 14 A theApp.Dlls += [ "iPatTrackFinder","iPatTrackFollower" ] ApplicationMgr INFO Successfully loaded modules: iPatTrackFinder, iPatTrackFollower -+- 15 A include( "iPatTrackFinder/TrackFinder_jobOptions.py" ) Athena INFO including file "iPatTrackFinder/TrackFinder_jobOptions.py" -+- 0 ############################################################### -+- 1 # -+- 2 # TrackFinder job options file -+- 3 # -+- 4 #============================================================== -+- 5 A ToolSvc = Service( "ToolSvc" ) -+- 6 A ToolSvc.TrackFinder.searchForPrimaries = True; -+- 7 A ToolSvc.TrackFinder.searchForSecondaries = True; -+- 8 A ToolSvc.TrackFinder.searchForVertexRegion = True; -+- 9 #============================================================== -+- 10 # -+- 11 # End of TrackFinder file -+- 12 # -+- 13 ############################################################### -+- 14 Athena INFO end of "iPatTrackFinder/TrackFinder_jobOptions.py" -+- 16 -+- 17 # need the AlignmentTolerances, DetectorLocator, -+- 18 # LayerNumberAllocator and LayerAllocator algtools -+- 19 A theApp.Dlls += [ "iPatGeometry" ] ApplicationMgr INFO Successfully loaded modules: iPatGeometry -+- 20 A include( "iPatGeometry/AlignmentTolerances_jobOptions.py" ) Athena INFO including file "iPatGeometry/AlignmentTolerances_jobOptions.py" -+- 0 ############################################################### -+- 1 # -+- 2 # AlignmentTolerances job options file -+- 3 # -+- 4 #============================================================== -+- 5 A ToolSvc = Service( "ToolSvc" ) -+- 6 A ToolSvc.AlignmentTolerances.sigmaPixelBarrel = [0.000*mm, 0.000*mm, 0.000*mm] # r, rphi, z -+- 7 A ToolSvc.AlignmentTolerances.sigmaPixelEndcap = [0.000*mm, 0.000*mm, 0.000*mm] # r, rphi, z -+- 8 A ToolSvc.AlignmentTolerances.sigmaSCT_Barrel = [0.000*mm, 0.000*mm, 0.000*mm] # r, rphi, z -+- 9 A ToolSvc.AlignmentTolerances.sigmaSCT_Endcap = [0.000*mm, 0.000*mm, 0.000*mm] # r, rphi, z -+- 10 #============================================================== -+- 11 # -+- 12 # End of AlignmentTolerances file -+- 13 # -+- 14 ############################################################### Athena INFO end of "iPatGeometry/AlignmentTolerances_jobOptions.py" -+- 21 -+- 22 # Make the TRT_Rec algtool accessible -+- 23 A theApp.Dlls += [ "TRT_Rec" ] ApplicationMgr INFO Successfully loaded modules: TRT_Rec -+- 24 A include( "TRT_Rec/TRT_Rec_jobOptions.py" ) Athena INFO including file "TRT_Rec/TRT_Rec_jobOptions.py" -+- 0 ############################################################### -+- 1 # -+- 2 # TRT_Rec job options file -+- 3 # -+- 4 #============================================================== -+- 5 -+- 6 # Make the region selector AlgTool accessible -+- 7 A theApp.Dlls += [ "RegionSelector" ] ApplicationMgr INFO Successfully loaded modules: RegionSelector -+- 8 -+- 9 # configure the setting for the track predictor road -+- 10 A ToolSvc = Service( "ToolSvc" ) -+- 11 A ToolSvc.TRT_Predictor.managerName = "TRT" -+- 12 A ToolSvc.TRT_Predictor.barrelAcceptance = 0.55 -+- 13 A ToolSvc.TRT_Predictor.electronRoadFactor = 1.0 # formerly 3.0 -+- 14 A ToolSvc.TRT_Predictor.etaRoadSafetyFactor = 0.03 -+- 15 A ToolSvc.TRT_Predictor.extrapolationTolerance = 20.*mm -+- 16 A ToolSvc.TRT_Predictor.layerTolerance = 2.*mm -+- 17 A ToolSvc.TRT_Predictor.phiSectors = 32 -+- 18 A ToolSvc.TRT_Predictor.rMeanBarrel = 816.*mm -+- 19 A ToolSvc.TRT_Predictor.strawWidth = 4.0*mm -+- 20 A ToolSvc.TRT_Predictor.zEndcapMax = 3420.*mm -+- 21 A ToolSvc.TRT_Predictor.cotThetaCorner = 3420./968. -+- 22 # -+- 23 # configure the quality criteria and hit resolutions -+- 24 A ToolSvc.TRT_Recon.managerName = "TRT" -+- 25 A ToolSvc.TRT_Recon.minFractionExpected = 0.60 # fraction of expected straws actually found -+- 26 A ToolSvc.TRT_Recon.minStraws = 10 # min number of found straws -+- 27 A ToolSvc.TRT_Recon.muonTrThreshold = 120.*GeV # tr threshold for muons -+- 28 A ToolSvc.TRT_Recon.sigmaDriftHitDC1 = 0.170*mm # standard drift resolution for DC1 -+- 29 A ToolSvc.TRT_Recon.sigmaDriftHit = 0.140*mm # standard drift resolution for DC2 -+- 30 A ToolSvc.TRT_Recon.sigmaStrawHit = 1.155*mm # (straw diameter)/sqrt12 -+- 31 A ToolSvc.TRT_Recon.sigmaWireHit = 0.220*mm # when drift hit remains left/right ambiguous -+- 32 -+- 33 ############################################################### -+- 34 # -+- 35 # End of TRT_Rec job options file -+- 36 # -+- 37 #============================================================== -+- 38 Athena INFO end of "TRT_Rec/TRT_Rec_jobOptions.py" -+- 25 -+- 26 #-------------------------------------------------------------- -+- 27 # Algorithm Private Options: iPatRec -+- 28 #-------------------------------------------------------------- -+- 29 A iPatRec = Algorithm( "iPatRec" ) -+- 30 A iPatRec.SCT_ClustersName = "SCT_Clusters" -+- 31 A iPatRec.SpacePointsName = "SiTrackerSpacePoints" -+- 32 A iPatRec.TracksName = "iPatTracks" -+- 33 A iPatRec.cosmicSearch = False -+- 34 A iPatRec.maxSecondaryImpact = 40.0*mm -+- 35 A iPatRec.minPT = 1.0*GeV -+- 36 A iPatRec.pixelClustersName = "PixelClusters" -+- 37 A iPatRec.printLevel = 0 -+- 38 # specify vertex region (for primary track finding) -+- 39 A iPatRec.vertex = [0.0*mm, 0.0*mm, 0.0*mm] -+- 40 A iPatRec.vertexWidth = [1.0*mm, 1.0*mm, 250.0*mm] -+- 41 #============================================================== -+- 42 # -+- 43 # End of iPatRecOptions file -+- 44 # -+- 45 ############################################################### Athena INFO end of "iPatRecAlgs/iPatRec_jobOptions.py" -+- 12 -+- 13 #-------------------------------------------------------------- -+- 14 # truth association via SiClusterPrepRawDataTruthCollection -+- 15 #-------------------------------------------------------------- -+- 16 A if doTruth: -+- 17 # iPatRec TrackTruth -+- 18 A include( "iPatRecAlgs/iPatTrackTruthAssociator_jobOptions.py" ) Athena INFO including file "iPatRecAlgs/iPatTrackTruthAssociator_jobOptions.py" -+- 0 ############################################################### -+- 1 # -+- 2 # iPatTrackTruthAssociator job options file -+- 3 # -+- 4 #============================================================== -+- 5 #top algorithm to be run and component library to be loaded -+- 6 A theApp.TopAlg += [ "iPatTrackTruthAssociator" ] -+- 7 A theApp.Dlls += [ "iPatRecAlgs" ] ApplicationMgr INFO Successfully loaded modules: -+- 8 -+- 9 # need the TruthSelector algtool -+- 10 A theApp.Dlls += [ "iPatTruthTrajectory" ] ApplicationMgr INFO Successfully loaded modules: iPatTruthTrajectory -+- 11 A include( "iPatTruthTrajectory/TruthSelector_jobOptions.py" ) Athena INFO including file "iPatTruthTrajectory/TruthSelector_jobOptions.py" -+- 0 ############################################################### -+- 1 # -+- 2 # TruthSelector job options file -+- 3 # -+- 4 #============================================================== -+- 5 # define reconstructable charged tracks as primary or secondary according -+- 6 # according to (r,z) of start and end Truth vertices (HepMc::GenVertex) -+- 7 A ToolSvc = Service( "ToolSvc" ) -+- 8 A ToolSvc.TruthSelector.maxEta = 2.7 -+- 9 A ToolSvc.TruthSelector.maxRIndet = 1000.0*mm -+- 10 A ToolSvc.TruthSelector.maxZIndet = 3000.0*mm -+- 11 A ToolSvc.TruthSelector.maxRStartPrimary = 25.0*mm -+- 12 A ToolSvc.TruthSelector.maxZStartPrimary = 200.0*mm -+- 13 A ToolSvc.TruthSelector.maxRStartSecondary = 360.0*mm -+- 14 A ToolSvc.TruthSelector.maxZStartSecondary = 2000.0*mm -+- 15 A ToolSvc.TruthSelector.minPt = 0.3*GeV -+- 16 A ToolSvc.TruthSelector.minREndPrimary = 400.0*mm -+- 17 A ToolSvc.TruthSelector.minZEndPrimary = 2300.0*mm -+- 18 A ToolSvc.TruthSelector.minREndSecondary = 1000.0*mm -+- 19 A ToolSvc.TruthSelector.minZEndSecondary = 3200.0*mm -+- 20 #============================================================== -+- 21 # -+- 22 # End of TruthSelector file -+- 23 # -+- 24 ############################################################### Athena INFO end of "iPatTruthTrajectory/TruthSelector_jobOptions.py" -+- 12 -+- 13 #-------------------------------------------------------------- -+- 14 # Algorithm Private Options: iPatTrackTruthAssociator -+- 15 #-------------------------------------------------------------- -+- 16 A iPatTrackTruthAssociator = Algorithm( "iPatTrackTruthAssociator" ) -+- 17 A iPatTrackTruthAssociator.TracksName = "iPatTracks" -+- 18 #============================================================== -+- 19 # -+- 20 # End of iPatTrackTruthAssociator_jobOptions file -+- 21 # -+- 22 ############################################################### Athena INFO end of "iPatRecAlgs/iPatTrackTruthAssociator_jobOptions.py" -+- 19 -+- 20 # iPatRec ShortTracks -+- 21 # include( "iPatRecAlgs/iPatShortTracks_jobOptions.py" ) -+- 22 -+- 23 #-------------------------------------------------------------- -+- 24 # tabulated statistics at end of job: trk efficiency and #hits -+- 25 #-------------------------------------------------------------- -+- 26 # iPatRec statistics -+- 27 A include( "iPatRecAlgs/iPatStatistics_jobOptions.py" ) Athena INFO including file "iPatRecAlgs/iPatStatistics_jobOptions.py" -+- 0 ############################################################### -+- 1 # -+- 2 # iPatStatistics job options file -+- 3 # -+- 4 #============================================================== -+- 5 #top algorithm to be run and component library to be loaded -+- 6 A theApp.TopAlg += [ "iPatStatistics" ] -+- 7 A theApp.Dlls += [ "iPatRecAlgs" ] ApplicationMgr INFO Successfully loaded modules: -+- 8 -+- 9 # need the LayerNumberAllocator algtool -+- 10 A theApp.Dlls += [ "iPatGeometry" ] ApplicationMgr INFO Successfully loaded modules: -+- 11 -+- 12 # need the TruthSelector and TruthParameters algtools -+- 13 A theApp.Dlls += [ "iPatTruthTrajectory" ] ApplicationMgr INFO Successfully loaded modules: -+- 14 A include( "iPatTruthTrajectory/TruthSelector_jobOptions.py" ) Athena INFO including file "iPatTruthTrajectory/TruthSelector_jobOptions.py" -+- 0 ############################################################### -+- 1 # -+- 2 # TruthSelector job options file -+- 3 # -+- 4 #============================================================== -+- 5 # define reconstructable charged tracks as primary or secondary according -+- 6 # according to (r,z) of start and end Truth vertices (HepMc::GenVertex) -+- 7 A ToolSvc = Service( "ToolSvc" ) -+- 8 A ToolSvc.TruthSelector.maxEta = 2.7 -+- 9 A ToolSvc.TruthSelector.maxRIndet = 1000.0*mm -+- 10 A ToolSvc.TruthSelector.maxZIndet = 3000.0*mm -+- 11 A ToolSvc.TruthSelector.maxRStartPrimary = 25.0*mm -+- 12 A ToolSvc.TruthSelector.maxZStartPrimary = 200.0*mm -+- 13 A ToolSvc.TruthSelector.maxRStartSecondary = 360.0*mm -+- 14 A ToolSvc.TruthSelector.maxZStartSecondary = 2000.0*mm -+- 15 A ToolSvc.TruthSelector.minPt = 0.3*GeV -+- 16 A ToolSvc.TruthSelector.minREndPrimary = 400.0*mm -+- 17 A ToolSvc.TruthSelector.minZEndPrimary = 2300.0*mm -+- 18 A ToolSvc.TruthSelector.minREndSecondary = 1000.0*mm -+- 19 A ToolSvc.TruthSelector.minZEndSecondary = 3200.0*mm -+- 20 #============================================================== -+- 21 # -+- 22 # End of TruthSelector file -+- 23 # -+- 24 ############################################################### Athena INFO end of "iPatTruthTrajectory/TruthSelector_jobOptions.py" -+- 15 -+- 16 #-------------------------------------------------------------- -+- 17 # Algorithm Private Options: iPatStatistics -+- 18 #-------------------------------------------------------------- -+- 19 A iPatStatistics = Algorithm( "iPatStatistics" ) -+- 20 A iPatStatistics.SpacePointsName = "SiTrackerSpacePoints" -+- 21 A iPatStatistics.TracksName = "iPatTracks" -+- 22 A iPatStatistics.haveTruth = doTruth -+- 23 A iPatStatistics.minPT = 1.0*GeV -+- 24 #============================================================== -+- 25 # -+- 26 # End of iPatStatistics_jobOptions file -+- 27 # -+- 28 ############################################################### Athena INFO end of "iPatRecAlgs/iPatStatistics_jobOptions.py" -+- 28 -+- 29 # iPatRec histograms -+- 30 # include( "iPatRecAlgs/iPatHistograms_jobOptions.py" ) -+- 31 -+- 32 # iPatRec ntuple -+- 33 # include( "iPatRecAlgs/iPatNtuple_jobOptions.py" ) -+- 34 -+- 35 #-------------------------------------------------------------- -+- 36 # (re-)configure the iPatRec algorithms -+- 37 #-------------------------------------------------------------- -+- 38 A iPatRec = Algorithm( "iPatRec" ) -+- 39 A iPatRec.minPT = 1.0*GeV -+- 40 A iPatRec.printLevel = 0 # 2 gives parameters of found tracks -+- 41 -+- 42 A iPatStatistics = Algorithm( "iPatStatistics" ) -+- 43 A iPatStatistics.minPT = 1.1*GeV -+- 44 -+- 45 #-------------------------------------------------------------- -+- 46 # set tolerances for misaligned data -+- 47 #-------------------------------------------------------------- -+- 48 # ToolSvc = Service( "ToolSvc" ) -+- 49 # ToolSvc.AlignmentTolerances.sigmaPixelBarrel = [0.100*mm, 0.010*mm, 0.100*mm] # r, rphi, z -+- 50 # ToolSvc.AlignmentTolerances.sigmaPixelEndcap = [0.100*mm, 0.010*mm, 0.100*mm] # r, rphi, z -+- 51 # ToolSvc.AlignmentTolerances.sigmaSCT_Barrel = [0.100*mm, 0.010*mm, 0.100*mm] # r, rphi, z -+- 52 # ToolSvc.AlignmentTolerances.sigmaSCT_Endcap = [0.100*mm, 0.010*mm, 0.100*mm] # r, rphi, z -+- 53 -+- 54 #============================================================== -+- 55 # End of iPatRec jobOptions fragment -+- 56 # -+- 57 ############################################################### Athena INFO end of "iPatRecExample/iPatRec_jobOptions.py" -+- 55 #iPat will control Truth & SimpleTrack production internally -+- 56 -+- 57 # ------------- xKalman -+- 58 A if InDetFlags.doxKalman: -+- 59 A include( "xKalmanppAthena/xKalman_jobOptions.py" ) Athena INFO including file "xKalmanppAthena/xKalman_jobOptions.py" -+- 0 # --- Load shared libraries -+- 1 # -+- 2 A theApp.Dlls += ["xKalmanppAthena"] ApplicationMgr INFO Successfully loaded modules: xKalmanppAthena -+- 3 # Top algorithms for running xKalman++ -+- 4 # -+- 5 A theApp.TopAlg += [ "XKaSeedsManager", # Seeds manager -+- 6 "XKaMField", # xKalman magnetic field service -+- 7 "XKaDetectorBuilder", # xKalman detector production -+- 8 "XKalMan" ]; # Event reconstruction -+- 9 # -+- 10 #========================================================>XKaSeedsManager -+- 11 # -+- 12 # Existed seeds : XKaSeedALL - reconstruct all event -+- 13 # XKaSeedKINE - KINE seed -+- 14 # -+- 15 # Sub-algorithms for run XKaSeedManager -+- 16 # -+- 17 A XKaSeedsManager = Algorithm( "XKaSeedsManager" ) -+- 18 A XKaSeedsManager.Algorithms = ["XKaSeedALL"] -+- 19 A XKaSeedsManager.PrintLevel = -1 -+- 20 A XKaSeedsManager.RoadsLocation = "XKEvent" -+- 21 #========================================================>XKaSeedALL -+- 22 # -+- 23 A XKaSeedALL = Algorithm( "XKaSeedALL" ) -+- 24 A XKaSeedALL .RoadParameters = [1000., 3.2, 2.6, 240., 10.]; # pT dPhi dEta dZ dXY -+- 25 #========================================================>XKaSeedKINE -+- 26 # -+- 27 A XKaSeedKINE = Algorithm( "XKaSeedKINE" ) -+- 28 A XKaSeedKINE.RoadParameters = [1000., .2, .2, 10., 10.]; # pT dPhi dEta dZ dXY -+- 29 A XKaSeedKINE.SearchRegion = [1000., 0., 6.29, -3., 3.]; # pTm Phi1 Phi2 Eta1 Eta2 -+- 30 A XKaSeedKINE.Particles = [13, -13]; # PDG1 PDG2 .... -+- 31 #========================================================>XKaMField -+- 32 # -+- 33 A XKaMField = Algorithm( "XKaMField" ) -+- 34 A XKaMField.MagFieldAthena = "MagFieldAthenaSvc"; # Magnetic field location -+- 35 A XKaMField.MagneticFieldService = 4 ; # Magnetic field servise -+- 36 A XKaMField.MagneticField = [0.,0.,-14.,700.] ; # Uniform magnetic field -+- 37 #========================================================>XKaDetectorBuilder -+- 38 # -+- 39 A XKaDetectorBuilder = Algorithm( "XKaDetectorBuilder" ) -+- 40 A XKaDetectorBuilder.SilDescrManageLocation = "SCT" ; # SCT geometry location -+- 41 A XKaDetectorBuilder.PixDescrManageLocation = "Pixel" ; # PIX geometry location -+- 42 A XKaDetectorBuilder.TrtDescrManageLocation = "TRT" ; # TRT geometry location -+- 43 A XKaDetectorBuilder.TruthLocation = "InDet_PRD_PRDT_Map"; # Truth location -+- 44 A XKaDetectorBuilder.DetectorLocation = "xKalman" ; # Tracker location -+- 45 A XKaDetectorBuilder.Pixel = TRUE ; # use Pixels detector ? -+- 46 A XKaDetectorBuilder.SCT = TRUE ; # use SCT detector ? -+- 47 A XKaDetectorBuilder.TRT = TRUE ; # use TRT detector ? -+- 48 A XKaDetectorBuilder.TruthInformation = TRUE ; # use truth information ? -+- 49 A XKaDetectorBuilder.PrintLevelDetector = 3 ; # Print level -+- 50 #========================================================>XKalMan -+- 51 # -+- 52 # xKalman++ reconstruction facility -+- 53 # -+- 54 # Strategy start from take into account Comments -+- 55 # -+- 56 # = 0 pixel pixel fast trigger mode -+- 57 # = 1 pixel silicon fast trigger mode -+- 58 # = 2 pixel silicon+TRT fast trigger mode -+- 59 # -------------------------------------------\ -+- 60 # | = 3 pixel+silicon pixel+silicon \best mode without TRT -+- 61 # | = 4 pixel+silicon pixel+silicon+TRT /best mode with TRT -+- 62 # -------------------------------------------/ -+- 63 # = 5 TRT pixel+silicon+TRT (like old XKalman) | not tuned -+- 64 # = 6 TRT +silicon pixel+silicon+TRT | not tuned -+- 65 # -+- 66 A XKalMan = Algorithm( "XKalMan" ) -+- 67 A XKalMan.PrintLevelInformation = 3 ; # xKalman++ information print -+- 68 A XKalMan.ReconstructionStrategy = 4 ; # Reconstruction strategy -+- 69 A XKalMan.Selectivity = 8 ; # Selectivity of reconstruction -+- 70 A XKalMan.PrimaryVertexSearch = FALSE ; # Primary vertices search -+- 71 A XKalMan.SimpleTracksProduction = TRUE ; # Simple tracks production -+- 72 A XKalMan.PrintMemoryManager = FALSE ; # Print xKalman memory manager infor? -+- 73 A XKalMan.TrackModel = 0 ; # muon fit / 1: muon or electron -+- 74 A XKalMan.MinNumberOfSilClusters = 7 ; # min. number of sil. clusters per track -+- 75 A XKalMan.MinNumberOfUniqueSilClusters = 5 ; # min. clusters only to the this track -+- 76 A XKalMan.MinNumberOfTRTClusters = 9 ; # min.number of TRT clusters per track -+- 77 A XKalMan.MaxNumberHoles = 22 ; #(max.number of holes)*10+max.holes gap -+- 78 A XKalMan.Xi2forPrecisionClusters = 15. ; # max. Xi2 for precision clusters -+- 79 A XKalMan.TRTClusterRatio = .7 ; # min.ration TRTcluster to crossed staws -+- 80 A XKalMan.TRTTimeStrawRatio = .5 ; # min.ratio time-straw/straw -+- 81 A XKalMan.TRTuseDriftTime = TRUE ; # use drift time TRT information -+- 82 A XKalMan.DetectorLocation ="xKalman"; # Tracker location -+- 83 A XKalMan.RoadsLocation ="XKEvent"; # Trigger roads location -+- 84 A XKalMan.ConditionLocation ="xKCondition"; # Condition of the recontruction -+- 85 A XKalMan.TracksLocation ="xKalman"; # Track-detector -+- 86 A XKalMan.VerticesLocation ="xKalman"; # Primary vertices bank -+- 87 A XKalMan.SimpleTracksLocation ="Tracks_xKalman"; # Simple tracks location -+- 88 A XKalMan.BeamXcoordinate = [0.,.015]; # Beam X coordinate with error (mm) -+- 89 A XKalMan.BeamYcoordinate = [0.,.015]; # Beam Y coordinate with error (mm) -+- 90 A XKalMan.BeamZcoordinate = [0., 60.]; # Beam Z coordinate with error (mm) -+- 91 A XKalMan.ExtraInformation = 2 ; # Extra information -+- 92 # Sub-algorithms of the xKalman reconstruction -+- 93 # -+- 94 A XKalMan.Algorithms = ["XKaClustersProduction" , # xKalman clusters production -+- 95 "XKaSpacePointsProduction" , # xKalman space points production -+- 96 "XKaTRTReconstruction" , # Reconstruction in TRT -+- 97 "XKaSILReconstruction" , # Reconstruction in SCT and Pixels -+- 98 "XKaTracksComparison" , # Reconstructed tracks comparison -+- 99 "XKaTrackTRTExtension" , # Tracks extension to TRT -+- 100 "XKaPrimaryVertexSearch" , # Primary vertices search -+- 101 "XKaSimpleTracksProduction"]; # Simple tracks production -+- 102 #========================================================>XKaClustersProduction -+- 103 # -+- 104 A XKaClustersProduction = Algorithm( "XKaClustersProduction" ) -+- 105 A XKaClustersProduction. PrintLevelClusters=-1; # Print level for clusters -+- 106 A XKaClustersProduction. PrintLevelDetector=-1; # Print level for detector -+- 107 #========================================================>XKaSpacePointsProduction -+- 108 # -+- 109 A XKaSpacePointsProduction = Algorithm( "XKaSpacePointsProduction" ) -+- 110 A XKaSpacePointsProduction.PrintLevelSpoints =-1; # Print level for space points -+- 111 A XKaSpacePointsProduction.PrintLevelDetector=-1; # Print level for detector -+- 112 #========================================================>XKaTRTReconstruction -+- 113 # -+- 114 A XKaTRTReconstruction = Algorithm( "XKaTRTReconstruction" ) -+- 115 A XKaTRTReconstruction.PrintLevelTracks =[-1,1]; # Print level for tracks -+- 116 #========================================================>XKaSILReconstruction -+- 117 # -+- 118 A XKaSILReconstruction = Algorithm( "XKaSILReconstruction" ) -+- 119 A XKaSILReconstruction.PrintLevelTracks =[-1,1]; # Print level for tracks -+- 120 #========================================================>XKaTracksComparison -+- 121 # -+- 122 A XKaTracksComparison = Algorithm( "XKaTracksComparison" ) -+- 123 A XKaTracksComparison. PrintLevelTracks =[-1,1]; # Print level for tracks -+- 124 #========================================================>XKaTrackTRTExtension -+- 125 # -+- 126 A XKaTrackTRTExtension = Algorithm( "XKaTrackTRTExtension" ) -+- 127 A XKaTrackTRTExtension.PrintLevelTracks =[-1,1]; # Print level for tracks -+- 128 #========================================================>XKaSimpleTracksProduction -+- 129 # -+- 130 A XKaSimpleTracksProduction = Algorithm( "XKaSimpleTracksProduction" ) -+- 131 A XKaSimpleTracksProduction.TrackUnits = 1; # Track units (0-CM,GeV, 1->MM,MeV) -+- 132 A XKaSimpleTracksProduction.PrintLevelTracks = -1; # Print level for tracks -+- 133 #========================================================>XKaPrimaryVertex -+- 134 # -+- 135 A XKaPrimaryVertexSearch = Algorithm( "XKaPrimaryVertexSearch" ) -+- 136 A XKaPrimaryVertexSearch.NumberTracks = 2 ; # Min. number tracks -+- 137 A XKaPrimaryVertexSearch.DZcut = 10. ; # Work Z cut (mm) -+- 138 A XKaPrimaryVertexSearch.Xi2cut = 15. ; # Xi2 cut of track-vertex -+- 139 A XKaPrimaryVertexSearch.pTcut = 500.; # pT cut for tracks (MeV) -+- 140 A XKaPrimaryVertexSearch.PrintLevel = -1 ; # Print level for vertices Athena INFO end of "xKalmanppAthena/xKalman_jobOptions.py" -+- 60 A XKalMan = Algorithm( "XKalMan" ) -+- 61 A XKalMan.SimpleTracksProduction = makeSimpleTracks -+- 62 A XKalMan.ExtraInformation = 2 -+- 63 A XKaTracker = Algorithm( "XKaTracker" ) -+- 64 A XKaTracker.TruthInformation = TRUE ; # use truth information ? -+- 65 # check to see if running on pile-up -+- 66 A if GlobalFlags.Luminosity.is_high(): -+- 67 XKalMan.Selectivity = 8 -+- 68 A if DetDescrVersion=="DC2-Initial" or DetDescrVersion=="Rome-Initial" or DetDescrVersion=="Rome-Initial-v00" or DetDescrVersion=="DC1-Initial" : -+- 69 print 'setting xKalman selectivity to 2 for initial layout' -+- 70 XKalMan.Selectivity = 2 -+- 71 -+- 72 # -------------- Legacy Conversion -+- 73 -+- 74 A if InDetFlags.doLegacyConversion: -+- 75 #Needed for ROT_Creator used by Legacy conversion -+- 76 A include( "TrkRIO_OnTrackCreator/RIO_OnTrackCreator_default.py") Athena INFO including file "TrkRIO_OnTrackCreator/RIO_OnTrackCreator_default.py" -+- 0 # ======================================================================== -+- 1 # jobOption fragment for configuring the Master RIO_OnTrackCreator -+- 2 # -+- 3 # Need for each sub-detector a specific tool to convert RIOs into ROT. -+- 4 # -+- 5 # See README for how to call the Creator. -+- 6 # -+- 7 # Important: you have to set the tool's name (2nd argument) in -+- 8 # retrieveTool ("Trk::RIO_OnTrackCreator","RIO_OnTrackCreator",m_x); -+- 9 # for the following job options to work. -+- 10 # ======================================================================== -+- 11 A ToolSvc = Service( "ToolSvc" ) -+- 12 A RIO_OnTrackCreator = Service( "ToolSvc.RIO_OnTrackCreator" ) -+- 13 # RIO_OnTrackCreator.OutputLevel = 2 -+- 14 # -+- 15 # --- configure Pixel/SCT --- -+- 16 A RIO_OnTrackCreator.ToolForSiCluster = \ -+- 17 "SiClusterOnTrackTool/SiClusterOnTrackTool" -+- 18 A theApp.Dlls += ["SiClusterOnTrackTool"] ApplicationMgr INFO Successfully loaded modules: SiClusterOnTrackTool -+- 19 # -+- 20 # --- configure TRT --- -+- 21 A RIO_OnTrackCreator.ToolForTRT = \ -+- 22 "TRT_DriftCircleOnTrackTool/TRT_DriftCircleOnTrackTool" -+- 23 A theApp.Dlls += ["TRT_DriftCircleOnTrackTool"] ApplicationMgr INFO Successfully loaded modules: TRT_DriftCircleOnTrackTool -+- 24 # -+- 25 # --- configure MDT --- -+- 26 # -+- 27 A RIO_OnTrackCreator.ToolForMuonDriftCircle = "none" -+- 28 #RIO_OnTrackCreator.ToolForMuonDriftCircle = \ -+- 29 # "MuonDriftCircleOnTrackTool/MuonDriftCircleOnTrackTool" -+- 30 #theApp.DLLs += ["MuonDriftCircleOnTrackTool"] -+- 31 # -+- 32 # --- configure CSC / RPC / TGC --- -+- 33 A RIO_OnTrackCreator.ToolForMuonCluster = "none" -+- 34 #RIO_OnTrackCreator.ToolForMuonCluster = \ -+- 35 # "MuonClusterOnTrackTool/MuonClusterOnTrackTool" -+- 36 #theApp.DLLs += ["MuonClusterOnTrackTool"] -+- 37 # -+- 38 # MuonCalibration Initialization -+- 39 #include( "MuonDriftCircleOnTrackTool/MuonDriftCircleOnTrackTool.py" ) Athena INFO end of "TrkRIO_OnTrackCreator/RIO_OnTrackCreator_default.py" -+- 77 #Legacy Conversion -+- 78 A include( "InDetLegacyCnvAlgs/InDetLegacyCnvAlgs_jobOptions.py" ) Athena INFO including file "InDetLegacyCnvAlgs/InDetLegacyCnvAlgs_jobOptions.py" -+- 0 # -------------- beginning of InDetLegacyCnvAlgs_jobOptions.py -+- 1 #theApp.Dlls += [ "TrkLegacyCnvTools" ] -+- 2 A theApp.Dlls += [ "InDetLegacyCnvTools" ] ApplicationMgr INFO Successfully loaded modules: InDetLegacyCnvTools -+- 3 A theApp.Dlls += [ "InDetLegacyCnvAlgs" ] ApplicationMgr INFO Successfully loaded modules: InDetLegacyCnvAlgs -+- 4 A theApp.TopAlg += [ "InDet::InDetLegacyCnvAlg/InDetLegacyCnvAlg" ] -+- 5 A InDetLegacyCnvAlg = Service( "InDetLegacyCnvAlg" ) -+- 6 A InDetLegacyCnvAlg.iPatTracksLocation = "iPatTracks" -+- 7 A InDetLegacyCnvAlg.xKalmanTracksLocation = "xKalman00"; -+- 8 A InDetLegacyCnvAlg.ConvertedIPatTracksLocation="ConvertedIPatTracks" -+- 9 A InDetLegacyCnvAlg.ConvertedXKalmanTracksLocation="ConvertedXKalmanTracks" -+- 10 # -------------- end of InDetLegacyCnvAlgs_jobOptions.py -+- 11 Athena INFO end of "InDetLegacyCnvAlgs/InDetLegacyCnvAlgs_jobOptions.py" -+- 79 -+- 80 # ---------- Ambiguity solving -+- 81 A if InDetFlags.doAmbiSolving: -+- 82 A include( "InDetAmbiguitySolver/InDetAmbiProc_jobOptions.py" ) Athena INFO including file "InDetAmbiguitySolver/InDetAmbiProc_jobOptions.py" -+- 0 ############################################################### -+- 1 # -+- 2 # AmbiProcAlg job options file -+- 3 # -+- 4 #============================================================== -+- 5 #top algorithm to be run and component library to be loaded -+- 6 A theApp.Dlls += [ "InDetAmbiguitySolver" ] ApplicationMgr INFO Successfully loaded modules: InDetAmbiguitySolver -+- 7 A theApp.TopAlg += [ "InDetAmbiguitySolver" ] -+- 8 -+- 9 # set defaults -+- 10 A InDetAmbiguitySolver = Algorithm( "InDetAmbiguitySolver" ) -+- 11 A InDetAmbiguitySolver.TracksLocation = "ConvertedIPatTracks" -+- 12 A InDetAmbiguitySolver.ResolvedTracksLocation = "Tracks" -+- 13 Athena INFO end of "InDetAmbiguitySolver/InDetAmbiProc_jobOptions.py" -+- 83 A InDetAmbiguitySolver = Algorithm( "InDetAmbiguitySolver" ) -+- 84 -+- 85 # choose one of the following options! -+- 86 A InDetAmbiguitySolver.TracksLocation = "ConvertedIPatTracks" -+- 87 #InDetAmbiguitySolver.TracksLocation = "ConvertedXKalmanTracks" -+- 88 -+- 89 # checks to make sure that always set to something sane -+- 90 # (i.e. if iPat turned off, make sure that xKalman used.) -+- 91 # (not in Ambi proc job opts because Ambi proc shouldn't know about iPat etc) -+- 92 A if not InDetFlags.doxKalman: -+- 93 InDetAmbiguitySolver.TracksLocation = "ConvertedIPatTracks" -+- 94 A if not InDetFlags.doiPatRec: -+- 95 InDetAmbiguitySolver.TracksLocation = "ConvertedXKalmanTracks" -+- 96 -+- 97 # output from Ambi -+- 98 A InDetAmbiguitySolver.ResolvedTracksLocation = "Tracks" -+- 99 -+- 100 A if InDetFlags.doRefit: -+- 101 include ( "InDetRecExample/InDetRefit.py") -+- 102 -+- 103 # ------------ Track truth. -+- 104 A if doTruth: -+- 105 A include ( "InDetTruthAlgs/InDetTrackTruth.py" ) Athena INFO including file "InDetTruthAlgs/InDetTrackTruth.py" -+- 0 -+- 1 # Track Truth -+- 2 A theApp.Dlls += ["InDetTruthAlgs"] ApplicationMgr INFO Successfully loaded modules: -+- 3 A theApp.TopAlg += ["InDetTrackTruthMaker"] -+- 4 A InDetTrackTruthMaker = Algorithm( "InDetTrackTruthMaker" ) -+- 5 A InDetTrackTruthMaker.TrackName = "Tracks" -+- 6 A InDetTrackTruthMaker.SimPRDMapName = "InDet_PRD_PRDT_Map" -+- 7 A InDetTrackTruthMaker.SimTrackMapName = "TRACK_TRACKT_Map" -+- 8 A InDetTrackTruthMaker.Pixels = TRUE -+- 9 A InDetTrackTruthMaker.SCT = TRUE -+- 10 A InDetTrackTruthMaker.TRT = TRUE -+- 11 Athena INFO end of "InDetTruthAlgs/InDetTrackTruth.py" -+- 106 -+- 107 # ------------ Vertex finding -+- 108 A if InDetFlags.doVertexFinding: -+- 109 A include( "InDetTrackSummaryHelperTool/InDetTrackSummaryHelperTool_jobOptions.py") Athena INFO including file "InDetTrackSummaryHelperTool/InDetTrackSummaryHelperTool_jobOptions.py" -+- 0 A theApp.Dlls += [ "InDetTrackSummaryHelperTool" ] ApplicationMgr INFO Successfully loaded modules: InDetTrackSummaryHelperTool Athena INFO end of "InDetTrackSummaryHelperTool/InDetTrackSummaryHelperTool_jobOptions.py" -+- 110 A include( "InDetPriVxFinder/InDetPriVxFinder_jobOptions.py" ) Athena INFO including file "InDetPriVxFinder/InDetPriVxFinder_jobOptions.py" -+- 0 #-------------------------------------------------- -+- 1 # InDetPriVxFinder -+- 2 #------------------------------------------------- -+- 3 A theApp.Dlls += [ "InDetPriVxFinder" ] ApplicationMgr INFO Successfully loaded modules: InDetPriVxFinder -+- 4 A theApp.TopAlg += [ "InDet::VxPrimary/VxPrimary" ] -+- 5 -+- 6 #-------------------------------------------------------------- -+- 7 # StoreGate Input/Ouput Options -+- 8 #-------------------------------------------------------------- -+- 9 A VxPrimary = Algorithm( "VxPrimary" ) -+- 10 # read tracks from the ambiguity solver -+- 11 A VxPrimary.TracksName = "Tracks" -+- 12 # results will be written in this container -+- 13 A VxPrimary.VxCandidatesOutputName = "VxPrimaryCandidate" -+- 14 -+- 15 #-------------------------------------------------------------- -+- 16 # choose fit algorithm -+- 17 #-------------------------------------------------------------- -+- 18 # FullFit ... the Billoir "standard" fit, varying all 5 track parameters -+- 19 # to fit V(vx,vy,vz) an p of each used track at vertex -+- 20 # FastFit ... only varies d0 and z0, result is V(vx,vy,vz), p is given by -+- 21 # the perigee parameter (since theta and rho stay constant anyway and -+- 22 # phi is taken to be constant) -+- 23 A VxPrimary.FitRoutine = "FastFit" -+- 24 # choose chi2 cut method -+- 25 A VxPrimary.chi2CutMethod = 1; # see header VxPrimary.h for explanation -+- 26 -+- 27 #-------------------------------------------------------------- -+- 28 # track selection cuts -+- 29 #-------------------------------------------------------------- -+- 30 # these cuts are used for a preselection of tracks, any track not -+- 31 # passing these cuts will not be used in the fit. -+- 32 A VxPrimary.maxchi2perTrack = 5.; -+- 33 A VxPrimary.minPt = 1000.; # Minimum Pt(MeV) of tracks -+- 34 A VxPrimary.maxZ0 = 150.; # Maximal z0(mm) of tracks -+- 35 A VxPrimary.maxD0 = .25; # Maximal d0(mm) of tracks -+- 36 A VxPrimary.maxD0overSigmaD0 = 3.; # Maximal d0/sigmad0 of tracks -+- 37 -+- 38 #-------------------------------------------------------------- -+- 39 # Enable fitting of multiple verices for pile-up (1 = yes, 0 = no) -+- 40 #-------------------------------------------------------------- -+- 41 A VxPrimary.enableMultipleVertices = 1; -+- 42 A VxPrimary.clusterLength = 3.; -+- 43 -+- 44 #-------------------------------------------------------------- -+- 45 # use Beam Constraint for primary vertex (1 = yes, 0 = no) -+- 46 #-------------------------------------------------------------- -+- 47 # depending on the error of the beam constraint, too many tracks -+- 48 # might be rejected (because they get a very high chi2) and the -+- 49 # efficiency of finding a primary vertex goes down rapidly. -+- 50 # All positions and errors are in mm. -+- 51 A VxPrimary.useBeamConstraint = 0; -+- 52 A VxPrimary.BeamConstraintPos = [ 0., 0., 0. ]; -+- 53 A VxPrimary.BeamConstraintErr = [ 0.015, 0.015, 56. ]; -+- 54 Athena INFO end of "InDetPriVxFinder/InDetPriVxFinder_jobOptions.py" -+- 111 -+- 112 # ------------ Particle creation -+- 113 A if InDetFlags.doParticleCreation: -+- 114 A include( "InDetParticleCreation/InDetParticleCreation_jobOptions.py" ) Athena INFO including file "InDetParticleCreation/InDetParticleCreation_jobOptions.py" -+- 0 A theApp.DLLs += [ "InDetParticleCreation" ] ApplicationMgr INFO Successfully loaded modules: InDetParticleCreation -+- 1 A theApp.TopAlg += [ "InDet::ParticleCreator/ParticleCreator" ] -+- 2 -+- 3 # Input -+- 4 A ParticleCreator = Algorithm( "ParticleCreator" ) -+- 5 A ParticleCreator.TracksName="Tracks" -+- 6 A ParticleCreator.VxCandidatesPrimaryName="VxPrimaryCandidate" -+- 7 # Output -+- 8 A ParticleCreator.TrackParticlesOutputName="TrackParticleCandidate" -+- 9 A ParticleCreator.ParticleCreatorToolName="Trk::ParticleCreatorTool" -+- 10 A ParticleCreator.ParticleCreatorToolInstanceName="InDetParticleCreatorTool" -+- 11 -+- 12 # extrapolator setup -+- 13 A ParticleCreatorTool = Service( 'ToolSvc.InDetParticleCreatorTool' ) -+- 14 A include( "TrkParticleCreator/ParticleCreatorTool_jobOptions.py") Athena INFO including file "TrkParticleCreator/ParticleCreatorTool_jobOptions.py" -+- 0 A ToolSvc = Service( "ToolSvc" ); -+- 1 -+- 2 #magfieldInstance = 'MagneticFieldTool' -+- 3 ################################################################################################# -+- 4 # # load the Dlls -+- 5 # theApp.Dlls += [ 'BFieldAth' ] -+- 6 # theApp.ExtSvc += [ 'MagFieldAthenaSvc' ] -+- 7 # theApp.Dlls += [ 'TrkMagFieldTools' ] -+- 8 # include ( 'TrkMagFieldTools/ConfiguredMagneticFieldService.py' ) -+- 9 # -+- 10 # # setup the magnetic Field service -+- 11 # theMagneticFieldService = ConfiguredMagneticFieldService(magfieldInstance, 'bmagatlas02.data', []) -+- 12 # theMagneticFieldService.printInfo() -+- 13 -+- 14 A theApp.Dlls += [ 'TrkExTools' ] ApplicationMgr INFO Successfully loaded modules: TrkExTools -+- 15 A ParticleCreatorTool.ExtrapolatorName = 'Trk::Extrapolator' -+- 16 A ParticleCreatorTool.ExtrapolatorInstanceName = 'ConfiguredExtrapolatorATLAS' -+- 17 -+- 18 -+- 19 A include ( 'TrkExTools/ConfiguredExtrapolatorATLAS.py' ) Athena INFO including file "TrkExTools/ConfiguredExtrapolatorATLAS.py" -+- 0 ################################################################################################## -+- 1 # This is the configured extrapolator for ATLAS -+- 2 # -+- 3 # note: the only requirement for the user is to retrieve the -+- 4 # right Tool instance -+- 5 -+- 6 -+- 7 # DetectorDescription -+- 8 ## include( "AtlasGeoModel/GeoModelCommon.py" ) -+- 9 ## include( "AtlasGeoModel/InDetGeoModelDC2.py" ) -+- 10 -+- 11 #RDBAccessSvc = Service( "RDBAccessSvc" ) -+- 12 #RDBAccessSvc.HostName = "pdb01" -+- 13 -+- 14 -+- 15 ################################################################################################## -+- 16 # Start of Extrapolator Setup - give an unique instance Name -+- 17 -+- 18 A extrapolatorInstance = 'ConfiguredExtrapolatorATLAS' -+- 19 -+- 20 ################################################################################################## -+- 21 # load the DLLS -+- 22 A theApp.Dlls += [ "TrkDetDescrTools" ] ApplicationMgr INFO Successfully loaded modules: TrkDetDescrTools -+- 23 A theApp.Dlls += [ "InDetTrackingGeometry" ] ApplicationMgr INFO Successfully loaded modules: InDetTrackingGeometry -+- 24 A theApp.Dlls += [ 'TrkMagFieldTools' ] ApplicationMgr INFO Successfully loaded modules: TrkMagFieldTools -+- 25 A theApp.Dlls += [ "TrkExTools" ] ApplicationMgr INFO Successfully loaded modules: -+- 26 -+- 27 ########################################################## -+- 28 # setup the tracking magnetic Field interface -+- 29 A include ( 'TrkMagFieldTools/ConfiguredMagneticFieldService.py' ) Athena INFO including file "TrkMagFieldTools/ConfiguredMagneticFieldService.py" -+- 0 A import __main__ -+- 1 A import gaudimodule -+- 2 -+- 3 A ToolSvc = Service( 'ToolSvc' ) -+- 4 -+- 5 ##################################################################### -+- 6 # ConfiguredMagneticFieldService -+- 7 ##################################################################### -+- 8 # Python Setup Class for Trk::MagneticFieldService -+- 9 # -+- 10 # Author: Andreas.Salzburger@cern.ch -+- 11 # -+- 12 # Date: 21/01/2005 -+- 13 # -+- 14 ##################################################################### -+- 15 # To instanciate, one has to pass to the constructor: -+- 16 # - an Instance name -+- 17 # - a string defining the magnetic field map from AtheneMagFieldSvc -+- 18 # - an array with an volumesetup -+- 19 ##################################################################### -+- 20 -+- 21 -+- 22 A class ConfiguredMagneticFieldService : -+- 22 T class ConfiguredMagneticFieldService : -+- 23 A def __init__(self, instname, magfieldmap, volumesetups): -+- 24 self.__svcname__ = 'Trk::MagneticFieldTool' -+- 25 self.__ctbsvcname__ = 'Trk::CTBMagneticFieldTool' -+- 26 self.__instname__ = instname -+- 27 self.__magfieldmap__ = magfieldmap -+- 28 self.__synchvolume__ = False -+- 29 self.__toolname__ = 'ToolSvc.'+self.__instname__ -+- 30 self.__thisMag__ = Service( self.__toolname__ ) -+- 31 -+- 32 #self.__svcdic__ = __main__.__dict__ -+- 33 -+- 34 self.__thisMag__.MagneticFieldService = 'MagFieldAthenaSvc' -+- 35 MagFieldAthenaSvc = Service( 'MagFieldAthenaSvc' ) -+- 36 #MagFieldAthenaSvc.NameOfSource="BYPYTH" -+- 37 -+- 38 # Output method for ConfiguredMagneticFieldService -+- 39 A def printInfo(self): -+- 40 print '***** ConfiguredMagneticFieldService *********************************************' -+- 41 print '* - ToolName: '+self.__toolname__ -+- 42 print '* --------------------------------------------------------------------------------' -+- 43 print '* - From file: '+self.__magfieldmap__ -+- 44 print '**********************************************************************************' -+- 45 Athena INFO end of "TrkMagFieldTools/ConfiguredMagneticFieldService.py" -+- 30 # DANGEROUS -+- 31 A theMagneticFieldTool = ConfiguredMagneticFieldService('AtlasMagFieldTool', 'bmagatlas02.data', []) -+- 32 A theMagneticFieldTool.printInfo() ***** ConfiguredMagneticFieldService ********************************************* * - ToolName: ToolSvc.AtlasMagFieldTool * -------------------------------------------------------------------------------- * - From file: bmagatlas02.data ********************************************************************************** -+- 33 -+- 34 # setup the geometry builder for the tracking geometry -+- 35 A include ( 'TrkDetDescrTools/ConfiguredGeometryBuilder.py' ) Athena INFO including file "TrkDetDescrTools/ConfiguredGeometryBuilder.py" -+- 0 A import __main__ -+- 1 A import gaudimodule -+- 2 -+- 3 A ToolSvc = Service( 'ToolSvc' ) -+- 4 -+- 5 ##################################################################### -+- 6 # ConfiguredGeometryBuilder -+- 7 ##################################################################### -+- 8 # Python Setup Class for Trk::GeometryBuilder -+- 9 # -+- 10 # Author: Andreas.Salzburger@cern.ch -+- 11 # -+- 12 # Date: 21/01/2005 -+- 13 # -+- 14 ##################################################################### -+- 15 # To instanciate, one has to pass to the constructor: -+- 16 # - an Instance name of the GeometryBuilder -+- 17 # - a string "ATLAS", "CTB2004" -+- 18 # - a configured MagneticFielcService setup class -+- 19 # -+- 20 ##################################################################### -+- 21 -+- 22 A class ConfiguredGeometryBuilder : -+- 22 T class ConfiguredGeometryBuilder : -+- 23 A def __init__(self, instname, geometrytype, magfieldsvc): -+- 24 self.__svcname__ = 'Trk::GeometryBuilder' -+- 25 self.__instname__ = instname -+- 26 self.__geotype__ = geometrytype -+- 27 self.__magfieldsvc__ = magfieldsvc.__instname__ -+- 28 -+- 29 self.__toolname__ = 'ToolSvc.'+self.__instname__ -+- 30 self.__thisGeoBuilder__ = Service( self.__toolname__ ) -+- 31 -+- 32 self.__thisGeoBuilder__.TrackingMagFieldTool = magfieldsvc.__svcname__ -+- 33 self.__thisGeoBuilder__.TrackingMagFieldToolInstance = magfieldsvc.__instname__ -+- 34 -+- 35 if self.__geotype__ == 'ATLAS': -+- 36 self.__thisGeoBuilder__.CombinedTestBeamSetup = False -+- 37 elif self.__geotype__ == 'CTB2004': -+- 38 self.__thisGeoBuilder__.CombinedTestBeamSetup = True -+- 39 self.__thisGeoBuilder__.TrackingMagFieldTool = magfieldsvc.__ctbsvcname__ -+- 40 -+- 41 if magfieldsvc.__synchvolume__: -+- 42 self.__thisGeoBuilder__.SynchMagneticFieldVolume = magfieldsvc.__synchvolumename__ -+- 43 self.__thisGeoBuilder__.SynchMagneticFieldType = magfieldsvc.__synchfieldmode__ -+- 44 self.__thisGeoBuilder__.SynchMagneticFieldProperties = magfieldsvc.__synchfieldprops__ -+- 45 -+- 46 -+- 47 -+- 48 # Output method for ConfiguredGeometryBuilder -+- 49 A def printInfo(self): -+- 50 print '***** ConfiguredGeometryBuilder *******************************************************' -+- 51 print '* - ToolName: '+self.__toolname__ -+- 52 print '* - GeometryType: '+self.__geotype__ -+- 53 print '* --------------------------------------------------------------------------------' -+- 54 print '* - MagFieldService: '+self.__magfieldsvc__ -+- 55 print '**********************************************************************************'Athena INFO end of "TrkDetDescrTools/ConfiguredGeometryBuilder.py" -+- 36 A theGeometryBuilder = ConfiguredGeometryBuilder('AtlasTrackingBuilder', 'ATLAS', theMagneticFieldTool) -+- 37 A theGeometryBuilder.printInfo() ***** ConfiguredGeometryBuilder ******************************************************* * - ToolName: ToolSvc.AtlasTrackingBuilder * - GeometryType: ATLAS * -------------------------------------------------------------------------------- * - MagFieldService: AtlasMagFieldTool ********************************************************************************** -+- 38 -+- 39 # setup the navigator used by the extrapolator -+- 40 A include ( 'TrkExTools/ConfiguredNavigator.py' ) Athena INFO including file "TrkExTools/ConfiguredNavigator.py" -+- 0 A import __main__ -+- 1 A import gaudimodule -+- 2 -+- 3 A ToolSvc = Service( 'ToolSvc' ) -+- 4 -+- 5 ##################################################################### -+- 6 # ConfiguredNavigator -+- 7 ##################################################################### -+- 8 # Python Setup Class for Trk::Navigator -+- 9 # -+- 10 # Author: Andreas.Salzburger@cern.ch -+- 11 # -+- 12 # Date: 21/01/2005 -+- 13 # -+- 14 ##################################################################### -+- 15 # To instanciate, one has to pass to the constructor: -+- 16 # - an Instance name of the Navigator -+- 17 # - a ConfiguredGeometryBuilder python setup class -+- 18 # -+- 19 # Optionally, an array of Options can be added, in the order: -+- 20 # [ inInsideVolumeTolerance, isOnSurfaceTolerance ] ... to be expanded -+- 21 # - isInsideVoluemTolerance ... for fine tuning of global volume search -+- 22 # - isOnSurfaceTolerace ... for fine tuning of navigation propagations -+- 23 # -+- 24 # Sample usage: -+- 25 # -+- 26 # myConfiguredGeoBuilder = ConfiguredGeometryBuilder(...) -+- 27 # -+- 28 # myNavigator = ConfiguredNavigator('myConfiguredNavigator', -+- 29 # myConfiguredGeoBuilder, -+- 30 # [ 2.* mm, 5.* mm ]) -+- 31 # -+- 32 # -+- 33 ##################################################################### -+- 34 -+- 35 A class ConfiguredNavigator : -+- 35 T class ConfiguredNavigator : -+- 36 A def __init__(self, instname, geosetup, args): -+- 37 self.__svcname__ = 'Trk::Navigator' -+- 38 self.__instname__ = instname -+- 39 self.__geoinstname__ = geosetup.__instname__ -+- 40 self.__args__ = args -+- 41 -+- 42 self.__toolname__ = 'ToolSvc.'+self.__instname__ -+- 43 self.__thisNav__ = Service( self.__toolname__ ) -+- 44 -+- 45 # set the navigator service and instance name -+- 46 self.__thisNav__.GeometryBuilder = geosetup.__svcname__ -+- 47 self.__thisNav__.GeometryBuilderInstance = geosetup.__instname__ -+- 48 -+- 49 # set the tolerance levels -+- 50 self.__argslength__ = len(args) -+- 51 if self.__argslength__ > 0: -+- 52 self.__thisNav__.InsideVolumeTolerance = args[0] -+- 53 if self.__argslength__ > 1: -+- 54 self.__thisNav__.IsOnSurfaceTolerance = args[1] -+- 55 -+- 56 # Output method for ConfiguredNavigator -+- 57 A def printInfo(self): -+- 58 print '***** ConfiguredNavigator *******************************************************' -+- 59 print '* - ToolName: '+self.__toolname__ -+- 60 print '* --------------------------------------------------------------------------------' -+- 61 print '* - GeometryBuilder: '+self.__geoinstname__ -+- 62 if self.__argslength__>0: -+- 63 print '* - InsideVolumeTolerance:'+self.__args__[0] -+- 64 if self.__argslength__>1: -+- 65 print '* - OnSurfaceTolerance: '+self.__args__[1] -+- 66 print '**********************************************************************************'Athena INFO end of "TrkExTools/ConfiguredNavigator.py" -+- 41 A theNavigator = ConfiguredNavigator('AtlasNavigator', theGeometryBuilder, []) -+- 42 A theNavigator.printInfo() ***** ConfiguredNavigator ******************************************************* * - ToolName: ToolSvc.AtlasNavigator * -------------------------------------------------------------------------------- * - GeometryBuilder: AtlasTrackingBuilder ********************************************************************************** -+- 43 -+- 44 # setup the updator used by the extrapolator -+- 45 A include ( 'TrkExTools/ConfiguredUpdator.py' ) Athena INFO including file "TrkExTools/ConfiguredUpdator.py" -+- 0 A import __main__ -+- 1 A import gaudimodule -+- 2 -+- 3 A ToolSvc = Service( 'ToolSvc' ) -+- 4 -+- 5 ##################################################################### -+- 6 # ConfiguredUpdator -+- 7 ##################################################################### -+- 8 # Python Setup Class for Trk::MaterialEffectsUpdator -+- 9 # -+- 10 # Author: Andreas.Salzburger@cern.ch -+- 11 # -+- 12 # Date: 21/01/2005 -+- 13 # -+- 14 ##################################################################### -+- 15 # To instanciate, one has to pass to the constructor: -+- 16 # - an Instance name of the MaterialEffectsUpdator -+- 17 # - a string either : 'no material effects', 'pointlike update' -+- 18 # -+- 19 # Sample usage: -+- 20 # -+- 21 # myConfiguredUpdator = ConfiguredUpdator('NoMaterial') -+- 22 # -+- 23 # -+- 24 # -+- 25 # -+- 26 ##################################################################### -+- 27 -+- 28 A class ConfiguredUpdator : -+- 28 T class ConfiguredUpdator : -+- 29 A def __init__(self, instname, updatetype, args): -+- 30 self.__svcname__ = 'Trk::MaterialEffectsUpdator' -+- 31 self.__instname__ = instname -+- 32 self.__updateType__ = updatetype -+- 33 -+- 34 self.__args__ = args -+- 35 -+- 36 self.__toolname__ = 'ToolSvc.'+self.__instname__ -+- 37 -+- 38 self.__applyUpdates__ = True -+- 39 if updatetype == 'no material effects': -+- 40 self.__applyUpdates__ = False -+- 41 -+- 42 -+- 43 # Output method for ConfiguredUpdator -+- 44 A def printInfo(self): -+- 45 print '***** ConfiguredUpdator **********************************************************' -+- 46 print '* - ToolName: '+self.__toolname__ -+- 47 print '* --------------------------------------------------------------------------------' -+- 48 print '* - UpdateType: '+self.__updateType__ -+- 49 print '**********************************************************************************'Athena INFO end of "TrkExTools/ConfiguredUpdator.py" -+- 46 A theUpdator = ConfiguredUpdator('AtlasUpdator', 'pointlike', []) -+- 47 A theUpdator.printInfo() ***** ConfiguredUpdator ********************************************************** * - ToolName: ToolSvc.AtlasUpdator * -------------------------------------------------------------------------------- * - UpdateType: pointlike ********************************************************************************** -+- 48 -+- 49 # setup the extrapolator - fully configured mode -+- 50 A include ( 'TrkExTools/FullyConfiguredExtrapolator.py') Athena INFO including file "TrkExTools/FullyConfiguredExtrapolator.py" -+- 0 A import __main__ -+- 1 A import gaudimodule -+- 2 -+- 3 A ToolSvc = Service( 'ToolSvc' ) -+- 4 -+- 5 ##################################################################### -+- 6 # FullyConfiguredExtrapolator -+- 7 ##################################################################### -+- 8 # Python Setup Class for Trk::Extrapolator in fully configured mode -+- 9 # it makes use of all types of propagators in an optimized way -+- 10 # -+- 11 # Author: Andreas.Salzburger@cern.ch -+- 12 # -+- 13 # Date: 21/01/2005 -+- 14 # -+- 15 ##################################################################### -+- 16 # To instanciate, one has to pass to the constructor: -+- 17 # - an InstanceName for the Extrapolator -+- 18 # - a ConfiguredNavigator python setup class -+- 19 # - a ConfiguredUpdator ptyhon setup callss -+- 20 # -+- 21 # In addition, an array of Options can be added, in the order: -+- 22 # ['SearchLevel'] ... to be expanded -+- 23 # - SearchLevel ... Search for closest track parameters to Surface -+- 24 # 'low' ... based on direct distance -+- 25 # 'medium' ... uses StraightLinePropagator -+- 26 # 'high' ... uses HelixPropagator -+- 27 # -+- 28 # Sample usage: -+- 29 # -+- 30 # myConfiguredNavigator = ConfiguredNavigator(...) -+- 31 # myConfiguredUpdator = ConfiguredUpdator(...) -+- 32 # -+- 33 # myExtrapolator = FullyConfiguredExtrapolator('MyFullyConfiguredExtrapolator', -+- 34 # myConfiguredNavigator, -+- 35 # myConfiguredUpdator, -+- 36 # ['low']) -+- 37 # -+- 38 # -+- 39 ##################################################################### -+- 40 -+- 41 A class FullyConfiguredExtrapolator : -+- 41 T class FullyConfiguredExtrapolator : -+- 42 A def __init__(self, instname, navsetup, updsetup, args): -+- 43 self.__svcname__ = 'Trk::Extrapolator' -+- 44 self.__instname__ = instname -+- 45 self.__navinstname__= navsetup.__instname__ -+- 46 self.__updinstname__= updsetup.__instname__ -+- 47 self.__args__ = args -+- 48 -+- 49 self.__toolname__ = 'ToolSvc.'+self.__instname__ -+- 50 self.__thisEx__ = Service( self.__toolname__ ) -+- 51 -+- 52 # load the component libraries of all Propagators -+- 53 theApp.Dlls += [ 'TrkExSlPropagator', -+- 54 'TrkExHelixPropagator', -+- 55 'TrkExRungeKuttaPropagator' ] -+- 56 -+- 57 # add all propagators by service names -+- 58 self.__thisEx__.Propagators = [ 'Trk::StraightLinePropagator', -+- 59 'Trk::HelixPropagator', -+- 60 'Trk::RungeKuttaPropagator' ] -+- 61 -+- 62 # give all propagators instance names -+- 63 self.__thisEx__.PropagatorInstances = [ 'StraighLinePropagatorFCE', -+- 64 'HelixPropagatorFCE', -+- 65 'RungeKuttaPropagatorFCE' ] -+- 66 -+- 67 # set sticky configureation to false, only basic configured extrapolator has true -+- 68 self.__thisEx__.StickyConfiguration = False -+- 69 -+- 70 # set the navigator service and instance name -+- 71 self.__thisEx__.Navigator = navsetup.__svcname__ -+- 72 self.__thisEx__.NavigatorInstance = navsetup.__instname__ -+- 73 -+- 74 if updsetup.__applyUpdates__ == True: -+- 75 # set the updator service and instance name -+- 76 self.__thisEx__.ApplyMaterialEffects = True -+- 77 self.__thisEx__.MaterialEffectsUpdator = updsetup.__svcname__ -+- 78 self.__thisEx__.MaterialEffectsUpdatorInstance = updsetup.__instname__ -+- 79 else : -+- 80 # set the updator service and instance name -+- 81 self.__thisEx__.ApplyMaterialEffects = False -+- 82 -+- 83 self.__argslength__ = len(args) -+- 84 if self.__argslength__ > 0: -+- 85 if self.__argslength__[0] == 'low': -+- 86 self.__thisEx__.SearchLevelClosestParameters = 10 -+- 87 elif self.__argslength__[0] == 'medium': -+- 88 self.__thisEx__.SearchLevelClosestParameters = 0 -+- 89 elif self.__argslength__[0] == 'high': -+- 90 self.__thisEx__.SearchLevelClosestParameters = 1 -+- 91 -+- 92 # Output method for FullyConfiguredExtrapolator -+- 93 A def printInfo(self): -+- 94 print '***** FullyConfiguredExtrapolator ( makes use of all Propagators ) ***************' -+- 95 print '* - ToolName: '+self.__toolname__ -+- 96 print '* --------------------------------------------------------------------------------' -+- 97 print '* - Navigator: '+self.__navinstname__ -+- 98 print '* - Updator: '+self.__updinstname__ -+- 99 if self.__argslength__>0: -+- 100 print '* - SearchLevel: '+self.__args__[0] -+- 101 print '**********************************************************************************' -+- 102 -+- 103 Athena INFO end of "TrkExTools/FullyConfiguredExtrapolator.py" -+- 51 A theExtrapolator = FullyConfiguredExtrapolator(extrapolatorInstance, theNavigator, theUpdator, []) ApplicationMgr INFO Successfully loaded modules: TrkExSlPropagator, TrkExHelixPropagator, TrkExRungeKuttaPropagator -+- 52 A theExtrapolator.printInfo() ***** FullyConfiguredExtrapolator ( makes use of all Propagators ) *************** * - ToolName: ToolSvc.ConfiguredExtrapolatorATLAS * -------------------------------------------------------------------------------- * - Navigator: AtlasNavigator * - Updator: AtlasUpdator ********************************************************************************** -+- 53 -+- 54 A extrapolatorService = Service ( 'ToolSvc.ConfiguredExtrapolatorATLAS' ) -+- 55 A extrapolatorService.SearchLevelClosestParameters = 0 -+- 56 -+- 57 # End of Extrapolator Setup -+- 58 ######################################################################################################## Athena INFO end of "TrkExTools/ConfiguredExtrapolatorATLAS.py" -+- 20 -+- 21 #theRetrieveExTestAlg = Service ('ExtrapolatorTest') -+- 22 #theRetrieveExTestAlg.ExtrapolatorInstance = 'TrkParticleCreationExtrapolator' -+- 23 -+- 24 #include ('TrkExTools/BasicExtrapolatorCTB2004_RungeKutta.py') -+- 25 #include ('TrkExTools/BasicExtrapolatorATLAS_StraightLine.py') -+- 26 #include ('TrkExTools/FullyConfiguredExtrapolator.py') -+- 27 #FullyConfiguredExtrapolator('TrkParticleCreationExtrapolator') -+- 28 -+- 29 -+- 30 -+- 31 -+- 32 -+- 33 -+- 34 -+- 35 -+- 36 -+- 37 -+- 38 -+- 39 -+- 40 -+- 41 # doRungeKutta = False -+- 42 # doStraightLine = not doRungeKutta -+- 43 # -+- 44 # if doRungeKutta: -+- 45 # theApp.DLLs += [ 'TrkExRungeKuttaPropagator' ] -+- 46 # TrkParticleCreationExtrapolator.Propagator = 'Trk::RungeKuttaPropagator' -+- 47 # if doStraightLine: -+- 48 # theApp.DLLs += [ 'TrkExSlPropagator' ] -+- 49 # TrkParticleCreationExtrapolator.Propagator = 'Trk::StraightLinePropagator' -+- 50 # -+- 51 # TrkParticleCreationExtrapolator.PropagatorInstance = 'ThePropagator' -+- 52 # -+- 53 # # configure the extrapolator -+- 54 # TrkParticleCreationExtrapolator.UseConfiguredBfieldSvc = True -+- 55 # TrkParticleCreationExtrapolator.BfieldSvc = 'Trk::TrkExBfieldSvc' -+- 56 # TrkParticleCreationExtrapolator.BfieldSvcInstance = 'TheBfieldSvc' -+- 57 # -+- 58 # TheBfieldSvc = Service( 'ToolSvc.TheBfieldSvc' ) -+- 59 # set the mode of the BfieldSvc -+- 60 # The TrkExBfieldSvc can be driven for the moment in following modes: -+- 61 # - 0 : no magnetic field -+- 62 # - 1 : constant magnetic field user defined -+- 63 # - 2 : constant ATLAS magnetic field (field taken at 0., 0., 0.) -+- 64 # - 3 : simplified solenoidal magnetic field map -+- 65 # - 4 : simplified 3d grid magnetic field map -+- 66 # - 5 : direct access to ATLAS Athena MagFieldSvc -+- 67 # -+- 68 # In addition, for mode 0,1,2 the volume can, for mode 4&5, the volume has to be given -+- 69 # The Volumes can be specified by MagneticFieldVolume -+- 70 # - 1 CylinderVolume (rInner, rOuter, halflengthZ) -+- 71 # - 2 BoxVolume (halflengthX, halflengthY, halflengthZ) -+- 72 # -+- 73 # TheBfieldSvc.MagneticFieldService = 'MagFieldAthenaSvc' -+- 74 # -+- 75 # # runge kutta needs 5 -+- 76 # # straight line needs 0 -+- 77 # if doRungeKutta: -+- 78 # TheBfieldSvc.MagneticFieldMode = 5 -+- 79 # if doStraightLine: -+- 80 # TheBfieldSvc.MagneticFieldMode = 0 -+- 81 # -+- 82 # if TheBfieldSvc.MagneticFieldMode > 2: -+- 83 # theApp.Dlls += [ 'BFieldAth' ] -+- 84 # theApp.ExtSvc += [ 'MagFieldAthenaSvc' ] -+- 85 # MagFieldAthenaSvc = Service( 'MagFieldAthenaSvc' ) -+- 86 # MagFieldAthenaSvc.NameOfTheBfieldFile = 'bmagatlas02.data' -+- 87 # -+- 88 # # configure the SurfaceSvc -+- 89 # TrkParticleCreationExtrapolator.UseConfiguredSurfaceService = True -+- 90 # if TrkParticleCreationExtrapolator.UseConfiguredSurfaceService : -+- 91 # TrkParticleCreationExtrapolator.SurfaceService = 'Trk::TrkExSurfaceSvc' -+- 92 # TrkParticleCreationExtrapolator.SurfaceServiceInstance = 'ParticleCreatorToolSurfaceSvc' -+- 93 # ParticleCreatorToolSurfaceSvc = Service( 'ToolSvc.ParticleCreatorToolSurfaceSvc' ) -+- 94 # # switches for simplified detector geometry -+- 95 # ParticleCreatorToolSurfaceSvc.UseSimplifiedGeometry = False -+- 96 # ToolSvc.TrkGeometryBuiler.PixelDetector = False -+- 97 # ToolSvc.TrkGeometryBuiler.SCT_Detector = False -+- 98 # ToolSvc.TrkGeometryBuiler.TRT_Detector = False -+- 99 Athena INFO end of "TrkParticleCreator/ParticleCreatorTool_jobOptions.py" Athena INFO end of "InDetParticleCreation/InDetParticleCreation_jobOptions.py" -+- 115 A if makeBothTrackParticles: -+- 116 A print "Creating second Track Particle creation" Creating second Track Particle creation -+- 117 A theApp.TopAlg += [ "InDet::ParticleCreator/ParticleCreatorXK" ] -+- 118 # Input -+- 119 A ParticleCreatorXK = Algorithm( "ParticleCreatorXK" ) -+- 120 A ParticleCreatorXK.TracksName="ConvertedXKalmanTracks" -+- 121 A ParticleCreatorXK.VxCandidatesPrimaryName="VxPrimaryCandidateXK" -+- 122 # Output -+- 123 A ParticleCreatorXK.TrackParticlesOutputName="TrackParticleCandidateXK" -+- 124 A ParticleCreatorXK.ParticleCreatorToolName="Trk::ParticleCreatorTool" -+- 125 A ParticleCreatorXK.ParticleCreatorToolInstanceName="InDetParticleCreatorTool" -+- 126 A if doTruth: -+- 127 A include ( "InDetTruthAlgs/InDetTrackParticleTruth.py" ) Athena INFO including file "InDetTruthAlgs/InDetTrackParticleTruth.py" -+- 0 -+- 1 # TrackParticle Truth -+- 2 A theApp.Dlls += ["InDetTruthAlgs"] ApplicationMgr INFO Successfully loaded modules: -+- 3 A theApp.TopAlg += ["TrackParticleTruthMaker"] -+- 4 A TrackParticleTruthMaker = Algorithm( "TrackParticleTruthMaker" ) -+- 5 A TrackParticleTruthMaker.trackParticlesName = "TrackParticleCandidate" -+- 6 A TrackParticleTruthMaker.simTrackMapName = "TRACK_TRACKT_Map" -+- 7 A TrackParticleTruthMaker.trackParticleTruthCollection = "TrackParticleTruthCollection" -+- 8 #TrackParticleTruthMaker.OutputLevel = 1 -+- 9 Athena INFO end of "InDetTruthAlgs/InDetTrackParticleTruth.py" -+- 128 # if makeBothTrackParticles: -+- 129 # theApp.TopAlg += ["TrackParticleTruthMaker/TrackParticleTruthMakerXK"] -+- 130 # TrackParticleTruthMaker = Algorithm( "TrackParticleTruthMakerXK" ) -+- 131 # TrackParticleTruthMaker.trackParticlesName = "TrackParticleCandidateXK" -+- 132 # TrackParticleTruthMaker.simTrackMapName = "TRACK_TRACKT_Map" -+- 133 # TrackParticleTruthMaker.trackParticleTruthCollection = "TrackParticleTruthCollectionXK" -+- 134 -+- 135 # +++++++++++++++++++ end of InDetRec_jobOptions.py -+- 136 Athena INFO end of "InDetRecExample/InDetRec_jobOptions.py" -+- 61 -+- 62 -+- 63 -+- 64 A if GlobalFlags.InputFormat.is_bytestream() and DetFlags.readRDOBS.Calo_on(): -+- 65 theApp.Dlls += [ "LArByteStream"] -+- 66 # jobOption fragment for Accessing LArRawChannel from ByteStream -+- 67 #include ("LArByteStream/LArCellIDC_FromBS_jobOptions.py") -+- 68 #FIXME should be fixed in the fragment -+- 69 theApp.Dlls += [ "LArByteStream"] -+- 70 ToolSvc = Service( "ToolSvc" ) -+- 71 ToolSvc.LArRoI_Map.Print=FALSE -+- 72 ToolSvc.LArRodDecoder.LArCell=TRUE -+- 73 # LArCell Correction Tools -+- 74 if GlobalFlags.DataSource.is_geant3(): -+- 75 ToolSvc.LArRodDecoder.CellCorrections=["LArG3Escale/larg3escaleBS"] -+- 76 ToolSvc.LArRodDecoder.LArCellEthreshold = -10.030; # threshold in GeV -+- 77 # ToolSvc.larg3escaleBS.FromHit= false; -+- 78 -+- 79 theApp.Dlls += [ "LArRawUtils", "LArROD" ] -+- 80 theApp.Dlls += [ "LArCellRec" ] -+- 81 -+- 82 theApp.Dlls += [ "TileRecAlgs" ] -+- 83 include( "TileByteStream/TileCellIDC_FromBS_jobOptions.py" ) -+- 84 -+- 85 # if (not GlobalFlags.InputFormat.is_bytestream()) and DetFlags.makeRIO.Calo_on(): -+- 86 A if DetFlags.makeRIO.Calo_on() and not readESD : -+- 87 -+- 88 # set sensible defaults depending of global flags -+- 89 include( "CaloRec/CaloCellMaker_config.py" ) -+- 90 -+- 91 #defaults that can be overriden -+- 92 # (best way id to do include ( "CaloRec/CaloCellMaker_config.py" ) in one's myTopOptions.py) -+- 93 #CaloCellMakerFlags.makeCellFromRawChanne -+- 94 #CaloCellMakerFlags.makeCellFromDigit -+- 95 #CaloCellMakerFlags.doLArHitToCellDirect -+- 96 #CaloCellMakerFlags.doTileHitToRawChannelDirect -+- 97 -+- 98 include( "CaloRec/CaloCellMaker_jobOptions.py" ) -+- 99 -+- 100 -+- 101 # -+- 102 # functionality : Calorimeter combined clustering -+- 103 # -+- 104 A if doCaloCluster and ( readESD or DetFlags.haveRIO.Calo_on() ) : -+- 105 include( "CaloRec/CaloCluster_jobOptions.py" ) -+- 106 -+- 107 else: -+- 108 A doCaloCluster=False -+- 109 # -+- 110 # functionality : LAr Calorimeter clustering -+- 111 # -+- 112 A if doEmCluster and ( readESD or DetFlags.haveRIO.LAr_on() ) : -+- 113 include( "LArClusterRec/LArCluster_jobOptions.py" ) -+- 114 -+- 115 # introduce multisize possibility -+- 116 include( "LArClusterRec/LArCluster_MultiSize_jobOptions.py" ) -+- 117 -+- 118 else: -+- 119 A doEmCluster=False -+- 120 -+- 121 # -+- 122 # functionality : Topological clustering -+- 123 # -+- 124 A if doCaloTopoCluster and ( readESD or DetFlags.haveRIO.Calo_on() ): -+- 125 include( "CaloRec/CaloTopoCluster_jobOptions.py" ) -+- 126 include( "CaloRec/EMTopoCluster_jobOptions.py" ) -+- 127 else: -+- 128 A doCaloTopoCluster=False -+- 129 -+- 130 # -+- 131 # functionality : Muon RIO reconstruction -+- 132 # -+- 133 # -+- 134 -+- 135 A if DetFlags.makeRIO.Muon_on(): -+- 136 if GlobalFlags.InputFormat.is_zebra(): -+- 137 include ("MuonDigitZebraCnv/jobOptions_G3MuonDigit.py") -+- 138 include ("CscClusterization/G3CscClusterOptions.py") -+- 139 else: -+- 140 if GlobalFlags.InputFormat.is_bytestream(): -+- 141 theApp.Dlls += [ "MuonByteStream" ] -+- 142 if DetFlags.readRDOPool.Muon_on() or DetFlags.readRDOBS.Muon_on() : -+- 143 include( "MuonByteStreamCnvTest/MuonRdoDigit_jobOptions.py" ) -+- 144 include( "MuonByteStreamCnvTest/jobOptions_MuonRDOToDigit.py" ) -+- 145 include( "CscClusterization/G4CscClusterOptions.py" ) -+- 146 include( "RpcClusterization/RpcClusterJobOptions.py" ) -+- 147 include( "MuonPrepDataAlgs/MuonPrepData_jobOptions.py" ) -+- 148 -+- 149 -+- 150 # filter TackRecordCollection (true particles in muon spectrometer) -+- 151 if doTruth and not readESD and (DetDescrVersion=="Rome-Initial" or DetDescrVersion=="Rome-Final" ): -+- 152 include ("MCTruthAlgs/TrackRecordFilter_jobOptions.py") -+- 153 -+- 154 -+- 155 A if not DetFlags.readRDOPool.Muon_on() and not DetFlags.readRDOPool.Muon_on() and doAODLVL1: -+- 156 A print "%sNING I cannot do AODLVL1 if muon RDO not available. I switch off AODLVL1" % "WAR" WARNING I cannot do AODLVL1 if muon RDO not available. I switch off AODLVL1 -+- 157 A doAODLVL1=False -+- 158 -+- 159 -+- 160 -+- 161 # -+- 162 # functionality : Muonbox muon reconstruction -+- 163 # -+- 164 # -+- 165 A if doMuonbox and DetFlags.detdescr.Muon_on() : -+- 166 if GlobalFlags.DataSource.is_geant3(): -+- 167 include ("MuonboyAth/MuonboyG3_jobOptions.py") -+- 168 else: -+- 169 include ("MuonboyAth/MuonboyG4dry_jobOptions.py") -+- 170 else: -+- 171 A doMuonbox=False -+- 172 -+- 173 -+- 174 -+- 175 # -+- 176 # functionality : Moore muon reconstruction -+- 177 # -+- 178 A if doMoore and DetFlags.haveRIO.Muon_on() : -+- 179 if GlobalFlags.DataSource.is_geant3(): -+- 180 include ("MooAlgs/Moore_RecEx_jobOptions_G3.py") -+- 181 #old DC1 data -+- 182 # MooMdtDigitToHitSvc.max_drift_time = 500 -+- 183 # redigitised data -+- 184 MooMdtDigitToHitSvc.max_drift_time = 700 -+- 185 else: -+- 186 include ("MooAlgs/Moore_RecEx_jobOptions_G4.py") -+- 187 include ("MooTrackCnv/MooCnvAlgs_jobOption.py") -+- 188 -+- 189 -+- 190 else: -+- 191 A doMoore = False -+- 192 Athena INFO end of "RecExCommon/SystemRec_config.py" -+- 357 -+- 358 -+- 359 # -+- 360 # Combined reconstruction -+- 361 # -+- 362 A include ("RecExCommon/CombinedRec_config.py") Athena INFO including file "RecExCommon/CombinedRec_config.py" -+- 0 -+- 1 # -+- 2 # functionality : photon Conversion -+- 3 # -+- 4 A if doConversion and ( DetFlags.haveRIO.ID_on() or readESD) : -+- 5 A include( "ConversionAlgs/Conversion_jobOptions.py" ) Athena INFO including file "ConversionAlgs/Conversion_jobOptions.py" -+- 0 # -+- 1 # Conversion Finder jobOptions file -+- 2 # -+- 3 A theApp.Dlls += ["ConversionAlgs"] ApplicationMgr INFO Successfully loaded modules: ConversionAlgs -+- 4 A theApp.TopAlg += [ "ConversionFinder" ] -+- 5 #........................................................................................ -+- 6 # ConversionFinder options -+- 7 # -+- 8 A ConversionFinder = Algorithm( "ConversionFinder" ) -+- 9 A ConversionFinder.TracksName = "TrackParticleCandidate" # Track collection key. -+- 10 A ConversionFinder.ConversionsOutputName = "Conversions" # Output conversion collections key. -+- 11 A ConversionFinder.SaveTruth = TRUE # Save truth information. -+- 12 A ConversionFinder.MinTR = 0. # Min fraction of transition radiation hits -+- 13 # where both tracks must satisy this. -+- 14 A ConversionFinder.OneTrackMinTR = 0.1 # Min fraction of transition radiation hits -+- 15 # where only one track must satisfy this. -+- 16 A ConversionFinder.MinPt = 0.5 * GeV # Min Pt of track -+- 17 A ConversionFinder.MaxDist = 10. * mm # Max distance between tracks at radius -+- 18 # of first hit. !NOT IMPLEMENTED! -+- 19 A ConversionFinder.MaxDeltaPhi = 0.5 * radian # Max difference in phi of the two tracks -+- 20 A ConversionFinder.MaxDeltaCotTheta = 1. # Max difference in cot(theta) of the two tracks -+- 21 A ConversionFinder.MinSumPt = 0. * GeV # Min sum pt of track pair -+- 22 A ConversionFinder.Chi2cut = 10000. # Max Chi2 -+- 23 A ConversionFinder.PointingConstraint = 0 # Pointing constraint to primary vertex: -+- 24 # 0: No pointing constraint -+- 25 # 1: 2D pointing constraint -+- 26 # 2: 3D pointing constraint -+- 27 # It is intended that the fitted primary vertex from the VertexPrimary -+- 28 # algorithm can be selected for use in the pointing constraint but this -+- 29 # is not implemented yet. For now a fixed primary vertex can be specified. -+- 30 -+- 31 # Fixed primary vertex. Only used if pointing constraint selected. -+- 32 A ConversionFinder.PrimaryVertexX = 0. -+- 33 A ConversionFinder.PrimaryVertexY = 0. -+- 34 A ConversionFinder.PrimaryVertexZ = 0. -+- 35 A ConversionFinder.PrimaryVertexCovXX = 7.84E-4 * mm2 -+- 36 A ConversionFinder.PrimaryVertexCovYY = 7.84E-4 * mm2 -+- 37 A ConversionFinder.PrimaryVertexCovZZ = 7.84E-4 * mm2 -+- 38 A ConversionFinder.PrimaryVertexCovXY = 0. -+- 39 A ConversionFinder.PrimaryVertexCovXZ = 0. -+- 40 A ConversionFinder.PrimaryVertexCovYZ = 0. Athena INFO end of "ConversionAlgs/Conversion_jobOptions.py" -+- 6 A ConversionFinder.SaveTruth = doTruth -+- 7 A if DetDescrVersion=="Rome-Initial" or DetDescrVersion=="Rome-Final" : -+- 8 ConversionFinder.McEventName = "TruthEvent" -+- 9 -+- 10 -+- 11 else: -+- 12 doConversion=False -+- 13 -+- 14 -+- 15 # -+- 16 # functionality : CaloTower protojets + preclustering + KT algorithm + CombinedJetAlg -+- 17 -+- 18 -+- 19 A if doJetRec and ( DetFlags.haveRIO.Calo_on() or readESD) : -+- 20 # Tower ProtoJet Reconstruction -+- 21 # make the tower before hand if not already done -+- 22 if not doCaloCluster: -+- 23 include( "CaloRec/CaloCombinedTower_jobOptions.py" ) -+- 24 include( "JetRec/ConeTowerJet_jobOptions.py" ) -+- 25 include( "JetRec/Cone4TowerJet_jobOptions.py" ) -+- 26 include( "JetRec/KtTowerJet_jobOptions.py" ) -+- 27 -+- 28 # Truth Jet Reconstrution -+- 29 if doTruth: -+- 30 # Kt Jet Algorithm using TruthProtoJet -+- 31 include( "JetRec/KtTruthJet_jobOptions.py" ) -+- 32 -+- 33 # Cone Jet Algorithm using TruthProtoJet -+- 34 include( "JetRec/ConeTruthJet_jobOptions.py" ) -+- 35 include( "JetRec/Cone4TruthJet_jobOptions.py" ) -+- 36 else: -+- 37 A doJetRec=False -+- 38 -+- 39 -+- 40 -+- 41 # -+- 42 # functionality : b tagging -+- 43 # -+- 44 A if doBtagging and ( readESD or DetFlags.haveRIO.ID_on() ) : -+- 45 A theApp.Dlls += [ "ConversionAlgs" ] ApplicationMgr INFO Successfully loaded modules: -+- 46 A include( "VKalVrtAthena/VKalVrtAthena.py" ) Athena INFO including file "VKalVrtAthena/VKalVrtAthena.py" -+- 0 #===================================================== -+- 1 # Primary vertex position reconstruction with VKalVrt -+- 2 #====================================================== -+- 3 A theApp.Dlls += [ "VKalVrtAthena" ] ApplicationMgr INFO Successfully loaded modules: VKalVrtAthena -+- 4 A theApp.TopAlg += [ "VKalVrtAthena::VKalVrtPrim/VKalVrtPrim" ] -+- 5 # -+- 6 #--- Source of input tracks for VKalVrt -+- 7 # -+- 8 A VKalVrtPrim = Algorithm( "VKalVrtPrim" ) -+- 9 A VKalVrtPrim.TrackLocation = "ConvertedXKalmanTracks" # xKalman tracks -+- 10 #VKalVrtPrim.TrackLocation = "ConvertedIPatTracks" # xKalman tracks -+- 11 #VKalVrtPrim.TrackLocation = "Tracks_xKalman00" # xKalman tracks -+- 12 #VKalVrtPrim.TrackLocation = "iPatSimpleTracks" # iPatRec tracks -+- 13 A VKalVrtPrim.OutputLocation = "VKalPrimVrtCollection" # output collection -+- 14 #VKalVrtPrim.OutputLevel = 2 Athena INFO end of "VKalVrtAthena/VKalVrtAthena.py" -+- 47 A include( "SimpleBTagAthena/SimpleBTagAthena.py" ) Athena INFO including file "SimpleBTagAthena/SimpleBTagAthena.py" -+- 0 #===================================================== -+- 1 # ATHENA B-tag -+- 2 #====================================================== -+- 3 ###include( "AthenaSealSvc/AthenaSealSvc_joboptions.py" ) -+- 4 ###include( "SimpleBTagAthena/SimpleBTagAthenaDict_joboptions.py" ) -+- 5 # -+- 6 # to have an access to MC data - generally not needed in RecExCommon -+- 7 # include("GeneratorObjectsAthenaPool/GeneratorObjectsAthenaPool_joboptions.py") -+- 8 A theApp.Dlls += [ "SimpleBTagAthena" ] ApplicationMgr INFO Successfully loaded modules: SimpleBTagAthena -+- 9 A theApp.TopAlg += [ "SimpleBTagAthena::BTagAthenaIni/BTagAthenaKt" ] -+- 10 A BTagAthenaKt = Algorithm( "BTagAthenaKt" ) -+- 11 # -+- 12 # Primary vertex location -+- 13 # -+- 14 A BTagAthenaKt.PrimVrtLocation = "VKalPrimVrtCollection" # VKalVrt results -+- 15 # -+- 16 # Jet location -+- 17 # -+- 18 #BTagAthenaKt.JetLocation ="/Event/AtlfastJets" -+- 19 #BTagAthenaKt.JetLocation ="PartonJets" # Particle level jets -+- 20 A BTagAthenaKt.JetLocation ="KtTowerJets" -+- 21 #BTagAthenaKt.JetLocation ="ConeTowerJets" -+- 22 #BTagAthenaKt.JetLocation ="ConeTruthJets" -+- 23 #BTagAthenaKt.JetLocation ="KtTruthJets" -+- 24 #BTagAthenaKt.JetLocation ="ConeParticleJets" -+- 25 #BTagAthenaKt.JetLocation ="KtParticleJets" -+- 26 # -+- 27 # Tracks location -+- 28 # -+- 29 #BTagAthenaKt.TrackLocation ="Tracks_xKalman00" # xKalman tracks -+- 30 #BTagAthenaKt.TrackLocation = "iPatSimpleTracks" # iPatRec tracks -+- 31 A BTagAthenaKt.TrackLocation ="ConvertedXKalmanTracks" # xKalman tracks -+- 32 #BTagAthenaKt.TrackLocation = "ConvertedIPatTracks" # iPatRec tracks -+- 33 # -+- 34 # BTag options -+- 35 # -+- 36 A BTagAthenaKt.BTagConeSize = 0.4 -+- 37 A BTagAthenaKt.SharedTrkFlag = 0 # =1 -> track to closest jet -+- 38 A BTagAthenaKt.BTagOutputLocation = "SimpleBTagKt" -+- 39 A BTagAthenaKt.CaliAlgName = "SubBTagCaliKt" -+- 40 #BTagAthenaKt.OutputLevel = 2 -+- 41 # -+- 42 # For debugging -+- 43 #SubBTagCaliKt = Algorithm( "SubBTagCaliKt" ) -+- 44 #SubBTagCaliKt.OutputLevel = 2 -+- 45 #======================================================================= -+- 46 # For second jet type -+- 47 #======================================================================= -+- 48 A theApp.TopAlg += [ "SimpleBTagAthena::BTagAthenaIni/BTagAthenaCone" ] -+- 49 A BTagAthenaCone = Algorithm( "BTagAthenaCone" ) -+- 50 # -+- 51 # Primary vertex location -+- 52 # -+- 53 A BTagAthenaCone.PrimVrtLocation = "VKalPrimVrtCollection" # VKalVrt results -+- 54 # -+- 55 # Jet location -+- 56 # -+- 57 A BTagAthenaCone.JetLocation ="ConeTowerJets" -+- 58 # -+- 59 # Tracks location -+- 60 # -+- 61 A BTagAthenaCone.TrackLocation ="ConvertedXKalmanTracks" # xKalman tracks -+- 62 #BTagAthenaCone.TrackLocation = "ConvertedIPatTracks" # iPatRec tracks -+- 63 # -+- 64 # BTag options -+- 65 # -+- 66 A BTagAthenaCone.BTagConeSize = 0.4 -+- 67 A BTagAthenaCone.SharedTrkFlag = 0 # =1 -> track to closest jet -+- 68 A BTagAthenaCone.BTagOutputLocation = "SimpleBTagCone" -+- 69 A BTagAthenaCone.CaliAlgName = "SubBTagCaliCone" -+- 70 #BTagAthenaCone.OutputLevel = 2 -+- 71 # -+- 72 # For debugging -+- 73 #SubBTagCaliCone = Algorithm( "SubBTagCaliCone" ) -+- 74 #SubBTagCaliCone.OutputLevel = 2 -+- 75 #======================================================================= -+- 76 # For third jet type -+- 77 #======================================================================= -+- 78 A theApp.TopAlg += [ "SimpleBTagAthena::BTagAthenaIni/BTagAthenaAtlf" ] -+- 79 A BTagAthenaAtlf = Algorithm( "BTagAthenaAtlf" ) -+- 80 # -+- 81 # Primary vertex location -+- 82 # -+- 83 A BTagAthenaAtlf.PrimVrtLocation = "VKalPrimVrtCollection" # VKalVrt results -+- 84 # -+- 85 # Jet location -+- 86 # -+- 87 A BTagAthenaAtlf.JetLocation ="/Event/AtlfastJets" -+- 88 # -+- 89 # Tracks location -+- 90 # -+- 91 A BTagAthenaAtlf.TrackLocation ="ConvertedXKalmanTracks" # xKalman tracks -+- 92 #BTagAthenaAtlf.TrackLocation = "ConvertedIPatTracks" # iPatRec tracks -+- 93 # -+- 94 # BTag options -+- 95 # -+- 96 A BTagAthenaAtlf.BTagConeSize = 0.4 -+- 97 A BTagAthenaAtlf.SharedTrkFlag = 0 # =1 -> track to closest jet -+- 98 A BTagAthenaAtlf.BTagOutputLocation = "SimpleBTagAtlf" -+- 99 A BTagAthenaAtlf.CaliAlgName = "SubBTagCaliAtlf" -+- 100 #BTagAthenaAtlf.OutputLevel = 2 -+- 101 # -+- 102 # For debugging -+- 103 #SubBTagCaliAtlf = Algorithm( "SubBTagCaliAtlf" ) -+- 104 #SubBTagCaliAtlf.OutputLevel = 2 Athena INFO end of "SimpleBTagAthena/SimpleBTagAthena.py" -+- 48 A include( "BTagAdapterAlgs/BTagAdapter.py" ) Athena INFO including file "BTagAdapterAlgs/BTagAdapter.py" -+- 0 # BTagAdapter: adapts SimpleBTag to BTaggingID -+- 1 # -+- 2 # to have an access to MC data - generally not needed in RecExCommon -+- 3 # include("GeneratorObjectsAthenaPool/GeneratorObjectsAthenaPool_joboptions.py") -+- 4 A theApp.Dlls += [ "BTagAdapterAlgs" ] ApplicationMgr INFO Successfully loaded modules: BTagAdapterAlgs -+- 5 A theApp.TopAlg += [ "BTagAdapter" ] -+- 6 # -+- 7 A BTagAdapter = Algorithm( "BTagAdapter" ) -+- 8 A BTagAdapter.SimpleBTagCollLocation="SimpleBTagCone" -+- 9 A BTagAdapter.buildAOD=True Athena INFO end of "BTagAdapterAlgs/BTagAdapter.py" -+- 49 A include( "VrtSecInclusive/VrtSecInclusive.py" ) Athena INFO including file "VrtSecInclusive/VrtSecInclusive.py" -+- 0 #=========================================================== -+- 1 # Inclusive secondary vertices reconstruction with VKalVrt -+- 2 #=========================================================== -+- 3 A theApp.Dlls += [ "VKalVrtFitSvc" ] ObjectManager WARNING Factory for class:VKalVrtFitSvc already exists. ApplicationMgr INFO Successfully loaded modules: VKalVrtFitSvc -+- 4 A theApp.Dlls += [ "VrtSecInclusive" ] ApplicationMgr INFO Successfully loaded modules: VrtSecInclusive -+- 5 # -+- 6 #--- Source of input tracks for secondary vertices search -+- 7 # -+- 8 A theApp.TopAlg += [ "VKalVrtAthena::VrtSecInclusive/VrtSecInclusive" ] -+- 9 A VrtSecInclusive = Algorithm( "VrtSecInclusive" ) -+- 10 #VrtSecInclusive.TrackLocation = "Tracks_xKalman00" # xKalman tracks -+- 11 #VrtSecInclusive.TrackLocation = "iPatSimpleTracks" # xPatRec tracks -+- 12 A VrtSecInclusive.TrackLocation = "ConvertedXKalmanTracks" # xKalman tracks -+- 13 #VrtSecInclusive.TrackLocation = "ConvertedIPatTracks" # xKalman tracks -+- 14 #VrtSecInclusive.OutputLevel = 2 -+- 15 A VrtSecInclusive.SecVrtLocation = "VKalSecVrtCollection" # Secondary vertices -+- 16 A VrtSecInclusive.TrkChi2Cut = 3. -+- 17 A VrtSecInclusive.BeamPosition = [0.,0.] -+- 18 A VrtSecInclusive.TrkPtCut = 500. -+- 19 A VrtSecInclusive.DstFromBeamCut = 0.1 -+- 20 A VrtSecInclusive.SelVrtChi2Cut = 4.5 Athena INFO end of "VrtSecInclusive/VrtSecInclusive.py" -+- 50 else: -+- 51 doBtagging=False -+- 52 -+- 53 -+- 54 -+- 55 # -+- 56 # functionality : tau identification -+- 57 # -+- 58 A if doTauRec and ( readESD or ( DetFlags.haveRIO.ID_on() and doCaloCluster ) ) : -+- 59 include( "tauRec/tauRec_jobOptions.py" ) -+- 60 else: -+- 61 A doTauRec = False -+- 62 -+- 63 # -+- 64 # functionality : electron photon identification -+- 65 # -+- 66 # -+- 67 A if doEgamma and ( readESD or ( DetFlags.haveRIO.ID_on() and doEmCluster ) ) : -+- 68 include ("egammaRec/egammaRec_jobOptions.py") -+- 69 include( "egammaRec/egammaSofteRec_jobOptions.py" ) -+- 70 else: -+- 71 A doEgamma = False -+- 72 -+- 73 -+- 74 -+- 75 -+- 76 # -+- 77 # functionality : Tile muon identification -+- 78 # -+- 79 A if doTileMuID and (readESD or ( DetFlags.haveRIO.ID_on() and DetFlags.haveRIO.Tile_on() ) ) : -+- 80 include ( "TileMuId/TileMuId_jobOptions.py" ) -+- 81 else: -+- 82 A doTileMuID=False -+- 83 -+- 84 -+- 85 -+- 86 # -+- 87 # functionality : muonIdentification -+- 88 # -+- 89 A if doMuonID and ( readESD or ( DetFlags.haveRIO.ID_on() and doMoore and doiPatRec ) ) : -+- 90 include( "MuidAlgs/MuidAlgs_jobOptions.py" ) -+- 91 include( "MuidParticleCreator/MuidParticleCreator_jobOptions.py" ) -+- 92 include( "MuidParticleCreator/MuidParticleCreatorLowPt_jobOptions.py" ) -+- 93 #FIXME WARNING should be changed to DEBUG in the code -+- 94 MooreToTrackTool = Algorithm("ToolSvc.Trk::MooreToTrackTool") -+- 95 MooreToTrackTool.OutputLevel=FATAL -+- 96 MuidToTrackTool = Algorithm("ToolSvc.Trk::MuidToTrackTool") -+- 97 MuidToTrackTool.OutputLevel=FATAL -+- 98 -+- 99 else: -+- 100 -+- 101 A doMuonID=False -+- 102 -+- 103 -+- 104 -+- 105 # -+- 106 # functionality : muonIdentification -+- 107 # -+- 108 -+- 109 A if doStaco and ( readESD or ( DetFlags.haveRIO.ID_on() and doMuonbox ) ) : -+- 110 include( "STACO/Staco_jobOptions.py" ) -+- 111 else: -+- 112 A doStaco=False -+- 113 -+- 114 -+- 115 # -+- 116 # functionality : Missing Et -+- 117 # -+- 118 A if doMissingET and ( readESD or DetFlags.haveRIO.Calo_on() ) : -+- 119 include( "MissingET/MissingET_jobOptions.py" ) -+- 120 else: -+- 121 A doMissingET=False -+- 122 -+- 123 -+- 124 # -+- 125 # functionality : energy flow -+- 126 # -+- 127 A if doEFlow and ( readESD or ( DetFlags.haveRIO.ID_on() and DetFlags.haveRIO.Calo_allOn() ) ) : -+- 128 include( "eflowRec/eflowRec_jobOptions.py" ) -+- 129 else: -+- 130 A doEFlow=False -+- 131 -+- 132 # -+- 133 # functionality : Jet-finding on eflowObjects -+- 134 A if doEFlowJet and ( readESD or doEFlow ) : -+- 135 include ("JetRec/ConeJetEflow_jobOptions.py") -+- 136 else: -+- 137 A doEFlowJet=False Athena INFO end of "RecExCommon/CombinedRec_config.py" -+- 363 -+- 364 -+- 365 -+- 366 # -+- 367 # Trigger simulation -+- 368 A if doTrigger or doAODLVL1 : -+- 369 include ("RecExCommon/Trigger_config.py") -+- 370 -+- 371 -+- 372 -+- 373 ################################################################" -+- 374 # -+- 375 # possible user code and property modifiers should come here -+- 376 # could be several algorithms -+- 377 A for UserAlg in UserAlgs: -+- 378 include (UserAlg) -+- 379 -+- 380 -+- 381 # CBNT_Athena.Members specify the ntuple block corresponding to a given ntuple -+- 382 # Comment CBNT_Athena.Members line to remove a ntuple block -+- 383 # It is also possible to disable a ntuple block by -+- 384 # disabling the corresponding -+- 385 # CBNT_Athena.Members with the line: .Enable = False -+- 386 # The ntuple specification is in file CBNT_jobOptions.py -+- 387 # and can be modified by adding properties below -+- 388 # -+- 389 # ----- CBNT_Athena algorithm -+- 390 # -+- 391 -+- 392 -+- 393 A if doWriteAOD: -+- 394 #FIXME should not be there -+- 395 theApp.Dlls += ["CaloUtils"] -+- 396 include( "ParticleEventAthenaPool/AOD_Builder_jobOptions.py") -+- 397 -+- 398 -+- 399 A if doCBNT: -+- 400 A include( "RecExCommon/CBNT_config.py" ) Athena INFO including file "RecExCommon/CBNT_config.py" -+- 0 A include( "CBNT_Athena/CBNT_Athena_jobOptions.py" ) Athena INFO including file "CBNT_Athena/CBNT_Athena_jobOptions.py" -+- 0 # build combined ntuple, gathering info from all the reco algorithms -+- 1 A theApp.Dlls += [ "CBNT_Utils" ] ApplicationMgr INFO Successfully loaded modules: CBNT_Utils -+- 2 A theApp.Dlls += [ "CBNT_Athena" ] ApplicationMgr INFO Successfully loaded modules: CBNT_Athena -+- 3 A theApp.TopAlg += [ "CBNT_Athena" ] -+- 4 A CBNT_Athena=Algorithm("CBNT_Athena") -+- 5 # -+- 6 # Each ntuple block is declared and filled by a sub algorithm -+- 7 # list of subalgorithms -+- 8 #CBNT_Athena.Members += {"CBNT_EventInfo","CBNT_Audit" } ; -+- 9 # ntuple file,directory and number. -+- 10 # - propagated to all subalgorithms -+- 11 # - never the less a subalgorithm can overwrite the ntuple definition -+- 12 #CBNT_Athena.NtupleLocID = "/FILE1/CBNT/3333" ; -+- 13 #CBNT_Athena.NtupleTitle = "Combined ntuple" ; // ntuple title -+- 14 # -+- 15 # Sub algorithms (like CBNT_EventInfo, CBNT_audit) normally inherit from -+- 16 # CBNT_AthenaBase which have two properties -+- 17 #CBNT_EventInfo.NtupleLocID= "/FILE1/CBNT/3333" ; // ntuple number -+- 18 # the following property is for internal use only, it allows to -+- 19 # specify the name of the indexing tool, which allow, within one -+- 20 # ntuple, to get/set the number of an object within the ntuple. -+- 21 # This is mainly used for the truth. -+- 22 #CBNT_EventInfo.CBNT_IndexToolName = internal use only // Athena INFO end of "CBNT_Athena/CBNT_Athena_jobOptions.py" -+- 1 -+- 2 # run/event number -+- 3 A include( "CBNT_Athena/CBNT_EventInfo_jobOptions.py" ) Athena INFO including file "CBNT_Athena/CBNT_EventInfo_jobOptions.py" -+- 0 # Put event and run number in CBNT ntuple. -+- 1 # Typically run first -+- 2 # -+- 3 # (CBNT_Athena algorithm should be defined elsewhere at end of the joboption) -+- 4 A CBNT_Athena = Algorithm( "CBNT_Athena" ) -+- 5 A CBNT_Athena.Members += [ "CBNT_EventInfo" ] -+- 6 A CBNT_EventInfo=Algorithm("CBNT_EventInfo") -+- 7 #CBNT_EventInfo.NtupleLocID= "/FILE1/CBNT/3333" ; // ntuple number -+- 8 # overiding CBNT_Athena ntuple number -+- 9 #CBNT_EventInfo.CBNT_IndexToolName = internal use only // Athena INFO end of "CBNT_Athena/CBNT_EventInfo_jobOptions.py" -+- 4 -+- 5 -+- 6 A if doTruth: -+- 7 A include( "RecExCommon/CBNT_Truth_jobOptions.py" ) Athena INFO including file "RecExCommon/CBNT_Truth_jobOptions.py" -+- 0 # jobOption files for CBNT, truth specific part -+- 1 # truth information -+- 2 A theApp.Dlls += [ "CBNT_Truth" ] ApplicationMgr INFO Successfully loaded modules: CBNT_Truth -+- 3 A CBNT_Athena.Members += [ "CBNT_Truth" ] -+- 4 A CBNT_Truth=Algorithm("CBNT_Truth") -+- 5 -+- 6 #if GlobalFlags.DataSource.is_geant4(): -+- 7 #CBNT_Truth = Algorithm( "CBNT_Truth" ) -+- 8 # on geant4 if only one record (use both by default) -+- 9 #CBNT_Truth.McEventsName="GEN_EVENT" # generator info -+- 10 #CBNT_Truth.McEventsName="G4Truth" # geant4 info -+- 11 -+- 12 -+- 13 # add special MonteCarlo -+- 14 A CBNT_Athena.Members += [ "CBNT_SpclMC" ] -+- 15 -+- 16 # -+- 17 # ----- CBNT_Truth subAlgorithm -+- 18 # -+- 19 # maximum number of particles and vertices in the ntuple -+- 20 A CBNT_Truth.MaxNbParticles = 1000 -+- 21 A CBNT_Truth.MaxNbVertices = 1000 -+- 22 # -+- 23 # These selection apply to all Selectors, unless overrriden -+- 24 A CBNT_Truth = Algorithm( "CBNT_Truth" ) -+- 25 A CBNT_Truth.PtMin = 5. * GeV -+- 26 A CBNT_Truth.EtaMax= 2.55 -+- 27 # configurable selectors are added to select particle based on -+- 28 # their kinematic, pdg_id or history. To be written in the ntuple -+- 29 # a particle should satisfy at least one selector. Particles -+- 30 # are written only once even if they are selected by different -+- 31 # selectors. Particles appear in the ntuple in the same order than in HepMC -+- 32 # -+- 33 # -+- 34 # add selectors -+- 35 # -+- 36 # All : take everything without selection -+- 37 A CBNT_Truth.Members += [ "CBNT_TruthSelector/All" ] -+- 38 A All = Algorithm( "All" ) -+- 39 A All.PtMin = -1. * GeV -+- 40 A All.EtaMax = -1 -+- 41 A All.OptionAll = True -+- 42 #a selector can be switched off without commenting it out with -+- 43 # Disable this selector by default -+- 44 A All.Enable = False -+- 45 # -+- 46 #add a generator history selector -+- 47 A CBNT_Truth.Members += [ "CBNT_TruthSelector/History" ] -+- 48 A History = Algorithm( "History" ) -+- 49 A History.OptionMainEvent = False # switch off the default which is all particles except pile-up -+- 50 A History.OptionHistoryGene = True # select history -+- 51 A History.PtMin = -1. * GeV # no pt cut -+- 52 A History.EtaMax = -1 # no etacut -+- 53 # other boolean switches available beside OptionGeneHistory: -+- 54 # OptionAll : take everything -+- 55 # OptionGene : generator particles -+- 56 # OptionHistoryGene : generator history particles -+- 57 # OptionFinalGene : final generator particle -+- 58 # OptionGeant : particles tracked by geant (primaries and secondaries) -+- 59 # OptionPrimaryGeant : primary particle tracked by geant -+- 60 # OptionMainEvent : non pileup particles from generator or geant (default) -+- 61 # OptionInteractedPileUp : pileup particles that have interacted in -+- 62 # the detector -+- 63 # OptionNonInteractedPileUp : pileup particles that have not -+- 64 # interacted in the detector -+- 65 # a particle need to satisfy at least one of the switches that is set -+- 66 # these switched can be combined with the other properties, so that -+- 67 # it is possible for example to select only primary electron -+- 68 # -+- 69 #add a charged particle selector: e, mu, pi, K, P within tracker acceptance -+- 70 A CBNT_Truth.Members += [ "CBNT_TruthSelector/VisibleCharged" ] -+- 71 A VisibleCharged = Algorithm( "VisibleCharged" ) -+- 72 # list of particle ID (CC is implied) -+- 73 A VisibleCharged.PDG_IDS = [ 11, 13, 211, 321, 2212] -+- 74 A VisibleCharged.PtMin = 0.4 * GeV -+- 75 A VisibleCharged.EtaMax = 2.55 -+- 76 -+- 77 #add a boson selector -+- 78 A CBNT_Truth.Members += [ "CBNT_TruthSelector/Boson" ] -+- 79 A Boson = Algorithm( "Boson" ) -+- 80 A Boson.PDG_IDS = [ 23, 24, 25, 32, 33, 34, 35, 36, 37 ] -+- 81 #take them all -+- 82 A Boson.PtMin = -1. * GeV -+- 83 A Boson.EtaMax = -1. -+- 84 -+- 85 #add a lepton (except electron) selector : muon tau, neutrino selector -+- 86 A CBNT_Truth.Members += [ "CBNT_TruthSelector/Lepton" ] -+- 87 A Lepton = Algorithm( "Lepton" ) -+- 88 A Lepton.PDG_IDS = [ 12, 13, 14, 15, 16] -+- 89 # take them all -+- 90 A Lepton.PtMin = -1. * GeV -+- 91 A Lepton.EtaMax = -1. -+- 92 -+- 93 #add an electron selector -+- 94 A CBNT_Truth.Members += [ "CBNT_TruthSelector/Electron" ] -+- 95 A Electron = Algorithm( "Electron" ) -+- 96 A Electron.PDG_IDS = [ 11 ] -+- 97 # change minimum pt for Electron (avoid soft electron from deltaray -+- 98 # and soft gamma conversion -+- 99 A Electron.PtMin = 1. * GeV -+- 100 A Electron.EtaMax = -1. -+- 101 -+- 102 #add a heavy quark selector -+- 103 A CBNT_Truth.Members += [ "CBNT_TruthSelector/HeavyQuark" ] -+- 104 A HeavyQuark = Algorithm( "HeavyQuark" ) -+- 105 A HeavyQuark.PDG_IDS = [ 5, 6] -+- 106 # take them all -+- 107 A HeavyQuark.PtMin = -1. * GeV -+- 108 A HeavyQuark.EtaMax = -1. -+- 109 -+- 110 #add a photon selector -+- 111 A CBNT_Truth.Members += [ "CBNT_TruthSelector/Photon" ] -+- 112 A Photon = Algorithm( "Photon" ) -+- 113 A Photon.PDG_IDS = [ 22 ] -+- 114 A Photon.PtMin = 5.* GeV -+- 115 A Photon.EtaMax = -1. -+- 116 -+- 117 #add a tau daughter selector (historical) -+- 118 #CBNT_Truth.Members += [ "CBNT_TruthSelector/TauDaughters" ] -+- 119 # TauDaughters = Algorithm( "TauDaughters" ) -+- 120 # TauDaughters.SelectDaughters = TRUE -+- 121 # TauDaughters.Generations = 5 -+- 122 # TauDaughters.PDG_IDS = [ 15 ] -+- 123 # TauDaughters.PtMin = -1. * GeV -+- 124 # TauDaughters.EtaMax = -1 -+- 125 -+- 126 # new tau selector with daughters -+- 127 A CBNT_Truth.Members += [ "CBNT_TruthSelector/Tau" ] -+- 128 A Tau = Algorithm ( "Tau") -+- 129 A Tau.PDG_IDS = [ 15 ] -+- 130 A Tau.PtMin = -1. * GeV -+- 131 A Tau.EtaMax = -1. -+- 132 -+- 133 # daughters: the genealogy takes a selected list(s) as input -+- 134 # and select all chidren, without any cuts -+- 135 A CBNT_Truth.Members += [ "CBNT_TruthSelector/AllDaughters" ] -+- 136 A AllDaughters = Algorithm ( "AllDaughters") -+- 137 A AllDaughters.InputNames = [ "Tau" ] -+- 138 A AllDaughters.PtMin = -1. * GeV -+- 139 A AllDaughters.EtaMax = -1. -+- 140 A AllDaughters.Genealogy = -1 # take all descendents recursively -+- 141 -+- 142 #All children of Electrons -+- 143 #AllDaughters.InputNames += ["Electron" ] -+- 144 #All children of Photon -+- 145 #AllDaughters.InputNames += ["Photon" ] -+- 146 -+- 147 -+- 148 #ancestors: the genealogy takes a selected list(s) as input -+- 149 # and select all ancestors -+- 150 # In principle, ancestors finding could be done in one single -+- 151 # selector, but this is easier to debug when the selectors are split -+- 152 # visible charge ancestors -+- 153 A CBNT_Truth.Members += [ "CBNT_TruthSelector/VisibleChargedAncestors" ] -+- 154 A VisibleChargedAncestors = Algorithm ( "VisibleChargedAncestors") -+- 155 A VisibleChargedAncestors.InputNames = [ "VisibleCharged" ] -+- 156 A VisibleChargedAncestors.PtMin = -1. * GeV -+- 157 A VisibleChargedAncestors.EtaMax = -1 -+- 158 A VisibleChargedAncestors.Genealogy = 1 # take all ancestors -+- 159 -+- 160 # boson ancestors -+- 161 A CBNT_Truth.Members += [ "CBNT_TruthSelector/BosonAncestors" ] -+- 162 A BosonAncestors = Algorithm ( "BosonAncestors" ) -+- 163 A BosonAncestors.InputNames = [ "Boson" ] -+- 164 A BosonAncestors.PtMin = -1. * GeV -+- 165 A BosonAncestors.EtaMax = -1 -+- 166 A BosonAncestors.Genealogy = 1 # take all ancestors -+- 167 -+- 168 # all lepton ancestors -+- 169 A CBNT_Truth.Members += [ "CBNT_TruthSelector/AllLeptonAncestors" ] -+- 170 A AllLeptonAncestors = Algorithm ( "AllLeptonAncestors" ) -+- 171 A AllLeptonAncestors.InputNames = [ "Electron","Lepton","Tau" ] -+- 172 A AllLeptonAncestors.PtMin = -1. * GeV -+- 173 A AllLeptonAncestors.EtaMax = -1 -+- 174 A AllLeptonAncestors.Genealogy = 1 # take all ancestors -+- 175 -+- 176 #heavy quark ancestors -+- 177 A CBNT_Truth.Members += [ "CBNT_TruthSelector/HeavyQuarkAncestors" ] -+- 178 A HeavyQuarkAncestors = Algorithm ("HeavyQuarkAncestors") -+- 179 A HeavyQuarkAncestors.InputNames = [ "HeavyQuark" ] -+- 180 A HeavyQuarkAncestors.PtMin = -1. * GeV -+- 181 A HeavyQuarkAncestors.EtaMax = -1 -+- 182 A HeavyQuarkAncestors.Genealogy = 1 # take all ancestors -+- 183 -+- 184 # photon ancestors -+- 185 A CBNT_Truth.Members += [ "CBNT_TruthSelector/PhotonAncestors" ] -+- 186 A PhotonAncestors = Algorithm ("PhotonAncestors") -+- 187 A PhotonAncestors.InputNames = [ "Photon" ] -+- 188 A PhotonAncestors.PtMin = -1. * GeV -+- 189 A PhotonAncestors.EtaMax = -1 -+- 190 A PhotonAncestors.Genealogy = 1 # take all ancestors -+- 191 Athena INFO end of "RecExCommon/CBNT_Truth_jobOptions.py" -+- 8 -+- 9 A if DetDescrVersion=="Rome-Initial" or DetDescrVersion=="Rome-Final": -+- 10 include ("MCTruthAlgs/CBNT_TrackRecord.py") -+- 11 -+- 12 A if ( DetFlags.haveRIO.ID_on() or readESD) : -+- 13 # -+- 14 # functionality : put tracks from any tracking algorithm in combined ntuple -+- 15 # -+- 16 A include ("InDetPriVxCBNT/InDetPriVxCBNT_jobOptions.py") Athena INFO including file "InDetPriVxCBNT/InDetPriVxCBNT_jobOptions.py" -+- 0 #-------------------------------------------------- -+- 1 # InDetPriVxCBNT -+- 2 #------------------------------------------------- -+- 3 A theApp.Dlls += [ "InDetPriVxCBNT" ] ApplicationMgr INFO Successfully loaded modules: InDetPriVxCBNT -+- 4 A CBNT_Athena = Algorithm( "CBNT_Athena" ) -+- 5 A CBNT_Athena.Members += [ "InDet::CBNT_VxPrimary/CBNT_VxPrimary" ] -+- 6 A CBNT_VxPrimary = Algorithm( "CBNT_VxPrimary" ) -+- 7 A CBNT_VxPrimary.VxCandidatesName = "VxPrimaryCandidate" -+- 8 # For G3 -+- 9 #CBNT_VxPrimary.McEventCollectionName = "GEN_EVENT" -+- 10 # For G4 -+- 11 A CBNT_VxPrimary.EnableMultipleVertices = 1; -+- 12 A CBNT_VxPrimary.McEventCollectionName = "TruthEvent" -+- 13 A if 'doTruth' in dir(): -+- 14 A CBNT_VxPrimary.doTruthCBNT = doTruth; -+- 15 else: -+- 16 CBNT_VxPrimary.doTruthCBNT = TRUE; Athena INFO end of "InDetPriVxCBNT/InDetPriVxCBNT_jobOptions.py" -+- 17 -+- 18 #FIXME -+- 19 A include( "InDetTrackSummaryHelperTool/InDetTrackSummaryHelperTool_jobOptions.py") Athena INFO including file "InDetTrackSummaryHelperTool/InDetTrackSummaryHelperTool_jobOptions.py" -+- 0 A theApp.Dlls += [ "InDetTrackSummaryHelperTool" ] ApplicationMgr INFO Successfully loaded modules: Athena INFO end of "InDetTrackSummaryHelperTool/InDetTrackSummaryHelperTool_jobOptions.py" -+- 20 -+- 21 A include ("CBNT_Particle/CBNT_Particle_jobOptions.py") Athena INFO including file "CBNT_Particle/CBNT_Particle_jobOptions.py" -+- 0 #-------------------------------------------------- -+- 1 # CBNT_Particle -+- 2 #------------------------------------------------- -+- 3 A theApp.Dlls += [ "CBNT_Particle" ] ApplicationMgr INFO Successfully loaded modules: CBNT_Particle -+- 4 #theApp.Dlls += [ "TrkDetDescrTools" ] -+- 5 #theApp.Dlls += [ "TrkExTools" ] -+- 6 #theApp.Dlls += [ 'TrkMagFieldTools' ] -+- 7 A CBNT_Athena = Algorithm( "CBNT_Athena" ) -+- 8 A CBNT_Athena.Members += [ "Rec::CBNT_TrackParticle/CBNT_TrackParticle" ] -+- 9 A CBNT_TrackParticle = Algorithm( "CBNT_TrackParticle" ) -+- 10 A CBNT_TrackParticle.TrackParticlesName = "TrackParticleCandidate" -+- 11 A CBNT_TrackParticle.TrackParticleTruthsName = "TrackParticleTruthCollection" -+- 12 A CBNT_TrackParticle.takeSummaryAndPerigeeFrom = "TrackParticle" -+- 13 A CBNT_TrackParticle.MaxNumberOfTracks = 500 -+- 14 A CBNT_TrackParticle.NTupleVariablePrefix = "Trk" -+- 15 -+- 16 A include ( "TrkTrackSummaryTool/TrkTrackSummaryTool_jobOptions.py" ) Athena INFO including file "TrkTrackSummaryTool/TrkTrackSummaryTool_jobOptions.py" -+- 0 A theApp.Dlls += [ "TrkTrackSummaryTool" ] ObjectManager WARNING Factory for class:Trk::TrackSummaryTool already exists. ApplicationMgr INFO Successfully loaded modules: TrkTrackSummaryTool -+- 1 -+- 2 #needed by the extrapolator. Will eventually be replaced by a jobOpt fragment -+- 3 A theApp.Dlls += [ "TrkDetDescrTools" ] ApplicationMgr INFO Successfully loaded modules: -+- 4 A theApp.Dlls += [ "InDetTrackingGeometry" ] ApplicationMgr INFO Successfully loaded modules: -+- 5 A theApp.Dlls += [ "TrkExTools" ] ApplicationMgr INFO Successfully loaded modules: -+- 6 A theApp.Dlls += [ "TrkExSlPropagator" ] ApplicationMgr INFO Successfully loaded modules: Athena INFO end of "TrkTrackSummaryTool/TrkTrackSummaryTool_jobOptions.py" -+- 17 -+- 18 A if DetDescrVersion == 'Rome-Initial' or DetDescrVersion == 'Rome-Final': -+- 19 CBNT_TrackParticle.G4TruthCollectionName = "TruthEvent" -+- 20 else: -+- 21 A CBNT_TrackParticle.G4TruthCollectionName = "G4Truth" -+- 22 -+- 23 A CBNT_TrackParticle.doVertexCBNT = FALSE -+- 24 A if 'doTruth' in dir(): -+- 25 A CBNT_TrackParticle.doTruthCBNT = doTruth; -+- 26 else: -+- 27 CBNT_TrackParticle.doTruthCBNT = TRUE; -+- 28 -+- 29 -+- 30 Athena INFO end of "CBNT_Particle/CBNT_Particle_jobOptions.py" -+- 22 #CBNT for second (xk) collection -+- 23 A if makeBothTrackParticles: -+- 24 A theApp.Dlls += [ "CBNT_Particle" ] ApplicationMgr INFO Successfully loaded modules: -+- 25 A CBNT_Athena = Algorithm( "CBNT_Athena" ) -+- 26 A CBNT_Athena.Members += [ "Rec::CBNT_TrackParticle/CBNT_TrackParticleXK" ] -+- 27 A CBNT_TrackParticleXK = Algorithm( "CBNT_TrackParticleXK" ) -+- 28 A CBNT_TrackParticleXK.TrackParticlesName = "TrackParticleCandidateXK" -+- 29 A CBNT_TrackParticleXK.TrackParticleTruthsName = "TrackParticleTruthCollectionXK" -+- 30 A CBNT_TrackParticleXK.takeSummaryAndPerigeeFrom = "TrackParticle" -+- 31 A CBNT_TrackParticleXK.MaxNumberOfTracks = 500 -+- 32 A CBNT_TrackParticleXK.NTupleVariablePrefix = "TrkXK" -+- 33 -+- 34 A include ( "TrkTrackSummaryTool/TrkTrackSummaryTool_jobOptions.py" ) Athena INFO including file "TrkTrackSummaryTool/TrkTrackSummaryTool_jobOptions.py" -+- 0 A theApp.Dlls += [ "TrkTrackSummaryTool" ] ApplicationMgr INFO Successfully loaded modules: -+- 1 -+- 2 #needed by the extrapolator. Will eventually be replaced by a jobOpt fragment -+- 3 A theApp.Dlls += [ "TrkDetDescrTools" ] ApplicationMgr INFO Successfully loaded modules: -+- 4 A theApp.Dlls += [ "InDetTrackingGeometry" ] ApplicationMgr INFO Successfully loaded modules: -+- 5 A theApp.Dlls += [ "TrkExTools" ] ApplicationMgr INFO Successfully loaded modules: -+- 6 A theApp.Dlls += [ "TrkExSlPropagator" ] ApplicationMgr INFO Successfully loaded modules: Athena INFO end of "TrkTrackSummaryTool/TrkTrackSummaryTool_jobOptions.py" -+- 35 -+- 36 A if DetDescrVersion == 'Rome-Initial' or DetDescrVersion == 'Rome-Final': -+- 37 CBNT_TrackParticleXK.G4TruthCollectionName = "TruthEvent" -+- 38 else: -+- 39 A CBNT_TrackParticleXK.G4TruthCollectionName = "G4Truth" -+- 40 -+- 41 A CBNT_TrackParticleXK.doVertexCBNT = FALSE -+- 42 A if 'doTruth' in dir(): -+- 43 A CBNT_TrackParticleXK.doTruthCBNT = doTruth; -+- 44 else: -+- 45 CBNT_TrackParticleXK.doTruthCBNT = TRUE; -+- 46 -+- 47 -+- 48 A if DetFlags.haveRIO.Calo_on() or readESD: -+- 49 include ("CaloRec/CaloCell_CBNT_jobOptions.py") -+- 50 -+- 51 A if doEmCluster or readESD: -+- 52 include ("CaloRec/CaloCluster_CBNT_jobOptions.py") -+- 53 -+- 54 A if doCaloTopoCluster or readESD: -+- 55 #include ("CaloRec/CaloTopoCluster_CBNT_jobOptions.py") -+- 56 include ("CaloRec/EMTopoCluster_CBNT_jobOptions.py") -+- 57 -+- 58 A if doMuonbox or readESD: -+- 59 include ("MuonboyAth/CBNT_Muon_jobOptions.py") -+- 60 -+- 61 -+- 62 A if doMoore or readESD: -+- 63 theApp.Dlls += [ "MooStatistics" ] -+- 64 include ("MooStatistics/Moore_CBNT_jobOptions.py") -+- 65 -+- 66 # -+- 67 # Conversion -+- 68 # -+- 69 -+- 70 A if doConversion or readESD: -+- 71 A theApp.Dlls += [ "ConversionAlgs" ] ApplicationMgr INFO Successfully loaded modules: -+- 72 A CBNT_Athena.Members += [ "CBNT_Conversion" ] -+- 73 A CBNT_Conversion = Algorithm( "CBNT_Conversion" ) -+- 74 A CBNT_Conversion.MaxNbTracksNtuple = 20 -+- 75 -+- 76 -+- 77 A if doJetRec or readESD: -+- 78 theApp.Dlls += [ "JetRec" ] -+- 79 include( "JetRec/ConeTowerJet_CBNT_jobOptions.py" ) -+- 80 include( "JetRec/Cone4TowerJet_CBNT_jobOptions.py" ) -+- 81 include( "JetRec/KtTowerJet_CBNT_jobOptions.py" ) -+- 82 -+- 83 if doTruth: -+- 84 include( "JetRec/ConeTruthJet_CBNT_jobOptions.py" ) -+- 85 include( "JetRec/Cone4TruthJet_CBNT_jobOptions.py" ) -+- 86 include( "JetRec/KtTruthJet_CBNT_jobOptions.py" ) -+- 87 -+- 88 -+- 89 A if doBtagging or readESD: -+- 90 A theApp.Dlls += [ "VKalVrtAthena" ] ApplicationMgr INFO Successfully loaded modules: -+- 91 A include( "VKalVrtAthena/CBNTVKalVrtAthena.py" ) Athena INFO including file "VKalVrtAthena/CBNTVKalVrtAthena.py" -+- 0 #===================================================== -+- 1 # Primary vertex position reconstruction with VKalVrt -+- 2 #====================================================== -+- 3 A CBNT_Athena = Algorithm( "CBNT_Athena" ) -+- 4 A CBNT_Athena.Members += [ "VKalVrtAthena::CBNT_VKalVrtPrim/CBNT_VKalVrtPrim" ] -+- 5 # -+- 6 # -+- 7 A CBNT_VKalVrtPrim = Algorithm( "CBNT_VKalVrtPrim" ) -+- 8 A CBNT_VKalVrtPrim.VKalVrtPrimLoc = "VKalPrimVrtCollection" -+- 9 A CBNT_VKalVrtPrim.NVrtMax = 30 Athena INFO end of "VKalVrtAthena/CBNTVKalVrtAthena.py" -+- 92 A theApp.Dlls += [ "SimpleBTagAthena" ] ApplicationMgr INFO Successfully loaded modules: -+- 93 A include( "SimpleBTagAthena/CBNTSimpleBTagAthena.py" ) Athena INFO including file "SimpleBTagAthena/CBNTSimpleBTagAthena.py" -+- 0 #===================================================== -+- 1 # Simple B-tag CBNT -+- 2 #====================================================== -+- 3 A CBNT_Athena = Algorithm( "CBNT_Athena" ) -+- 4 A CBNT_Athena.Members += [ "SimpleBTagAthena::CBNT_BTag/CBNT_BTagKt" ] -+- 5 # -+- 6 # -+- 7 A CBNT_BTagKt = Algorithm( "CBNT_BTagKt" ) -+- 8 A CBNT_BTagKt.MaxJets = 40 -+- 9 #CBNT_BTagKt.OutputLevel = 2 -+- 10 A CBNT_BTagKt.BTagLocation = "SimpleBTagKt" -+- 11 # -+- 12 # -+- 13 A CBNT_Athena.Members += [ "SimpleBTagAthena::CBNT_BTag/CBNT_BTagCone" ] -+- 14 # -+- 15 A CBNT_BTagCone = Algorithm( "CBNT_BTagCone" ) -+- 16 A CBNT_BTagCone.MaxJets = 40 -+- 17 #CBNT_BTagCone.OutputLevel = 2 -+- 18 A CBNT_BTagCone.BTagLocation = "SimpleBTagCone" -+- 19 # -+- 20 # -+- 21 A CBNT_Athena.Members += [ "SimpleBTagAthena::CBNT_BTag/CBNT_BTagAtlf" ] -+- 22 # -+- 23 A CBNT_BTagAtlf = Algorithm( "CBNT_BTagAtlf" ) -+- 24 A CBNT_BTagAtlf.MaxJets = 40 -+- 25 #CBNT_BTagAtlf.OutputLevel = 2 -+- 26 A CBNT_BTagAtlf.BTagLocation = "SimpleBTagAtlf" Athena INFO end of "SimpleBTagAthena/CBNTSimpleBTagAthena.py" -+- 94 A theApp.Dlls += [ "VrtSecInclusive" ] ApplicationMgr INFO Successfully loaded modules: -+- 95 A include( "VrtSecInclusive/CBNTVrtSecInclusive.py" ) Athena INFO including file "VrtSecInclusive/CBNTVrtSecInclusive.py" -+- 0 #=========================================================== -+- 1 # Inclusive secondary vertices reconstruction with VKalVrt -+- 2 # CBNT writing -+- 3 #=========================================================== -+- 4 A CBNT_Athena = Algorithm( "CBNT_Athena" ) -+- 5 A CBNT_Athena.Members += [ "VKalVrtAthena::CBNT_VrtSecInclusive/CBNT_VrtSecInclusive" ] -+- 6 # -+- 7 #theApp.TopAlg += [ "VKalVrtAthena::CBNT_VrtSecInclusive/CBNT_VrtSecInclusive" ] -+- 8 # -+- 9 A CBNT_VrtSecInclusive = Algorithm( "CBNT_VrtSecInclusive" ) -+- 10 #CBNT_VrtSecInclusive.OutputLevel = 2 Athena INFO end of "VrtSecInclusive/CBNTVrtSecInclusive.py" -+- 96 -+- 97 -+- 98 A if doTauRec or readESD: -+- 99 # -+- 100 # ----- CBNT_tau algorithm -+- 101 # -+- 102 theApp.Dlls += [ "tauRec" ] -+- 103 CBNT_Athena.Members += [ "CBNT_tau" ] -+- 104 CBNT_tau = Algorithm( "CBNT_tau" ) -+- 105 CBNT_tau.TauContainerName = "MYtauContainer" -+- 106 CBNT_tau.max_number_tau = 10 -+- 107 CBNT_tau.TauCellInfo = 0 -+- 108 -+- 109 A if doEgamma or readESD: -+- 110 # FIXME -+- 111 theApp.Dlls += [ "egammaUtils" ] -+- 112 include ("egammaRec/egamma_CBNT_jobOptions.py") -+- 113 if doTruth: -+- 114 include ("egammaRec/egamma_CBNTtruth_jobOptions.py") -+- 115 -+- 116 -+- 117 A if doTileMuID or readESD: -+- 118 theApp.Dlls += [ "TileMuId" ] -+- 119 CBNT_Athena.Members += ["CBNT_TileMu"] -+- 120 -+- 121 -+- 122 A if doMuonID or readESD: -+- 123 theApp.Dlls += [ "iPatTruthTrajectory","MuidStatistics" ] -+- 124 include( "MuidStatistics/MuidStatistics_jobOptions.py" ) -+- 125 -+- 126 A if doStaco or readESD: -+- 127 theApp.Dlls += ["STACO"] -+- 128 include ("STACO/Staco_CBNT_jobOptions.py") -+- 129 -+- 130 -+- 131 -+- 132 A if doMissingET or readESD: -+- 133 theApp.Dlls += [ "MissingET" ] -+- 134 CBNT_Athena.Members += [ "CBNT_MissingET" ] -+- 135 CBNT_MissingET = Algorithm( "CBNT_MissingET" ) -+- 136 CBNT_MissingET.MissingETObjName = "MissingETObj" -+- 137 -+- 138 if doTruth: -+- 139 CBNT_Athena.Members += [ "CBNT_MissingETtruth" ] -+- 140 CBNT_MissingETtruth = Algorithm( "CBNT_MissingETtruth" ) -+- 141 CBNT_MissingETtruth.MissingETObjName = "MissingETObj" -+- 142 -+- 143 -+- 144 A if doEFlow or readESD: -+- 145 theApp.Dlls += [ "eflowRec" ] -+- 146 CBNT_Athena.Members += [ "CBNT_eflow" ] -+- 147 CBNT_eflow = Algorithm( "CBNT_eflow" ) -+- 148 CBNT_eflow.EflowObjectsName = "eflowObjects01" -+- 149 CBNT_eflow.max_number_eflow = 200 -+- 150 -+- 151 -+- 152 A if doEFlowJet: -+- 153 theApp.Dlls += [ "eflowRec" ] -+- 154 CBNT_Athena.Members += [ "CBNT_Jet/CBNT_JetEflow" ] -+- 155 CBNT_JetEflow = Algorithm( "CBNT_JetEflow" ) -+- 156 CBNT_JetEflow.inputLoc = "EflowConeJets" -+- 157 -+- 158 A if doTrigger : -+- 159 # trigger combined ntuple -+- 160 include ("TriggerRelease/jobOfragment_TriggerCBNT.py") -+- 161 -+- 162 A if doAtlfast: -+- 163 CBNT_Athena.Members += [ "Atlfast::CBNT_Atlfast/CBNT_Atlfast" ] -+- 164 -+- 165 -+- 166 A if doWriteAOD: -+- 167 theApp.Dlls += [ "JetTagTools" ] -+- 168 include ( "CBNT_AOD/AOD_CBNT_jobOptions.py" ) -+- 169 -+- 170 -+- 171 -+- 172 A include( "CBNT_Athena/CBNT_Audit_jobOptions.py" ) Athena INFO including file "CBNT_Athena/CBNT_Audit_jobOptions.py" -+- 0 # Put total memory and cpu and detailed algorithm CPU time in CBNT ntuple -+- 1 # typically run last -+- 2 # -+- 3 # (CBNT_Athena algorithm should be defined elsewhere at end of the joboption) -+- 4 A CBNT_Athena = Algorithm( "CBNT_Athena" ) -+- 5 A CBNT_Athena.Members += [ "CBNT_Audit" ] -+- 6 A CBNT_Audit=Algorithm("CBNT_Audit") -+- 7 #CBNT_Audit.NtupleLocID= "/FILE1/CBNT/3333" ; // ntuple number -+- 8 # overiding CBNT_Athena ntuple number -+- 9 #CBNT_Audit.detailedTime = true ; // put CPU time per -+- 10 # algorithm in ntuple (default) -+- 11 # -+- 12 # -+- 13 #CBNT_Audit.Algs += { "GenzModule", "CBNT_Athena" } ; // list of -+- 14 # algorithms to be monitored (by default take them all) -+- 15 #CBNT_Audit.nEventPrintMem = 5; // print in log file the total memory -+- 16 # usage for the first n events. Can be set to 100000 to monitor memory leak. Athena INFO end of "CBNT_Athena/CBNT_Audit_jobOptions.py" -+- 173 #CBNT_Audit.detailedTime = false ; // put in the ntuple CPU time per algrithm -+- 174 # list of algorithms to be monitored (by default take them all) -+- 175 #CBNT_Audit.Algs += { "GenzModule", "CBNT_Athena" } ; Athena INFO end of "RecExCommon/CBNT_config.py" -+- 401 -+- 402 -+- 403 A if doJiveXML: -+- 404 include ( "RecExCommon/JiveXML_config.py") -+- 405 -+- 406 -+- 407 ################################################################### -+- 408 # Property modifier for specific release -+- 409 -+- 410 -+- 411 ################################################################" -+- 412 # -+- 413 # possible userproperty modifiers should come here -+- 414 # (do NOT put flags modification here!) -+- 415 #TrackParticleTruthMaker.Enable=False -+- 416 -+- 417 -+- 418 ################################################################### -+- 419 # -+- 420 # functionality : monitor memory and cpu time -+- 421 # -+- 422 -+- 423 -+- 424 # -+- 425 # functionality : build combined ntuple, -+- 426 # gathering info from all the reco algorithms -+- 427 # -+- 428 -+- 429 -+- 430 #if read or write ESD load the converters -+- 431 A if doWriteESD or doWriteAOD or readESD: -+- 432 # Converters: -+- 433 A include ( "RecExCommon/RecoOutputPoolCnv_jobOptions.py" ) Athena INFO including file "RecExCommon/RecoOutputPoolCnv_jobOptions.py" -+- 0 # Converters: -+- 1 A include ( "EventAthenaPool/EventAthenaPool_joboptions.py") Athena INFO including file "EventAthenaPool/EventAthenaPool_joboptions.py" -+- 0 A theApp.Dlls += [ "EventAthenaPoolPoolCnv" ] ApplicationMgr INFO Successfully loaded modules: Athena INFO end of "EventAthenaPool/EventAthenaPool_joboptions.py" -+- 2 A if doTruth: -+- 3 A include ( "GeneratorObjectsAthenaPool/GeneratorObjectsAthenaPool_joboptions.py") Athena INFO including file "GeneratorObjectsAthenaPool/GeneratorObjectsAthenaPool_joboptions.py" -+- 0 A theApp.Dlls += [ "GeneratorObjectsAthenaPoolPoolCnv" ] ApplicationMgr INFO Successfully loaded modules: Athena INFO end of "GeneratorObjectsAthenaPool/GeneratorObjectsAthenaPool_joboptions.py" -+- 4 -+- 5 # for LAr or Tile since Calo Cell converter is there -+- 6 # this DLL contain CaloCompactCellTool -+- 7 A theApp.Dlls += [ "CaloTools" ] ==> New TileCablingService created ApplicationMgr INFO Successfully loaded modules: CaloTools -+- 8 A theApp.DLLs += ["TileRecAlgs"] ApplicationMgr INFO Successfully loaded modules: TileRecAlgs -+- 9 A theApp.DLLs += ["LArClusterRec"] ApplicationMgr INFO Successfully loaded modules: LArClusterRec -+- 10 A theApp.DLLs += ["CaloRec"] ApplicationMgr INFO Successfully loaded modules: CaloRec -+- 11 A theApp.DLLs += ["TileRec"] ApplicationMgr INFO Successfully loaded modules: TileRec -+- 12 -+- 13 -+- 14 -+- 15 A include ( "LArAthenaPool/LArAthenaPool_joboptions.py") Athena INFO including file "LArAthenaPool/LArAthenaPool_joboptions.py" -+- 0 A theApp.Dlls += [ "LArAthenaPoolPoolCnv" ] ApplicationMgr INFO Successfully loaded modules: LArAthenaPoolPoolCnv Athena INFO end of "LArAthenaPool/LArAthenaPool_joboptions.py" -+- 16 A include( "TileEventAthenaPool/TileEventAthenaPool_joboptions.py" ) Athena INFO including file "TileEventAthenaPool/TileEventAthenaPool_joboptions.py" -+- 0 A theApp.Dlls += [ "TileEventAthenaPoolPoolCnv" ] ConverterFactory WARNING Converter for class:T_AthenaPoolCnv already exists. ApplicationMgr INFO Successfully loaded modules: TileEventAthenaPoolPoolCnv Athena INFO end of "TileEventAthenaPool/TileEventAthenaPool_joboptions.py" -+- 17 A include ( "InDetEventCnvTools/InDetEventCnvTools_jobOptions.py" ) Athena INFO including file "InDetEventCnvTools/InDetEventCnvTools_jobOptions.py" -+- 0 A theApp.Dlls += [ "InDetEventCnvTools" ] ApplicationMgr INFO Successfully loaded modules: InDetEventCnvTools Athena INFO end of "InDetEventCnvTools/InDetEventCnvTools_jobOptions.py" -+- 18 A include( "InDetEventAthenaPool/InDetEventAthenaPool_joboptions.py" ) Athena INFO including file "InDetEventAthenaPool/InDetEventAthenaPool_joboptions.py" -+- 0 A theApp.Dlls += [ "InDetEventAthenaPoolPoolCnv" ] ApplicationMgr INFO Successfully loaded modules: Athena INFO end of "InDetEventAthenaPool/InDetEventAthenaPool_joboptions.py" -+- 19 A include( "TrkEventAthenaPool/TrkEventAthenaPool_joboptions.py" ) Athena INFO including file "TrkEventAthenaPool/TrkEventAthenaPool_joboptions.py" -+- 0 A theApp.Dlls += [ "TrkEventAthenaPoolPoolCnv" ] ApplicationMgr INFO Successfully loaded modules: TrkEventAthenaPoolPoolCnv Athena INFO end of "TrkEventAthenaPool/TrkEventAthenaPool_joboptions.py" -+- 20 A include ( "RecAthenaPool/RecAthenaPool_joboptions.py") Athena INFO including file "RecAthenaPool/RecAthenaPool_joboptions.py" -+- 0 A theApp.Dlls += [ "RecAthenaPoolPoolCnv" ] this is the templated c-tor MCTruth::TruthStrategyManager: registered strategy DMuonCatchAll MCTruth::TruthStrategyManager: registered strategy IDETIonization MCTruth::TruthStrategyManager: registered strategy IDETDecay MCTruth::TruthStrategyManager: registered strategy IDETConversion MCTruth::TruthStrategyManager: registered strategy IDETBrems MCTruth::TruthStrategyManager: registered strategy CALOCatchAll ApplicationMgr INFO Successfully loaded modules: RecAthenaPoolPoolCnv Athena INFO end of "RecAthenaPool/RecAthenaPool_joboptions.py" -+- 21 A include( "ParticleEventAthenaPool/ParticleEventAthenaPool_joboptions.py" ) Athena INFO including file "ParticleEventAthenaPool/ParticleEventAthenaPool_joboptions.py" -+- 0 A theApp.Dlls += [ "ParticleEventAthenaPoolPoolCnv" ] ConverterFactory WARNING Converter for class:T_AthenaPoolCnv > already exists. ApplicationMgr INFO Successfully loaded modules: ParticleEventAthenaPoolPoolCnv Athena INFO end of "ParticleEventAthenaPool/ParticleEventAthenaPool_joboptions.py" -+- 22 A include( "MuonEventAthenaPool/MuonEventAthenaPool_joboptions.py" ) Athena INFO including file "MuonEventAthenaPool/MuonEventAthenaPool_joboptions.py" -+- 0 A theApp.Dlls += [ "MuonEventAthenaPoolPoolCnv" ] ApplicationMgr INFO Successfully loaded modules: MuonEventAthenaPoolPoolCnv Athena INFO end of "MuonEventAthenaPool/MuonEventAthenaPool_joboptions.py" -+- 23 A include( "MuonRIOOnTrack/MuonRIOOnTrackDict_joboptions.py" ) Athena INFO including file "MuonRIOOnTrack/MuonRIOOnTrackDict_joboptions.py" -+- 0 -+- 1 # Define service object -+- 2 A AthenaSealSvc = Service( "AthenaSealSvc" ) -+- 3 -+- 4 # Add in dictionary name: -+- 5 A AthenaSealSvc.DictNames += [ "MuonRIOOnTrackDict" ] -+- 6 Athena INFO end of "MuonRIOOnTrack/MuonRIOOnTrackDict_joboptions.py" -+- 24 -+- 25 A if doTruth: -+- 26 A include ("MCTruth/MCTruthDict_joboptions.py") Athena INFO including file "MCTruth/MCTruthDict_joboptions.py" -+- 0 -+- 1 # Define service object -+- 2 A AthenaSealSvc = Service( "AthenaSealSvc" ) -+- 3 -+- 4 # Add in dictionary name: -+- 5 A AthenaSealSvc.DictNames += [ "MCTruthDict" ] -+- 6 Athena INFO end of "MCTruth/MCTruthDict_joboptions.py" -+- 27 -+- 28 -+- 29 A if doAODLVL1 or doTrigger: -+- 30 include("TrigT1EventAthenaPool/TrigT1EventAthenaPool_joboptions.py") -+- 31 # to write LVL1 AOD to Pool -+- 32 include( "AnalysisTriggerEventAthenaPool/AnalysisTriggerEventAthenaPool_joboptions.py" ) -+- 33 -+- 34 Athena INFO end of "RecExCommon/RecoOutputPoolCnv_jobOptions.py" -+- 434 -+- 435 #check dictionary -+- 436 A AthenaSealSvc = Service( "AthenaSealSvc" ) -+- 437 A AthenaSealSvc.CheckDictionary = doCheckDictionary -+- 438 A if not doCheckDictionary: -+- 439 A AthenaSealSvc.OutputLevel=WARNING -+- 440 -+- 441 -+- 442 # -+- 443 # -+- 444 #now write out Transient Event Store content in POOL -+- 445 # -+- 446 # -+- 447 A if doWriteESD or doWriteAOD : -+- 448 A if not ( DetFlags.readRDOPool.any_on() or readESD ) : -+- 449 include ("AthenaPoolCnvSvc/WriteAthenaPool_jobOptions.py") -+- 450 else: -+- 451 # WriteAthenaPool is inconsistent with ReadAthenaPool -+- 452 # there should be a specific file for that -+- 453 A theApp.OutStream += [ "Stream1" ] -+- 454 A theApp.OutStreamType = "AthenaOutputStream" -+- 455 A Stream1 = Algorithm( "Stream1" ) -+- 456 A Stream1.EvtConversionSvc = "AthenaPoolCnvSvc" -+- 457 # allows objects to be copied in output even if not read in -+- 458 A Stream1 = Algorithm( "Stream1" ) -+- 459 A Stream1.ForceRead= True -+- 460 -+- 461 -+- 462 #force read of input data to write in output data -+- 463 A Stream1.ForceRead = True -+- 464 -+- 465 -+- 466 -+- 467 A if doWriteESD: -+- 468 # Define the output file name -+- 469 A Stream1.OutputFile = PoolESDOutput -+- 470 -+- 471 A include ( "RecExCommon/RecoOutputItemList_jobOptions.py" ) Athena INFO including file "RecExCommon/RecoOutputItemList_jobOptions.py" -+- 0 -+- 1 -+- 2 # list of output objects -+- 3 A include ( "EventAthenaPool/EventAthenaPoolItemList_joboptions.py") Athena INFO including file "EventAthenaPool/EventAthenaPoolItemList_joboptions.py" -+- 0 ## @file ExampleItemList_joboptions.py -+- 1 ## @brief Adds example item to full list of POOL persistifiable objects -+- 2 ## @author RD Schaffer -+- 3 ## $Id: ExampleItemList_joboptions.py,v 1.2 2005/01/12 20:46:28 kkarr Exp $ -+- 4 -+- 5 A try: -+- 6 A fullItemList += [ "EventInfo#*" ] -+- 7 A except: -+- 8 A fullItemList = [] -+- 9 A fullItemList += [ "EventInfo#*" ] -+- 10 -+- 11 -+- 12 ## @file ExampleItemList_joboptions.py -+- 13 ## @brief Adds example item to full list of POOL persistifiable objects -+- 14 ## @author RD Schaffer -+- 15 ## $Id: ExampleItemList_joboptions.py,v 1.2 2005/01/12 20:46:28 kkarr Exp $ -+- 16 -+- 17 A try: -+- 18 A fullItemList += [ "MergedEventInfo#*" ] -+- 19 except: -+- 20 fullItemList = [] -+- 21 fullItemList += [ "MergedEventInfo#*" ] -+- 22 -+- 23 -+- 24 ## @file ExampleItemList_joboptions.py -+- 25 ## @brief Adds example item to full list of POOL persistifiable objects -+- 26 ## @author RD Schaffer -+- 27 ## $Id: ExampleItemList_joboptions.py,v 1.2 2005/01/12 20:46:28 kkarr Exp $ -+- 28 -+- 29 A try: -+- 30 A fullItemList += [ "PileUpEventInfo#*" ] -+- 31 except: -+- 32 fullItemList = [] -+- 33 fullItemList += [ "PileUpEventInfo#*" ] -+- 34 -+- 35 Athena INFO end of "EventAthenaPool/EventAthenaPoolItemList_joboptions.py" -+- 4 -+- 5 -+- 6 # EventInfo -+- 7 #Stream1.ItemList+=["EventInfo#*"] -+- 8 -+- 9 A if doTruth: -+- 10 # HepMC record (be careful it has to be read by something to be written out) -+- 11 # Stream1.ItemList+=["McEventCollection#*"] -+- 12 A include ( "GeneratorObjectsAthenaPool/GeneratorObjectsAthenaPoolItemList_joboptions.py") Athena INFO including file "GeneratorObjectsAthenaPool/GeneratorObjectsAthenaPoolItemList_joboptions.py" -+- 0 ## @file ExampleItemList_joboptions.py -+- 1 ## @brief Adds example item to full list of POOL persistifiable objects -+- 2 ## @author RD Schaffer -+- 3 ## $Id: ExampleItemList_joboptions.py,v 1.2 2005/01/12 20:46:28 kkarr Exp $ -+- 4 -+- 5 A try: -+- 6 A fullItemList += [ "McEventCollection#*" ] -+- 7 except: -+- 8 fullItemList = [] -+- 9 fullItemList += [ "McEventCollection#*" ] -+- 10 -+- 11 Athena INFO end of "GeneratorObjectsAthenaPool/GeneratorObjectsAthenaPoolItemList_joboptions.py" -+- 13 -+- 14 #Calo/LAr -+- 15 # include ( "LArAthenaPool/LArAthenaPoolItemList_joboptions.py") -+- 16 # cannot use it directly :also has hit and rawchannel -+- 17 -+- 18 # Add class LArClusterContainer to the fullItemList list -+- 19 A fullItemList += [ "LArClusterContainer#*" ] -+- 20 # Add class CaloCellContainer to the fullItemList list (only AllCalo is needed) -+- 21 A fullItemList += [ "CaloCellContainer#AllCalo" ] -+- 22 # compactify calo cell -+- 23 A ToolSvc = Service( "ToolSvc" ) -+- 24 A ToolSvc.CaloCompactCellTool.WriteCompactCell=True -+- 25 -+- 26 -+- 27 -+- 28 # Add class CaloClusterContainer to the fullItemList list -+- 29 A fullItemList += [ "CaloClusterContainer#*" ] -+- 30 -+- 31 #TEMPORARY CaloTowerContainer needed for jet->cell, should disappear in the future -+- 32 A fullItemList += [ "CaloTowerContainer#CombinedTower" ] -+- 33 -+- 34 #from InDetEventAthenaPool -+- 35 A fullItemList += [ "VxContainer#*" ] -+- 36 -+- 37 -+- 38 #full tracking -+- 39 #include( "TrkEventAthenaPool/TrkEventAthenaPoolItemList_joboptions.py" ) -+- 40 #F. Akesson: Added Track and TrackParticle truth to the stream -+- 41 A fullItemList +=["TrackCollection#*"] -+- 42 A fullItemList += [ "Rec::TrackParticleContainer#*" ] -+- 43 -+- 44 A if doTruth: -+- 45 A fullItemList += ["TrackTruthCollection#*"] -+- 46 A fullItemList += ["TrackParticleTruthCollection#*"] -+- 47 -+- 48 # muon track in muon spectrometer -+- 49 A if doTruth: -+- 50 A fullItemList += [ "TrackRecordCollection#MuonEntryRecordFilter" ] -+- 51 -+- 52 -+- 53 #Reconstruction -+- 54 # include ( "RecAthenaPool/RecAthenaPoolItemList_joboptions.py") -+- 55 -+- 56 # Add class MissingET to the fullItemList list -+- 57 A fullItemList+=["MissingET#MET_Final"] -+- 58 A fullItemList+=["MissingET#MET_Muon"] -+- 59 A fullItemList+=["MissingET#MET_Cryo"] -+- 60 A fullItemList+=["MissingET#MET_Topo"] -+- 61 A fullItemList+=["MissingEtCalo#*"] -+- 62 A fullItemList+=["MissingEtTruth#*"] -+- 63 -+- 64 -+- 65 A fullItemList += [ "JetSamplingCollection#*" ] -+- 66 A fullItemList += [ "JetCollection#*" ] -+- 67 A fullItemList += [ "tauContainer#*" ] -+- 68 A fullItemList += [ "egammaContainer#*" ] -+- 69 -+- 70 -+- 71 A fullItemList += ["CombinedMuonContainer#*"] -+- 72 -+- 73 A if doAODLVL1 or doTrigger: -+- 74 # ROIB:: missing ? -+- 75 include( "AnalysisTriggerEventAthenaPool/AnalysisTriggerEventAthenaPoolItemList_joboptions.py" ) -+- 76 -+- 77 A if doTrigger: -+- 78 include ("TriggerRelease/TriggerOutputItemList_jobOptions.py") -+- 79 -+- 80 -+- 81 A print "Objects output list",fullItemList Objects output list ['EventInfo#*', 'MergedEventInfo#*', 'PileUpEventInfo#*', 'McEventCollection#*', 'LArClusterContainer#*', 'CaloCellContainer#AllCalo', 'CaloClusterContainer#*', 'CaloTowerContainer#CombinedTower', 'VxContainer#*', 'TrackCollection#*', 'Rec::TrackParticleContainer#*', 'TrackTruthCollection#*', 'TrackParticleTruthCollection#*', 'TrackRecordCollection#MuonEntryRecordFilter', 'MissingET#MET_Final', 'MissingET#MET_Muon', 'MissingET#MET_Cryo', 'MissingET#MET_Topo', 'MissingEtCalo#*', 'MissingEtTruth#*', 'JetSamplingCollection#*', 'JetCollection#*', 'tauContainer#*', 'egammaContainer#*', 'CombinedMuonContainer#*'] -+- 82 A Stream1.ItemList = fullItemList Athena INFO end of "RecExCommon/RecoOutputItemList_jobOptions.py" -+- 472 -+- 473 A if doWriteAOD: -+- 474 # Define the output file name -+- 475 Stream1.OutputFile = PoolAODOutput -+- 476 -+- 477 include( "ParticleEventAthenaPool/AOD_PoolCnv_jobOptions.py") -+- 478 include( "ParticleEventAthenaPool/AOD_OutputList_jobOptions.py") -+- 479 -+- 480 # set output item list -+- 481 Stream1.ItemList += AOD_ItemList -+- 482 -+- 483 #FIXME make sure CBNT_Athena is run as the last TopAlg -+- 484 if doCBNT: -+- 485 theApp.TopAlg = [ e for e in theApp.TopAlg if not e in [ "CBNT_Athena"] ] -+- 486 theApp.TopAlg += [ "CBNT_Athena"] -+- 487 # FIXME should not be there -+- 488 if DetDescrVersion=="DC2" or DetDescrVersion=="DC2-Final" or DetDescrVersion=="DC2-Initial": -+- 489 SpclMCAODBuilder=Algorithm("SpclMCAODBuilder") -+- 490 SpclMCAODBuilder.McEventInKey="GEN_EVENT" # gives the generator part -+- 491 # print "%sNING DC2 data : SpclMCAODBuilder disabled! " % "WAR" -+- 492 # SpclMCAODBuilder.Enable=False -+- 493 -+- 494 A print "List all DLL" List all DLL -+- 495 A print theApp.DLLs ['StoreGate', 'CLIDSvc', 'IOVSvc', 'DetDescrCnvSvc', 'IdDictDetDescrCnv', 'PoolSvc', 'AthenaPoolCnvSvc', 'AthenaPoolCnvSvcPoolCnv', 'AthenaSealSvc', 'EventSelectorAthenaPool', 'PartPropSvc', 'GaudiAud', 'RootHistCnv', 'RootHistCnv', 'GaudiAlg', 'RDBAccessSvc', 'GeoModelSvc', 'PixelGeoModel', 'SCT_GeoModel', 'InDetServMatGeoModel', 'BeamPipeGeoModel', 'InDetRegionSelector', 'InDetCabling', 'InDetRawUtils', 'BFieldAth', 'InDetEventAthenaPoolPoolCnv', 'TrigT1EventAthenaPoolPoolCnv', 'EventAthenaPoolPoolCnv', 'GeneratorObjectsAthenaPoolPoolCnv', 'TRT_DriftCircleTool', 'TRT_DriftFunctionTool', 'InDetPrepRawDataFormation', 'SiClusterizationTool', 'InDetPrepRawDataFormation', 'SiClusterizationTool', 'InDetPrepRawDataFormation', 'SiClusterizationTool', 'InDetTruthAlgs', 'SiSpacePointTool', 'SiSpacePointFormation', 'InDetTruthAlgs', 'iPatRecAlgs', 'iPatTrackFinder', 'iPatTrackFollower', 'iPatGeometry', 'TRT_Rec', 'RegionSelector', 'iPatRecAlgs', 'iPatTruthTrajectory', 'iPatRecAlgs', 'iPatGeometry', 'iPatTruthTrajectory', 'xKalmanppAthena', 'SiClusterOnTrackTool', 'TRT_DriftCircleOnTrackTool', 'InDetLegacyCnvTools', 'InDetLegacyCnvAlgs', 'InDetAmbiguitySolver', 'InDetTruthAlgs', 'InDetTrackSummaryHelperTool', 'InDetPriVxFinder', 'InDetParticleCreation', 'TrkExTools', 'TrkDetDescrTools', 'InDetTrackingGeometry', 'TrkMagFieldTools', 'TrkExTools', 'TrkExSlPropagator', 'TrkExHelixPropagator', 'TrkExRungeKuttaPropagator', 'InDetTruthAlgs', 'ConversionAlgs', 'ConversionAlgs', 'VKalVrtAthena', 'SimpleBTagAthena', 'BTagAdapterAlgs', 'VKalVrtFitSvc', 'VrtSecInclusive', 'CBNT_Utils', 'CBNT_Athena', 'CBNT_Truth', 'InDetPriVxCBNT', 'InDetTrackSummaryHelperTool', 'CBNT_Particle', 'TrkTrackSummaryTool', 'TrkDetDescrTools', 'InDetTrackingGeometry', 'TrkExTools', 'TrkExSlPropagator', 'CBNT_Particle', 'TrkTrackSummaryTool', 'TrkDetDescrTools', 'InDetTrackingGeometry', 'TrkExTools', 'TrkExSlPropagator', 'ConversionAlgs', 'VKalVrtAthena', 'SimpleBTagAthena', 'VrtSecInclusive', 'EventAthenaPoolPoolCnv', 'GeneratorObjectsAthenaPoolPoolCnv', 'CaloTools', 'TileRecAlgs', 'LArClusterRec', 'CaloRec', 'TileRec', 'LArAthenaPoolPoolCnv', 'TileEventAthenaPoolPoolCnv', 'InDetEventCnvTools', 'InDetEventAthenaPoolPoolCnv', 'TrkEventAthenaPoolPoolCnv', 'RecAthenaPoolPoolCnv', 'ParticleEventAthenaPoolPoolCnv', 'MuonEventAthenaPoolPoolCnv'] -+- 496 A print "List all ExtSvc" List all ExtSvc -+- 497 A print theApp.ExtSvc ['IncidentSvc/IncidentSvc', 'EvtPersistencySvc/EventPersistencySvc', 'HistogramSvc/HistogramDataSvc', 'NTupleSvc/NTupleSvc', 'ToolSvc/ToolSvc', 'AuditorSvc/AuditorSvc', 'RndmGenSvc/RndmGenSvc', 'ChronoStatSvc/ChronoStatSvc', 'StoreGateSvc/DetectorStore', 'StoreGateSvc', 'StoreGateSvc/HistoryStore', 'IOVSvc', 'DetDescrCnvSvc', 'PoolSvc', 'AthenaPoolCnvSvc', 'AthenaSealSvc', 'EventSelectorAthenaPool/EventSelector', 'PartPropSvc', 'RDBAccessSvc', 'GeoModelSvc', 'MagFieldAthenaSvc', 'TrajectorySvc'] -+- 498 A print "List of all top algorithms" List of all top algorithms -+- 499 A print theApp.TopAlg ['EventCounter', 'SiRegionSelectorTable/PixelRegionSelectorTable', 'SiRegionSelectorTable/SCT_RegionSelectorTable', 'TRT_RegionSelectorTable', 'InDet::PixelClusterization/NewPixelClusterization', 'InDet::SCT_Clusterization/NewSCT_Clusterization', 'InDet::TRT_RIO_Maker/TRT_RIO_Maker', 'InDetPrepRawDataTruthMaker', 'InDetReco::SiTrackerSpacePointFinder/SiTrackerSpacePointFinder', 'SpacePointTruthMaker', 'iPatRec', 'iPatTrackTruthAssociator', 'iPatStatistics', 'XKaSeedsManager', 'XKaMField', 'XKaDetectorBuilder', 'XKalMan', 'InDet::InDetLegacyCnvAlg/InDetLegacyCnvAlg', 'InDetAmbiguitySolver', 'InDetTrackTruthMaker', 'InDet::VxPrimary/VxPrimary', 'InDet::ParticleCreator/ParticleCreator', 'InDet::ParticleCreator/ParticleCreatorXK', 'TrackParticleTruthMaker', 'ConversionFinder', 'VKalVrtAthena::VKalVrtPrim/VKalVrtPrim', 'SimpleBTagAthena::BTagAthenaIni/BTagAthenaKt', 'SimpleBTagAthena::BTagAthenaIni/BTagAthenaCone', 'SimpleBTagAthena::BTagAthenaIni/BTagAthenaAtlf', 'BTagAdapter', 'VKalVrtAthena::VrtSecInclusive/VrtSecInclusive', 'CBNT_Athena'] -+- 500 -+- 501 A if doDumpProperties: -+- 502 # does not work in 8.7.0 -+- 503 # print "Dump alg properties BEFORE initialisation" -+- 504 # from AthenaCommon import DumpProperties -+- 505 # DumpProperties.dumpAlgorithms() -+- 506 -+- 507 # Careful properties not in jobOption are not listed -+- 508 for name in theApp.TopAlg: -+- 509 instance = string.split( name, '/' )[-1] -+- 510 exec 'alg = Algorithm( "%s" )' % instance -+- 511 alg.AuditInitialize = True -+- 512 -+- 513 try: -+- 514 print '****** properties of:', name -+- 515 print alg.properties() -+- 516 except AttributeError: -+- 517 print 'pb printing (float) property of %s (to be fixed soon)' % name -+- 518 -+- 519 -+- 520 # switch on auditor on specific alg or service -+- 521 # to measure CPU time and memory spend in initialisation -+- 522 # alg.AuditInitialize = True -+- 523 # svc.AuditInitialize = True -+- 524 -+- 525 # -+- 526 A if readMuonDigit: -+- 527 print "%sNING Rome-Initial production, need to switch off RoIBResultToAOD" % "WAR" -+- 528 RoIBResultToAOD=Algorithm("RoIBResultToAOD") -+- 529 RoIBResultToAOD.Enable=False -+- 530 Athena INFO end of "RecExCommon/RecExCommon_topOptions.py" Athena INFO end of "rec/disk5/test/optRecExToESD_1.py" Athena INFO including file "AthenaCommon/runbatch.py" -+- 0 # File: runbatch.py -+- 1 # Author: Wim Lavrijsen -+- 2 -+- 3 # Code for running a batch job with athena.py, after all other -+- 4 # job options are set. -+- 5 # -+- 6 # Usage: -+- 7 # athena.py runbatch.py -+- 8 -+- 9 A result = theApp.run( theApp.EvtMax ) EventPersistencySvc INFO "CnvServices": ["DetDescrCnvSvc", "AthenaPoolCnvSvc"] HistogramPersistencySvc INFO "CnvServices": ["HbookHistSvc", "RootHistSvc"] RootHistSvc INFO Writing ROOT histograms to: histo.root HistogramPersistencySvc INFO Added successfully Conversion service:RootHistSvc NTupleSvc INFO Added stream file:ntuple.root as FILE1 RndmGenSvc.Engine INFO Generator engine type:RanluxEngine RndmGenSvc.Engine INFO Current Seed:1234567 Luxury:3 RndmGenSvc INFO Using Random engine:HepRndm::Engine ChronoStatSvc INFO Number of skipped events for MemStat 50 DetectorStore INFO Initializing DetectorStore - package version StoreGate-02-14-14 ProxyProviderSvc INFO Initializing ProxyProviderSvc - package version StoreGate-02-14-14 ClassIDSvc INFO Initializing ClassIDSvc - package version CLIDSvc-00-02-04 ClassIDSvc INFO getRegistryEntries: read 4745 CLIDRegistry entries for module ALL ClassIDSvc INFO ClassIDSvc Initialized successfully StoreGateSvc INFO Initializing StoreGateSvc - package version StoreGate-02-14-14 HistoryStore INFO Initializing HistoryStore - package version StoreGate-02-14-14 IOVSvc INFO IOVRanges will be checked at every Event DetDescrCnvSvc INFO initializing DetDescrCnvSvc INFO Found DetectorStore service DetDescrCnvSvc INFO filling proxies for detector managers DetDescrCnvSvc INFO filling address for InDetMgr with CLID 2512 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for LArMgr with CLID 2741 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for MuonMgr with CLID 4060 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for CaloTTMgr with CLID 117659265 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for CaloMgr with CLID 4548337 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for CaloIdManager with CLID 125856940 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for LArIdManager with CLID 79554919 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for IdDict with CLID 2411 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for AtlasID with CLID 164875623 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for PixelID with CLID 2516 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for SCT_ID with CLID 2517 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for TRT_ID with CLID 2518 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for LArEM_ID with CLID 163583365 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for LArHEC_ID with CLID 3870484 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for LArFCAL_ID with CLID 45738051 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for LArOnlineID with CLID 158698068 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for TileID with CLID 2901 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for TileHWID with CLID 2902 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for TileTBID with CLID 2903 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for MDTIDHELPER with CLID 4170 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for CSCIDHELPER with CLID 4171 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for RPCIDHELPER with CLID 4172 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for TGCIDHELPER with CLID 4173 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for CaloLVL1_ID with CLID 108133391 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for CaloCell_ID with CLID 123500438 and storage type 68 to detector store DetDescrCnvSvc INFO filling address for CaloDM_ID with CLID 167756483 and storage type 68 to detector store PoolSvc INFO No POOL WriteCatalog was specified--using POOL default. XMLFileCatalog: level[Info] Connecting to the catalog PoolXMLFileCatalog: level[Info] Xerces-c initialization Number 0 AthenaPoolCnvSvc INFO Initializing AthenaPoolCnvSvc - package version AthenaPoolCnvSvc-00-02-00 EventSelector INFO Initializing EventSelector - package version EventSelectorAthenaPool-00-01-03 EventSelector INFO Create PoolCollectionConverter - CollectionType: ImplicitROOT Connection: InputCollection: rfio:/castor/cern.ch/user/h/hhayward/10.0.0/FakeMuons/Digitization/test/digi_1.root PoolXMLFileCatalog: level[Info] filename rfio:/castor/cern.ch/user/h/hhayward/10.0.0/FakeMuons/Digitization/test/digi_1.root does not exist XMLFileCatalog: level[Info] lookupFilebyPFN: Empty File ID found ImplicitCollection: level[Warning] (PersistencySvc) pool::PersistencySvc::UserDatabase::connectForRead PFN "rfio:/castor/cern.ch/user/h/hhayward/10.0.0/FakeMuons/Digitization/test/digi_1.root" is not existing Status=ERROR ImplicitCollection: level[Warning] Cannot find persistency storage type. Trying ROOT_StorageType PoolXMLFileCatalog: level[Info] filename rfio:/castor/cern.ch/user/h/hhayward/10.0.0/FakeMuons/Digitization/test/digi_1.root does not exist XMLFileCatalog: level[Info] lookupFilebyPFN: Empty File ID found DbSession: level[Info] Open DbSession Domain[ROOT_All]: level[Info] > Access DbDomain READ [ROOT_All] Domain[ROOT_All]: level[Info] -> Access DbDatabase READ [ROOT_All] rfio:/castor/cern.ch/user/h/hhayward/10.0.0/FakeMuons/Digitization/test/digi_1.root rfio:/castor/cern.ch/user/h/hhayward/10.0.0/FakeMuons/Digitization/test/digi_1.root: level[Info] Database being retired... Domain[ROOT_All]: level[Info] -> Deaccess DbDatabase READ [ROOT_All] rfio:/castor/cern.ch/user/h/hhayward/10.0.0/FakeMuons/Digitization/test/digi_1.root Domain[ROOT_All]: level[Info] > Deaccess DbDomain READ [ROOT_All] DbSession: level[Info] Open DbSession Domain[ROOT_All]: level[Info] > Access DbDomain READ [ROOT_All] Domain[ROOT_All]: level[Info] -> Access DbDatabase READ [ROOT_All] rfio:/castor/cern.ch/user/h/hhayward/10.0.0/FakeMuons/Digitization/test/digi_1.root ImplicitCollection: level[Info] Opened the implicit collection with connection string "PFN:rfio:/castor/cern.ch/user/h/hhayward/10.0.0/FakeMuons/Digitization/test/digi_1.root" ImplicitCollection: level[Info] and a name "POOLContainer_DataHeader" EventSelector INFO EventSelection with query EventSelector INFO ----- EventSelectorAthenaPool Initialized Properly PartPropSvc INFO PDT file(s): PartPropSvc INFO PDGTABLE.MeV PartPropSvc INFO Type: PDG --------------- HepPDT Version 1.00.01 --------------- found 258 particles POOL/Services/RelationalService: level[Info] Found plugin for RDBMS technology "mysql" with implementation "odbc" POOL/Services/RelationalService: level[Info] Found plugin for RDBMS technology "oracle" with native implementation POOL/Services/RelationalService: level[Info] Found plugin for RDBMS technology "sqlite" with native implementation POOL/Services/RelationalService: level[Info] Default implementation for RDBMS technology "mysql" is "odbc" POOL/Services/RelationalService: level[Info] Default implementation for RDBMS technology "oracle" is native POOL/Services/RelationalService: level[Info] Default implementation for RDBMS technology "sqlite" is native POOL/RelationalPlugins/oracle: level[Info] Connected to a server running Oracle version 9.2.0.6.0 GeoModelSvc INFO PixelDetectorTool appended to detector list GeoModelSvc INFO SCT_DetectorTool appended to detector list GeoModelSvc INFO InDetServMatTool appended to detector list GeoModelSvc INFO BeamPipeDetectorTool appended to detector list GeoModelSvc.PixelDetectorTool INFO PixelDetectorTool: Detector Information coming from the database and job options IGNORED. GeoModelSvc.PixelDetectorTool INFO Keys for Pixel Switches are ATLAS-00 ATLAS GeoModelSvc.PixelDetectorTool INFO Creating the Pixel GeoModelSvc.PixelDetectorTool INFO Pixel Geometry Options: GeoModelSvc.PixelDetectorTool INFO Services = true GeoModelSvc.PixelDetectorTool INFO G3DigitsCompatible = false GeoModelSvc.PixelDetectorTool INFO Alignable = false GeoModelSvc.PixelDetectorTool INFO UseMagFieldSvc = false GeoModelSvc.PixelDetectorTool INFO DC1Geometry = false GeoModelSvc.PixelDetectorTool INFO InitialLayout = false HELLO from ORACLE PIXEL GEOMETRY MANAGER Instantiating Pixel Detector Barrel Version 15.3 Endcap Version 15.3 GeoModelSvc.PixelDetectorTool INFO create(theExpt) EventPersistencySvc INFO Added successfully Conversion service:DetDescrCnvSvc IdDictDetDescrCnv INFO in initialize IdDictDetDescrCnv INFO in createObj: creating a IdDictManager object in the detector store IdDictDetDescrCnv INFO IdDictName: IdDictParser/ATLAS_IDS.xml IdDictDetDescrCnv INFO Reading MuonSpectrometer IdDict file IdDictMuonSpectrometer_P.03.xml IdDictDetDescrCnv INFO Found id dicts: IdDictDetDescrCnv INFO Dictionary ATLAS version default IdDictDetDescrCnv INFO Dictionary Calorimeter version default IdDictDetDescrCnv INFO Dictionary InnerDetector version default IdDictDetDescrCnv INFO Dictionary LArCalorimeter version fullAtlas IdDictDetDescrCnv INFO Dictionary MuonSpectrometer version P.03 IdDictDetDescrCnv INFO Dictionary TileCalorimeter version fullAtlasAndTestBeam PixelID INFO Initialize from dictionary AtlasDetectorID::initialize_from_dictionary - OK PixelDetectorFactory INFO Building Pixel Detector PixelDetectorFactory INFO DC2, Layout: Final, Version: 2.02.00, DC2 Geometry PixelDetectorFactory INFO B-Layer basic eta pitch: 400um PixelDetectorFactory INFO B-Layer sensor thickness: 250um GeoModelSvc.SCT_DetectorTool INFO Building SCT with Version Tag: ATLAS-00 at Node: ATLAS GeoModelSvc.SCT_DetectorTool INFO SCT_DetectorTool: Detector Information coming from the database and job options IGNORED. GeoModelSvc.SCT_DetectorTool INFO Keys for SCT Switches are ATLAS-00 ATLAS GeoModelSvc.SCT_DetectorTool INFO Creating the SCT GeoModelSvc.SCT_DetectorTool INFO SCT Geometry Options: GeoModelSvc.SCT_DetectorTool INFO G3Compatible geometry: false GeoModelSvc.SCT_DetectorTool INFO G3DigitsCompatible: false GeoModelSvc.SCT_DetectorTool INFO DC2Geometry: true GeoModelSvc.SCT_DetectorTool INFO UseMagFieldSvc: false GeoModelSvc.SCT_DetectorTool INFO InitialLayout: false GeoModelSvc.SCT_DetectorTool INFO Alignable: false GeoModelSvc.SCT_DetectorTool INFO BuildFromNova: false SCT_GeoModel INFO Retrieving Record Sets from database SCT_GeoModel INFO Using version tag: ATLAS-00 SCT_GeoModel INFO at node: ATLAS AtlasDetectorID::initialize_from_dictionary - OK SCT_ID INFO SCT_ID::initialize_from_dict SCT_DetectorFactory INFO In SCT Detector Factory SCT_DetectorFactory INFO DC2, Layout: Final, Version: 2.01.01, DC2 Geometry GeoModelSvc.InDetServMatTool INFO Building Inner Detector Service Material MagFieldAthenaSvc INFO in initialize() MagFieldAthenaSvc INFO Retrieving Magnetic Field from DD DataBase! MagFieldAthenaSvc INFO Using Atlas Geometry version tag: ATLAS-00 MagFieldAthenaSvc INFO Using Atlas Geometry version tag: MagFieldAthenaSvc INFO Selected source : ORACLE MagFieldAthenaSvc INFO Input Bfield file :'bmagatlas02.data' MagFieldAthenaSvc INFO m_MagneticFieldStatus: 0 found as /afs/cern.ch/atlas/software/dist/10.0.1/InstallArea/share/bmagatlas02.data MagFieldAthenaSvc INFO Call setmagfield /afs/cern.ch/atlas/software/dist/10.0.1/InstallArea/share/bmagatlas02.data MagFieldAthenaSvc INFO Call setmagfield 74 MagFieldAthenaSvc INFO Call setmagfield 0 MagFieldAthenaSvc INFO r tran 90 FIRST T MagFieldAthenaSvc INFO r tran 90 FName / MagFieldAthenaSvc INFO r tran 90 SName 74 MagFieldAthenaSvc INFO r tran 90 Istate 0 MagFieldAthenaSvc INFO r tran 90 BFName /afs/cern.ch/atlas/software/dist/10.0.1/InstallArea/share/bmagatlas02.data MagFieldAthenaSvc INFO r tran 90 Istate1 0 ===> ReBfield opening /afs/cern.ch/atlas/software/dist/10.0.1/InstallArea/share/bmagatlas02.data ===> opened ===> DTB: B-3D ===> Tabulated 3D mag. field version B-3D-O.1 has been read from file No 17 by routine REAMAG ===> ********** **** ******** ===> Tabulated nonlinear 3D mag. field has been read from file No 17 by routine RFELIX ===> **** ******** ===> Tabulated 3D mag. field limits set to : ===> RTORI,ZTORI,RTORO,ZTORO = 423.0 681.5 1500.0 2300.0 (cm) ===> Vetermp: B-3D MagFieldAthenaSvc INFO r tran 90 VERTEMP B-3D MagFieldAthenaSvc INFO r tran 90 Istate2 1 MagFieldAthenaSvc INFO After setmagfield /afs/cern.ch/atlas/software/dist/10.0.1/InstallArea/share/bmagatlas02.data MagFieldAthenaSvc INFO After setmagfield 74 MagFieldAthenaSvc INFO After setmagfield 1 MagFieldAthenaSvc INFO Version > B3DO 1 TrajectorySvc INFO TrajectorySvc::initialize() FastField: central_field 2.08T - please be patient while the solenoid is parametrised !! AthenaEventLoopMgr INFO Initializing AthenaEventLoopMgr - package version AthenaServices-01-05-22 NameAuditor INFO About to Enter EventCounter Initialization Method EventCounter INFO EventCounter:EventCounter::initialize - Frequency: 100 NameAuditor INFO Just Exited EventCounter Initialization Method NameAuditor INFO About to Enter PixelRegionSelectorTable Initialization Method PixelRegionSelectorTable INFO initialize() PixelRegionSelectorTable INFO Algorithm Properties PixelRegionSelectorTable INFO Detector Manager: Pixel PixelRegionSelectorTable INFO Output File: RoITablePixel.txt PixelRegionSelectorTable INFO DeltaZ: 168 mm PixelRegionSelectorTable INFO Print hashId: true PixelRegionSelectorTable INFO Print Table: false Using NEW InDet Detector Manager 111 Pixel Barrel Layers 111 Pixel EndCap Layers 111 ToolSvc.SCTDigitAccessor INFO initialize ToolSvc.SCTDigitAccessor INFO Found the SCT_DetectorManager. ToolSvc.SCTDigitAccessor INFO SCTDigitAccessor initialized successfully. PixelRegionSelectorTable INFO Pixel RegionSelectorLUT successfully saved in detector Store NameAuditor INFO Just Exited PixelRegionSelectorTable Initialization Method NameAuditor INFO About to Enter SCT_RegionSelectorTable Initialization Method SCT_RegionSelectorTable INFO initialize() SCT_RegionSelectorTable INFO Algorithm Properties SCT_RegionSelectorTable INFO Detector Manager: SCT SCT_RegionSelectorTable INFO Output File: RoITableSCT.txt SCT_RegionSelectorTable INFO DeltaZ: 168 mm SCT_RegionSelectorTable INFO Print hashId: true SCT_RegionSelectorTable INFO Print Table: false SCT_RegionSelectorTable INFO Sct RegionSelectorLUT successfully saved in detector Store NameAuditor INFO Just Exited SCT_RegionSelectorTable Initialization Method NameAuditor INFO About to Enter TRT_RegionSelectorTable Initialization Method TRT_RegionSelectorTable INFO initialize() TRT_RegionSelectorTable INFO Algorithm Properties TRT_RegionSelectorTable INFO Detector Manager: TRT TRT_RegionSelectorTable INFO Output File: RoITableTRT.txt TRT_RegionSelectorTable INFO DeltaZ: 168 mm TRT_RegionSelectorTable INFO Print hashId: true TRT_RegionSelectorTable INFO Print Table: false TRT_RegionSelectorTable FATAL Could not find the Manager: TRT ! NameAuditor INFO Just Exited TRT_RegionSelectorTable Initialization Method AthenaEventLoopMgr ERROR Unable to initialize Algorithm: TRT_RegionSelectorTable AthenaEventLoopMgr ERROR Failed to initialize base class MinimalEventLoopMgr ServiceManager ERROR Unable to initialize Service: AthenaEventLoopMgr -+- 10 A theApp.exit( result.isFailure() ) ApplicationMgr FATAL Invalid initial state ApplicationMgr INFO Application Manager Terminated successfully