@@ -356,7 +356,7 @@ void REveMu2eMainWindow::GeomDrawerNominal(TGeoNode* node, REX::REveTrans& trans
356356}
357357
358358void REveMu2eMainWindow::GeomDrawerExtracted (TGeoNode* node, REX::REveTrans& trans, REX::REveElement* beamlineholder, REX::REveElement* trackerholder, REX::REveElement* caloholder, REX::REveElement* crystalsholder, REX::REveElement* crvholder, REX::REveElement* targetholder, int maxlevel, int level, GeomOptions geomOpt, std::vector<std::pair<std::string, std::vector<float >>>& offsets){
359- double x_crvex = 0 ; double y_crvex = 0 ; double z_crvex = 0 ; double x_crvt1 = 0 ; double y_crvt1 = 0 ; double z_crvt1 = 0 ; double x_crvt2 = 0 ; double y_crvt2 = 0 ; double z_crvt2 = 0 ;
359+ double x_crvex = 0 ; double y_crvex = 0 ; double z_crvex = 0 ; double x_crvt1 = 0 ; double y_crvt1 = 0 ; double z_crvt1 = 0 ; double x_crvt2 = 0 ; double y_crvt2 = 0 ; double z_crvt2 = 0 ;
360360 for (unsigned int i = 0 ; i < offsets.size (); i++){
361361 if (offsets[i].first .find (" World" ) != string::npos){
362362 x_world = offsets[i].second [0 ];
@@ -426,7 +426,7 @@ void REveMu2eMainWindow::GeomDrawerExtracted(TGeoNode* node, REX::REveTrans& tra
426426 }
427427 }
428428 // everything else needs to be shifted such that its relative to the tracker center at 0,0,0
429-
429+
430430 if (geomOpt.showCalo ){
431431 static std::vector <std::string> substrings_disk {" caloDisk" };
432432 for (auto & i: substrings_disk){
@@ -446,7 +446,7 @@ void REveMu2eMainWindow::GeomDrawerExtracted(TGeoNode* node, REX::REveTrans& tra
446446 }
447447 }
448448 if (geomOpt.showCRV and geomOpt.extracted ){
449-
449+
450450 static std::vector <std::string> substrings_ex {" CRSmotherLayer_CRV_EX" };
451451 shift.at (0 ) = x_crvex - x_trk;
452452 shift.at (1 ) = y_crvex - y_trk;
@@ -460,7 +460,7 @@ void REveMu2eMainWindow::GeomDrawerExtracted(TGeoNode* node, REX::REveTrans& tra
460460 shift.at (0 ) = x_crvt1 - x_trk;
461461 shift.at (1 ) = y_crvt1 - y_trk;
462462 shift.at (2 ) = z_crvt1 - z_trk;
463-
463+
464464 for (auto & i: substrings_t1){
465465 showNodesByName (node,i,kFALSE , 0 , trans, crvholder, maxlevel, level, false , false , shift, false , true , drawconfigf.getInt (" CRVColor" ));
466466 }
0 commit comments