Skip to content

Commit d2ccef3

Browse files
authored
Replace std::cout with printout for radius logging
std::cout has been removed and printout in debug mode has been added for Rmin and Rmax.
1 parent c7e0306 commit d2ccef3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DRICH_geo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ static Ref_t createDetector(Detector& desc, xml::Handle_t handle, SensitiveDetec
360360
std::vector<double> outerRadiusBottoms_half1;
361361
std::vector<double> outerRadiusTops_half1;
362362

363-
std::cout << "radiatorRmin " << radiatorRmin << std::endl;
364-
std::cout << "radiatorRmax " << radiatorRmax << std::endl;
363+
printout(DEBUG, "DRICH_geo", "radiator (Rmin) %lf:", radiatorRmin);
364+
printout(DEBUG, "DRICH_geo", "radiator (Rmax) %lf:", radiatorRmax);
365365

366366
for (int i = 0; i < numCrowns; i++) {
367367

0 commit comments

Comments
 (0)