From cfd602304c9959c768cd1d51ceff37f6fcc5ca59 Mon Sep 17 00:00:00 2001 From: "Stephen A. Wood" <saw@jlab.org> Date: Tue, 31 Jan 2017 09:28:33 -0500 Subject: [PATCH] Change name of Cherenkov object hodoscope looks for to "cer" This should really be configurable as sometimes there will be two Cerenkovs and we should be able to choose which Cherekov the hodoscope should use in efficiency calculations. --- src/THcHodoscope.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/THcHodoscope.cxx b/src/THcHodoscope.cxx index 98ad1fe..228b969 100644 --- a/src/THcHodoscope.cxx +++ b/src/THcHodoscope.cxx @@ -139,7 +139,7 @@ void THcHodoscope::Setup(const char* name, const char* description) // --------------- To get energy from THcShower ---------------------- // --------------- To get NPEs from THcCherenkov ------------------- - const char* chern_detector_name = "cher"; + const char* chern_detector_name = "cer"; THaDetector* detc = app->GetDetector( chern_detector_name ); if( dynamic_cast<THcCherenkov*>(detc) ) { -- GitLab