Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CEPCSW
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Wiki
Code
Merge requests
13
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
cepc
CEPCSW
Commits
90be1cd8
Commit
90be1cd8
authored
1 year ago
by
FU Chengdong
Browse files
Options
Downloads
Patches
Plain Diff
parameterized resolution in comment
parent
eadd8b47
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
Detector/DetCRD/scripts/CRD_o1_v01-SimRec.py
+22
-0
22 additions, 0 deletions
Detector/DetCRD/scripts/CRD_o1_v01-SimRec.py
with
22 additions
and
0 deletions
Detector/DetCRD/scripts/CRD_o1_v01-SimRec.py
+
22
−
0
View file @
90be1cd8
#!/usr/bin/env python
#!/usr/bin/env python
import
os
from
Gaudi.Configuration
import
*
from
Gaudi.Configuration
import
*
NTupleSvc
().
Output
=
[
"
MyTuples DATAFILE=
'
test.root
'
OPT=
'
NEW
'
TYP=
'
ROOT
'"
]
from
Configurables
import
k4DataSvc
from
Configurables
import
k4DataSvc
dsvc
=
k4DataSvc
(
"
EventDataSvc
"
)
dsvc
=
k4DataSvc
(
"
EventDataSvc
"
)
...
@@ -125,6 +129,10 @@ digiVXD.TrackerHitCollection = vxdhitname
...
@@ -125,6 +129,10 @@ digiVXD.TrackerHitCollection = vxdhitname
digiVXD
.
ResolutionU
=
[
0.0028
,
0.006
,
0.004
,
0.004
,
0.004
,
0.004
]
digiVXD
.
ResolutionU
=
[
0.0028
,
0.006
,
0.004
,
0.004
,
0.004
,
0.004
]
digiVXD
.
ResolutionV
=
[
0.0028
,
0.006
,
0.004
,
0.004
,
0.004
,
0.004
]
digiVXD
.
ResolutionV
=
[
0.0028
,
0.006
,
0.004
,
0.004
,
0.004
,
0.004
]
digiVXD
.
UsePlanarTag
=
True
digiVXD
.
UsePlanarTag
=
True
# if Parameterized spatial resolution, set ParameterizeResolution to True
digiVXD
.
ParameterizeResolution
=
False
digiVXD
.
ParametersU
=
[
5.60959e-03
,
5.74913e-03
,
7.03433e-03
,
1.99516
,
-
663.952
,
3.752e-03
,
0
,
-
0.0704734
,
0.0454867e-03
,
1.07359
]
digiVXD
.
ParametersV
=
[
5.60959e-03
,
5.74913e-03
,
7.03433e-03
,
1.99516
,
-
663.952
,
3.752e-03
,
0
,
-
0.0704734
,
0.0454867e-03
,
1.07359
]
#digiVXD.OutputLevel = DEBUG
#digiVXD.OutputLevel = DEBUG
digiSIT
=
PlanarDigiAlg
(
"
SITDigi
"
)
digiSIT
=
PlanarDigiAlg
(
"
SITDigi
"
)
...
@@ -135,6 +143,10 @@ digiSIT.TrackerHitAssociationCollection = "SITTrackerHitAssociation"
...
@@ -135,6 +143,10 @@ digiSIT.TrackerHitAssociationCollection = "SITTrackerHitAssociation"
digiSIT
.
ResolutionU
=
[
0.0072
]
digiSIT
.
ResolutionU
=
[
0.0072
]
digiSIT
.
ResolutionV
=
[
0.086
]
digiSIT
.
ResolutionV
=
[
0.086
]
digiSIT
.
UsePlanarTag
=
True
digiSIT
.
UsePlanarTag
=
True
# if Parameterized spatial resolution, set ParameterizeResolution to True
digiSIT
.
ParameterizeResolution
=
False
digiSIT
.
ParametersU
=
[
2.29655e-03
,
0.965899e-03
,
0.584699e-03
,
17.0856
,
84.566
,
12.4695e-03
,
-
0.0643059
,
0.168662
,
1.87998e-03
,
0.514452
]
digiSIT
.
ParametersV
=
[
1.44629e-02
,
2.20108e-03
,
1.03044e-02
,
4.39195e+00
,
3.29641e+00
,
1.55167e+18
,
-
5.41954e+01
,
5.72986e+00
,
-
6.80699e-03
,
5.04095e-01
]
#digiSIT.OutputLevel = DEBUG
#digiSIT.OutputLevel = DEBUG
digiSET
=
PlanarDigiAlg
(
"
SETDigi
"
)
digiSET
=
PlanarDigiAlg
(
"
SETDigi
"
)
...
@@ -145,6 +157,10 @@ digiSET.TrackerHitAssociationCollection = "SETTrackerHitAssociation"
...
@@ -145,6 +157,10 @@ digiSET.TrackerHitAssociationCollection = "SETTrackerHitAssociation"
digiSET
.
ResolutionU
=
[
0.0072
]
digiSET
.
ResolutionU
=
[
0.0072
]
digiSET
.
ResolutionV
=
[
0.086
]
digiSET
.
ResolutionV
=
[
0.086
]
digiSET
.
UsePlanarTag
=
True
digiSET
.
UsePlanarTag
=
True
# if Parameterized spatial resolution, set ParameterizeResolution to True
digiSET
.
ParameterizeResolution
=
False
digiSET
.
ParametersU
=
[
2.29655e-03
,
0.965899e-03
,
0.584699e-03
,
17.0856
,
84.566
,
12.4695e-03
,
-
0.0643059
,
0.168662
,
1.87998e-03
,
0.514452
]
digiSET
.
ParametersV
=
[
1.44629e-02
,
2.20108e-03
,
1.03044e-02
,
4.39195e+00
,
3.29641e+00
,
1.55167e+18
,
-
5.41954e+01
,
5.72986e+00
,
-
6.80699e-03
,
5.04095e-01
]
#digiSET.OutputLevel = DEBUG
#digiSET.OutputLevel = DEBUG
digiFTD
=
PlanarDigiAlg
(
"
FTDDigi
"
)
digiFTD
=
PlanarDigiAlg
(
"
FTDDigi
"
)
...
@@ -155,11 +171,17 @@ digiFTD.TrackerHitAssociationCollection = "FTDTrackerHitAssociation"
...
@@ -155,11 +171,17 @@ digiFTD.TrackerHitAssociationCollection = "FTDTrackerHitAssociation"
digiFTD
.
ResolutionU
=
[
0.003
,
0.003
,
0.0072
,
0.0072
,
0.0072
,
0.0072
,
0.0072
]
digiFTD
.
ResolutionU
=
[
0.003
,
0.003
,
0.0072
,
0.0072
,
0.0072
,
0.0072
,
0.0072
]
digiFTD
.
ResolutionV
=
[
0.003
,
0.003
,
0.0072
,
0.0072
,
0.0072
,
0.0072
,
0.0072
]
digiFTD
.
ResolutionV
=
[
0.003
,
0.003
,
0.0072
,
0.0072
,
0.0072
,
0.0072
,
0.0072
]
digiFTD
.
UsePlanarTag
=
True
digiFTD
.
UsePlanarTag
=
True
# if Parameterized spatial resolution, set ParameterizeResolution to True
digiFTD
.
ParameterizeResolution
=
False
digiFTD
.
ParametersU
=
[
2.29655e-03
,
0.965899e-03
,
0.584699e-03
,
17.0856
,
84.566
,
12.4695e-03
,
-
0.0643059
,
0.168662
,
1.87998e-03
,
0.514452
]
digiFTD
.
ParametersV
=
[
1.44629e-02
,
2.20108e-03
,
1.03044e-02
,
4.39195e+00
,
3.29641e+00
,
1.55167e+18
,
-
5.41954e+01
,
5.72986e+00
,
-
6.80699e-03
,
5.04095e-01
]
#digiFTD.OutputLevel = DEBUG
#digiFTD.OutputLevel = DEBUG
from
Configurables
import
DCHDigiAlg
from
Configurables
import
DCHDigiAlg
digiDC
=
DCHDigiAlg
(
"
DCHDigi
"
)
digiDC
=
DCHDigiAlg
(
"
DCHDigi
"
)
digiDC
.
DigiDCHitCollection
=
dchitname
digiDC
.
DigiDCHitCollection
=
dchitname
# TODO: DCHDigiAlg need fixed, only WriteAna = True can run
digiDC
.
WriteAna
=
True
#digiDC.OutputLevel = DEBUG
#digiDC.OutputLevel = DEBUG
# two strip tracker hits -> one space point
# two strip tracker hits -> one space point
...
...
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