@@ -138,15 +138,9 @@ void FT3Module::fill_stave(PosNegPositionTypes& y_positions, double Rout,
138138 max_y_abs = calculate_y_circle (x_left, Rout) - tolerance;
139139 }
140140 unsigned n_sensors_placed = y_positions.first .size () + y_positions.second .size ();
141- LOG (info) << " \t FT3Module: Filling stave at x = " << (x_left + Constants::sensor2x1_width / 2 )
142- << " with sensors of height " << sensorTileHeight
143- << " . Starting positive y position: " << y_top
144- << " , maximum positive y position: " << max_y_abs
145- << " , with initially " << n_sensors_placed << " sensors already placed." ;
146141
147142 while ( (y_top + sensorTileHeight) <= max_y_abs ) {
148143 y_positions.first .emplace_back (y_top, kSensorStack );
149- LOG (info) << " \t\t\t FT3Module: Placed sensor at y = " << y_top;
150144 y_top += sensorTileHeight + Constants::sensor2x1_gap;
151145 }
152146
@@ -160,16 +154,11 @@ void FT3Module::fill_stave(PosNegPositionTypes& y_positions, double Rout,
160154 - Constants::sensor2x1_gap;
161155 }
162156
163- LOG (info) << " \t FT3Module: Starting negative y position: " << y_bottom
164- << " , minimum negative y position: " << -max_y_abs;
165157 while ( (y_bottom - sensorTileHeight) >= -max_y_abs ) {
166158 y_positions.second .emplace_back (y_bottom, kSensorStack );
167- LOG (info) << " \t\t\t FT3Module: Placed sensor at y = " << y_bottom;
168159 y_bottom -= (sensorTileHeight + Constants::sensor2x1_gap);
169160 }
170161 unsigned sensors_placed_after = y_positions.first .size () + y_positions.second .size ();
171- LOG (info) << " \t FT3Module: Done filling stave. Now have "
172- << sensors_placed_after << " sensors in total." ;
173162}
174163
175164/*
@@ -184,11 +173,6 @@ void FT3Module::addStaveVolume(
184173 // Set some constants for readability
185174 double d = Constants::effectiveCarbonThickness_Stave;
186175 double H = Constants::staveTriangleHeight;
187- LOG (info) << " \t FT3Module: Adding stave volume " << volumeName
188- << " with count " << *volume_count
189- << " at (x_mid,y_mid,z_stave_shift_abs) = (" << x_mid << " , "
190- << y_mid << " , " << z_stave_shift_abs << " ), as well as length "
191- << staveLength << " and triangle height " << H;
192176 /*
193177 * Inner and outer vertices of the stave cross section triangle
194178 * all vertices are at y_mid, we simply extend the triangle into y dir.
@@ -255,16 +239,6 @@ void FT3Module::addStaveVolume(
255239 staveShape,
256240 carbonFiberMed
257241 );
258- if (*volume_count == 0 && direction == 1 ) {
259- LOG (info) << " Outer triangle vertices (x, z): "
260- << " (" << xv_outer[0 ] << " , " << zv_outer[0 ] << " ), "
261- << " (" << xv_outer[1 ] << " , " << zv_outer[1 ] << " ), "
262- << " (" << xv_outer[2 ] << " , " << zv_outer[2 ] << " )" ;
263- LOG (info) << " Inner triangle vertices (x, z): "
264- << " (" << xv_inner[0 ] << " , " << zv_inner[0 ] << " ), "
265- << " (" << xv_inner[1 ] << " , " << zv_inner[1 ] << " ), "
266- << " (" << xv_inner[2 ] << " , " << zv_inner[2 ] << " )" ;
267- }
268242 TGeoRotation* rot = new TGeoRotation ();
269243 rot->RotateX (-90 ); // lift from xy plane into xz plane
270244 /*
@@ -281,11 +255,6 @@ void FT3Module::addStaveVolume(
281255 *volume_count,
282256 combiTrans);
283257 (*volume_count)++;
284- // print:
285- TGeoNode* node = motherVolume->GetNode (motherVolume->GetNdaughters () - 1 );
286- const Double_t* translation = node->GetMatrix ()->GetTranslation ();
287- LOG (info) << " \t\t Stave node position: (" << translation[0 ] << " , "
288- << translation[1 ] << " , " << translation[2 ] << " )" ;
289258}
290259
291260/*
@@ -435,7 +404,7 @@ void FT3Module::create_layout_staveGeo(double mZ, int layerNumber, int direction
435404 double Rin, double Rout, double overlap,
436405 TGeoVolume* motherVolume)
437406{
438- LOG (info ) << " FT3Module: create_layout_staveGeo - Layer "
407+ LOG (debug ) << " FT3Module: create_layout_staveGeo - Layer "
439408 << layerNumber << " , Direction " << direction;
440409
441410 FT3Module::initialize_materials ();
@@ -533,20 +502,13 @@ void FT3Module::create_layout_staveGeo(double mZ, int layerNumber, int direction
533502 y_start = {min_y_at_x, -min_y_at_x};
534503 tolerance = 0 .; // no tolerance in case of cutting at nominal radius
535504 }
536- // fill_stave(y_positionsPosNeg, Rout, x_left, Constants::kSensorsPerStack, -3);
537- LOG (info) << " FT3Module: Filling Stave " << staveID << " (x = "
538- << Constants::x_midpoints[i_stave] << " ) with sensors. Starting y positions: "
539- << y_start.first << " (positive), " << y_start.second << " (negative)." ;
540505 fill_stave (y_positionsPosNeg.back (), Rout, x_left, Constants::kSensorsPerStack ,
541506 tolerance, y_start);
542507 }
543508
544509 for (unsigned i_stave = 0 ; i_stave < Constants::x_midpoints.size (); i_stave++) {
545510 double x_mid = Constants::x_midpoints[i_stave];
546511 int staveID = Constants::staveIdxToID (i_stave);
547- LOG (info) << " FT3Module: Adding sensor volumes for Stave " << staveID
548- << " (x = " << x_mid << " ) with " << y_positionsPosNeg[i_stave].first .size () << " positive and "
549- << y_positionsPosNeg[i_stave].second .size () << " negative sensor positions." ;
550512 /*
551513 * Declare an offset multiplier for the z offsets, used for distinguishing
552514 * sensors facing either forward or backward.
0 commit comments