Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Reference Detector
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
EIC
detectors
Reference Detector
Commits
63be8857
Commit
63be8857
authored
4 years ago
by
Chao Peng
Browse files
Options
Downloads
Patches
Plain Diff
fix a typo and adjust z position
parent
70707aa2
No related branches found
No related tags found
1 merge request
!10
Resolve "Implement ce_MRICH"
Pipeline
#7815
failed
4 years ago
Stage: config
Stage: build
Stage: docs
Stage: test
Stage: finalize
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
compact/definitions.xml
+1
-1
1 addition, 1 deletion
compact/definitions.xml
src/ce_MRICH.cpp
+2
-2
2 additions, 2 deletions
src/ce_MRICH.cpp
src/ref_utils.h
+1
-1
1 addition, 1 deletion
src/ref_utils.h
with
4 additions
and
4 deletions
compact/definitions.xml
+
1
−
1
View file @
63be8857
...
...
@@ -465,7 +465,7 @@
<constant
name=
"ce_MRICHRMin"
value=
"15*cm"
/>
<constant
name=
"ce_MRICHRMax"
value=
"100*cm"
/>
<constant
name=
"ce_MRICHLength"
value=
"15*cm"
/>
<constant
name=
"ce_MRICHZMin"
value=
"-
SolenoidYoke
Endcap_zmin"
/>
<constant
name=
"ce_MRICHZMin"
value=
"-
Ecal
Endcap_zmin
+10.*cm
"
/>
...
...
This diff is collapsed.
Click to expand it.
src/ce_MRICH.cpp
+
2
−
2
View file @
63be8857
...
...
@@ -33,7 +33,7 @@ static Ref_t createDetector(Detector& desc, xml::Handle_t handle, SensitiveDetec
auto
length
=
dims
.
length
();
auto
z0
=
dims
.
z
();
auto
gasMat
=
desc
.
material
(
"Air"
);
auto
gasMat
=
desc
.
material
(
"Air
Optical
"
);
// detector envelope
Tube
envShape
(
rmin
,
rmax
,
length
/
2.
,
0.
,
2
*
M_PI
);
...
...
@@ -65,7 +65,7 @@ void addModules(Volume &mother, xml::DetElement &detElem, Detector &desc, Sensit
auto
mGap
=
mods
.
attr
<
double
>
(
_Unicode
(
gap
));
auto
modMat
=
desc
.
material
(
mods
.
materialStr
());
auto
gasMat
=
desc
.
material
(
"Air"
);
auto
gasMat
=
desc
.
material
(
"Air
Optical
"
);
// single module
Box
mShape
(
mWidth
/
2.
,
mWidth
/
2.
,
mThick
/
2.
-
0.1
*
mm
);
...
...
This diff is collapsed.
Click to expand it.
src/ref_utils.h
+
1
−
1
View file @
63be8857
...
...
@@ -9,6 +9,6 @@ typedef ROOT::Math::XYPoint Point;
// fill squares in a ring
std
::
vector
<
Point
>
fillSquares
(
Point
ref
,
double
lside
,
double
rmin
,
double
rmax
,
double
phmin
=
0.
,
double
phmax
=
2.
*
M_PI
);
double
phmin
=
-
M_PI
,
double
phmax
=
M_PI
);
}
// ref::utils
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