Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Sherwood
athena
Commits
6931bc90
Commit
6931bc90
authored
6 years ago
by
Sanya Solodkov
Browse files
Options
Downloads
Patches
Plain Diff
minor update in jobOptions_TileCalibRec.py - preparing to read new RDO
Former-commit-id: 7afdb1dfbec64c39a789dd7c6c393c4574236e04
parent
45176a52
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
TileCalorimeter/TileExample/TileRecEx/share/jobOptions_TileCalibRec.py
+17
-4
17 additions, 4 deletions
...er/TileExample/TileRecEx/share/jobOptions_TileCalibRec.py
with
17 additions
and
4 deletions
TileCalorimeter/TileExample/TileRecEx/share/jobOptions_TileCalibRec.py
+
17
−
4
View file @
6931bc90
...
@@ -637,6 +637,9 @@ from AthenaCommon.BeamFlags import jobproperties
...
@@ -637,6 +637,9 @@ from AthenaCommon.BeamFlags import jobproperties
#jobproperties.Beam.beamType.set_Value_and_Lock('cosmics')
#jobproperties.Beam.beamType.set_Value_and_Lock('cosmics')
jobproperties
.
Beam
.
beamType
.
set_Value_and_Lock
(
'
collisions
'
)
jobproperties
.
Beam
.
beamType
.
set_Value_and_Lock
(
'
collisions
'
)
from
AthenaCommon.AthenaCommonFlags
import
athenaCommonFlags
athenaCommonFlags
.
FilesInput
.
set_Value_and_Lock
(
FileNameVec
)
from
AthenaCommon.DetFlags
import
DetFlags
from
AthenaCommon.DetFlags
import
DetFlags
DetFlags
.
Calo_setOff
()
#Switched off to avoid geometry
DetFlags
.
Calo_setOff
()
#Switched off to avoid geometry
DetFlags
.
ID_setOff
()
DetFlags
.
ID_setOff
()
...
@@ -651,8 +654,6 @@ DetFlags.detdescr.LAr_setOn()
...
@@ -651,8 +654,6 @@ DetFlags.detdescr.LAr_setOn()
DetFlags
.
detdescr
.
Tile_setOn
()
DetFlags
.
detdescr
.
Tile_setOn
()
if
TileL1CaloRun
:
if
TileL1CaloRun
:
DetFlags
.
detdescr
.
LVL1_setOn
()
DetFlags
.
detdescr
.
LVL1_setOn
()
from
AthenaCommon.AthenaCommonFlags
import
athenaCommonFlags
athenaCommonFlags
.
FilesInput
.
set_Value_and_Lock
(
FileNameVec
)
if
ReadPool
:
if
ReadPool
:
DetFlags
.
readRDOPool
.
Tile_setOn
()
DetFlags
.
readRDOPool
.
Tile_setOn
()
if
TileL1CaloRun
:
if
TileL1CaloRun
:
...
@@ -827,8 +828,20 @@ if not OfcFromCOOL and (doTileOpt2 or doTileOptATLAS or doTileOF1):
...
@@ -827,8 +828,20 @@ if not OfcFromCOOL and (doTileOpt2 or doTileOptATLAS or doTileOF1):
from
AthenaCommon.AlgSequence
import
AlgSequence
from
AthenaCommon.AlgSequence
import
AlgSequence
topSequence
=
AlgSequence
()
topSequence
=
AlgSequence
()
from
xAODEventInfoCnv.xAODEventInfoCreator
import
xAODMaker__EventInfoCnvAlg
if
not
'
newRDO
'
in
dir
()
or
newRDO
is
None
:
topSequence
+=
xAODMaker__EventInfoCnvAlg
()
if
'
ReadRDO
'
in
dir
()
and
ReadRDO
:
from
RecExConfig.InputFilePeeker
import
inputFileSummary
from
RecExConfig.ObjKeyStore
import
objKeyStore
objKeyStore
.
addManyTypesInputFile
(
inputFileSummary
[
'
eventdata_itemsList
'
])
newRDO
=
objKeyStore
.
isInInput
(
"
xAOD::EventInfo
"
)
else
:
newRDO
=
True
if
ReadPool
and
newRDO
:
topSequence
+=
CfgMgr
.
xAODMaker__EventInfoNonConstCnvAlg
()
else
:
from
xAODEventInfoCnv.xAODEventInfoCreator
import
xAODMaker__EventInfoCnvAlg
topSequence
+=
xAODMaker__EventInfoCnvAlg
()
#=============================================================
#=============================================================
#=== read ByteStream and reconstruct data
#=== read ByteStream and reconstruct data
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment