Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
atlas
athena
Merge requests
!21026
Implement SCTSiPropertiesTestAlg (
ATLASRECTS-4832
)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Implement SCTSiPropertiesTestAlg (
ATLASRECTS-4832
)
oda/athena:master-ATLASRECTS-4832-SCTProperties
into
master
Overview
6
Commits
3
Pipelines
2
Changes
6
Merged
Susumu Oda
requested to merge
oda/athena:master-ATLASRECTS-4832-SCTProperties
into
master
6 years ago
Overview
6
Commits
3
Pipelines
2
Changes
6
Expand
Implement SCTSiPropertiesTestAlg.
https://its.cern.ch/jira/browse/ATLASRECTS-4832
Edited
6 years ago
by
Susumu Oda
0
0
Merge request reports
Compare
master
version 1
e906c463
6 years ago
master (base)
and
latest version
latest version
aaf12edd
3 commits,
6 years ago
version 1
e906c463
2 commits,
6 years ago
6 files
+
190
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
InnerDetector/InDetConditions/SiPropertiesSvc/share/testSCTProperties.py
0 → 100644
+
100
−
0
Options
import
AthenaCommon.AtlasUnixStandardJob
#--------------------------------------------------------------
# Thread-specific setup
#--------------------------------------------------------------
from
AthenaCommon.ConcurrencyFlags
import
jobproperties
if
jobproperties
.
ConcurrencyFlags
.
NumThreads
()
>
0
:
from
AthenaCommon.AlgScheduler
import
AlgScheduler
AlgScheduler
.
CheckDependencies
(
True
)
AlgScheduler
.
ShowControlFlow
(
True
)
AlgScheduler
.
ShowDataDependencies
(
True
)
# use auditors
from
AthenaCommon.AppMgr
import
ServiceMgr
from
GaudiSvc.GaudiSvcConf
import
AuditorSvc
ServiceMgr
+=
AuditorSvc
()
theAuditorSvc
=
ServiceMgr
.
AuditorSvc
theAuditorSvc
.
Auditors
+=
[
"
ChronoAuditor
"
]
theAuditorSvc
.
Auditors
+=
[
"
MemStatAuditor
"
]
theApp
.
AuditAlgorithms
=
True
#--------------------------------------------------------------
# Load Geometry
#--------------------------------------------------------------
from
AthenaCommon.GlobalFlags
import
globalflags
globalflags
.
DetDescrVersion
=
"
ATLAS-R2-2015-03-01-00
"
globalflags
.
DetGeo
=
"
atlas
"
globalflags
.
InputFormat
=
"
pool
"
globalflags
.
DataSource
=
"
geant4
"
print
globalflags
#--------------------------------------------------------------
# Set Detector setup
#--------------------------------------------------------------
# --- switch on InnerDetector
from
AthenaCommon.DetFlags
import
DetFlags
DetFlags
.
detdescr
.
SCT_setOn
()
DetFlags
.
ID_setOn
()
DetFlags
.
Calo_setOff
()
DetFlags
.
Muon_setOff
()
DetFlags
.
Truth_setOff
()
DetFlags
.
LVL1_setOff
()
DetFlags
.
SCT_setOn
()
DetFlags
.
TRT_setOff
()
# ---- switch parts of ID off/on as follows
#switch off tasks
DetFlags
.
pileup
.
all_setOff
()
DetFlags
.
simulate
.
all_setOff
()
DetFlags
.
makeRIO
.
all_setOff
()
DetFlags
.
writeBS
.
all_setOff
()
DetFlags
.
readRDOBS
.
all_setOff
()
DetFlags
.
readRIOBS
.
all_setOff
()
DetFlags
.
readRIOPool
.
all_setOff
()
DetFlags
.
writeRIOPool
.
all_setOff
()
import
AtlasGeoModel.SetGeometryVersion
import
AtlasGeoModel.GeoModelInit
from
AthenaCommon.AlgSequence
import
AlgSequence
job
=
AlgSequence
()
#--------------------------------------------------------------
# Load IOVDbSvc
#--------------------------------------------------------------
IOVDbSvc
=
Service
(
"
IOVDbSvc
"
)
from
IOVDbSvc.CondDB
import
conddb
IOVDbSvc
.
GlobalTag
=
"
OFLCOND-MC16-SDR-18
"
IOVDbSvc
.
OutputLevel
=
3
# Setup the DCS folders and tool used in the sctSiliconConditionsTool
from
SCT_ConditionsTools.SCT_DCSConditionsToolSetup
import
SCT_DCSConditionsToolSetup
sct_DCSConditionsToolSetup
=
SCT_DCSConditionsToolSetup
()
sct_DCSConditionsToolSetup
.
setup
()
# Set up SCT_SiliconConditionsTool
from
SCT_ConditionsTools.SCT_SiliconConditionsToolSetup
import
SCT_SiliconConditionsToolSetup
sct_SiliconConditionsToolSetup
=
SCT_SiliconConditionsToolSetup
()
sct_SiliconConditionsToolSetup
.
setDcsTool
(
sct_DCSConditionsToolSetup
.
getTool
())
sct_SiliconConditionsToolSetup
.
setup
()
# Set up SCT_SiPropertiesTool
from
SiPropertiesSvc.SCT_SiPropertiesToolSetup
import
SCT_SiPropertiesToolSetup
sct_SiPropertiesToolSetup
=
SCT_SiPropertiesToolSetup
()
sct_SiPropertiesToolSetup
.
setSiliconTool
(
sct_SiliconConditionsToolSetup
.
getTool
())
sct_SiPropertiesToolSetup
.
setup
()
# Set up SCTSiPropertiesTestAlg
from
SiPropertiesSvc.SiPropertiesSvcConf
import
SCTSiPropertiesTestAlg
job
+=
SCTSiPropertiesTestAlg
(
SCTPropertiesTool
=
sct_SiPropertiesToolSetup
.
getTool
())
# Prepare EventSelector
import
AthenaCommon.AtlasUnixGeneratorJob
ServiceMgr
.
EventSelector
.
RunNumber
=
300000
# MC16c 2017 run number
ServiceMgr
.
EventSelector
.
InitialTimeStamp
=
1500000000
ServiceMgr
.
EventSelector
.
TimeStampInterval
=
0
theApp
.
EvtMax
=
20
ServiceMgr
.
MessageSvc
.
OutputLevel
=
3
Loading