Skip to content
Snippets Groups Projects
Commit 63be8857 authored by Chao Peng's avatar Chao Peng
Browse files

fix a typo and adjust z position

parent 70707aa2
No related branches found
No related tags found
1 merge request!10Resolve "Implement ce_MRICH"
Pipeline #7815 failed
This commit is part of merge request !10. Comments created here will be created in the context of that merge request.
...@@ -465,7 +465,7 @@ ...@@ -465,7 +465,7 @@
<constant name="ce_MRICHRMin" value="15*cm"/> <constant name="ce_MRICHRMin" value="15*cm"/>
<constant name="ce_MRICHRMax" value="100*cm"/> <constant name="ce_MRICHRMax" value="100*cm"/>
<constant name="ce_MRICHLength" value="15*cm"/> <constant name="ce_MRICHLength" value="15*cm"/>
<constant name="ce_MRICHZMin" value="-SolenoidYokeEndcap_zmin"/> <constant name="ce_MRICHZMin" value="-EcalEndcap_zmin+10.*cm"/>
......
...@@ -33,7 +33,7 @@ static Ref_t createDetector(Detector& desc, xml::Handle_t handle, SensitiveDetec ...@@ -33,7 +33,7 @@ static Ref_t createDetector(Detector& desc, xml::Handle_t handle, SensitiveDetec
auto length = dims.length(); auto length = dims.length();
auto z0 = dims.z(); auto z0 = dims.z();
auto gasMat = desc.material("Air"); auto gasMat = desc.material("AirOptical");
// detector envelope // detector envelope
Tube envShape(rmin, rmax, length/2., 0., 2*M_PI); Tube envShape(rmin, rmax, length/2., 0., 2*M_PI);
...@@ -65,7 +65,7 @@ void addModules(Volume &mother, xml::DetElement &detElem, Detector &desc, Sensit ...@@ -65,7 +65,7 @@ void addModules(Volume &mother, xml::DetElement &detElem, Detector &desc, Sensit
auto mGap = mods.attr<double>(_Unicode(gap)); auto mGap = mods.attr<double>(_Unicode(gap));
auto modMat = desc.material(mods.materialStr()); auto modMat = desc.material(mods.materialStr());
auto gasMat = desc.material("Air"); auto gasMat = desc.material("AirOptical");
// single module // single module
Box mShape(mWidth/2., mWidth/2., mThick/2. - 0.1*mm); Box mShape(mWidth/2., mWidth/2., mThick/2. - 0.1*mm);
......
...@@ -9,6 +9,6 @@ typedef ROOT::Math::XYPoint Point; ...@@ -9,6 +9,6 @@ typedef ROOT::Math::XYPoint Point;
// fill squares in a ring // fill squares in a ring
std::vector<Point> fillSquares(Point ref, double lside, double rmin, double rmax, 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 } // ref::utils
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment