diff --git a/src/DIRC_geo.cpp b/src/DIRC_geo.cpp index 03f4d9be0de116d71cb67c8f2fa57167b84e6cbc..1abbd45f9357084f58ed3c15782aa60e63d94ede 100644 --- a/src/DIRC_geo.cpp +++ b/src/DIRC_geo.cpp @@ -162,7 +162,7 @@ static Ref_t createDetector(Detector& desc, xml_h e, SensitiveDetector sens) Volume lGlue("lGlue", gGlue, desc.material(xml_glue.materialStr())); lGlue.setVisAttributes(desc.visAttributes(xml_glue.visStr())); - sens.setType("photoncounter"); + sens.setType("tracker"); lBar.setSensitiveDetector(sens); int bars_repeat_z = 4; // TODO parametrize! @@ -320,7 +320,7 @@ static Ref_t createDetector(Detector& desc, xml_h e, SensitiveDetector sens) // Box bar_geo(bar_thicknes / 2., bar_width / 2., bar_length / 2.); // Volume bar_volume("cb_DIRC_bars_Logix", bar_geo, bar_material); // bar_volume.setVisAttributes(desc.visAttributes(xml_det.visStr())); - // sens.setType("photoncounter"); + // sens.setType("tracker"); // bar_volume.setSensitiveDetector(sens); // for (int ia = 0; ia < bar_count; ia++) { diff --git a/src/DRICH_geo.cpp b/src/DRICH_geo.cpp index a53fa0514cdec3012e55e1f8db0102615a2349de..c243fd324f17907f86426df531fac4b08551048f 100644 --- a/src/DRICH_geo.cpp +++ b/src/DRICH_geo.cpp @@ -217,7 +217,7 @@ static Ref_t createDetector(Detector& desc, xml::Handle_t handle, SensitiveDetec // sensitive detector type - sens.setType("photoncounter"); + sens.setType("tracker"); // BUILD RADIATOR ==================================================================== diff --git a/src/GaseousRICH_geo.cpp b/src/GaseousRICH_geo.cpp index ab26484b085792ec2c4a2bd42010461729746d93..17bc1ddc3f9f754f3347d920d376468b3774025d 100644 --- a/src/GaseousRICH_geo.cpp +++ b/src/GaseousRICH_geo.cpp @@ -75,7 +75,7 @@ static Ref_t createDetector(Detector& desc, xml::Handle_t handle, SensitiveDetec envVol.setVisAttributes(desc.visAttributes(detElem.visStr())); // sensitive detector type - sens.setType("photoncounter"); + sens.setType("tracker"); // @TODO: place a radiator // build_radiator(desc, envVol, detElement.child(_Unicode(radiator)), snout_front); diff --git a/src/MRich_geo.cpp b/src/MRich_geo.cpp index c3c98668992a15ed75994919406392afa128a7bd..0be8409df32db03f8d7ba080f920eb12c98bfb14 100644 --- a/src/MRich_geo.cpp +++ b/src/MRich_geo.cpp @@ -29,7 +29,7 @@ static Ref_t createDetector(Detector& description, xml::Handle_t e, SensitiveDet string det_name = x_det.nameStr(); DetElement sdet(det_name, x_det.id()); Assembly assembly(det_name); - sens.setType("photoncounter"); + sens.setType("tracker"); OpticalSurfaceManager surfMgr = description.surfaceManager(); bool projective = getAttrOrDefault(x_det, _Unicode(projective), false); @@ -437,7 +437,7 @@ static Ref_t createDetector(Detector& description, xml::Handle_t e, SensitiveDet // modVol.placeVolume(mVol, Position(0., 0., -0.1*mm)); // // modVol.setVisAttributes(description.visAttributes(mods.visStr())); -// sens.setType("photoncounter"); +// sens.setType("tracker"); // modVol.setSensitiveDetector(sens); // // // place modules in the sectors (disk) diff --git a/src/PFRICH_geo.cpp b/src/PFRICH_geo.cpp index a6f719562cce218d5e0df48c2c58944568822ae2..393d577ddcdfaf64a0dd62bfe4890a9c3b32611d 100644 --- a/src/PFRICH_geo.cpp +++ b/src/PFRICH_geo.cpp @@ -145,7 +145,7 @@ static Ref_t createDetector(Detector& desc, xml::Handle_t handle, SensitiveDetec auto originBack = Position(0., 0., -vesselLength / 2.0); // sensitive detector type - sens.setType("photoncounter"); + sens.setType("tracker"); // BUILD RADIATOR //////////////////////////////////////