Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/geartgeo/MaterialMap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ namespace gear {
if(_zmin<=pz[1] && pz[1]<=_zmax)
zcount++;
//calculate distances from x,y,z to each neighbour
int counter=0;
double sumIntL=0,sumRadL=0,sumWeight=0;
bool isOnGrid=false;
for(int ix=0;ix<xcount;ix++)
Expand All @@ -207,7 +206,6 @@ namespace gear {
std::vector<int> gpos;
calculateGridIndex(gpos,px[ix],py[iy],pz[iz]);
std::pair<double,double> vals=_myMap[gpos[0]][gpos[1]][gpos[2]];
counter++;
if(fabs(d)<1e-5)//point in querry is a grid point
{
sumRadL=vals.first;
Expand Down
4 changes: 0 additions & 4 deletions src/geartgeo/TGeoGearPointProperties.cc
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ namespace gear {
throw OutsideGeometryException("No geometry node found at given location. Either there is no node placed here or position is outside of top volume.");

TGeoVolume *cvol=_tgeomanager->GetCurrentVolume();
int count=0;
while(cvol)
{
const char *name=cvol->GetName();
Expand All @@ -183,7 +182,6 @@ namespace gear {
cvol=_tgeomanager->GetCurrentVolume();
if(name==_tgeomanager->GetTopVolume()->GetName())
break;
count++;
}
return names;
}
Expand All @@ -201,7 +199,6 @@ namespace gear {
if(!node)
throw OutsideGeometryException("No geometry node found at given location. Either there is no node placed here or position is outside of top volume.");

int count=0;
while(node)
{
const char *name=node->GetName();
Expand All @@ -210,7 +207,6 @@ namespace gear {
node=_tgeomanager->GetCurrentNode();
if(name==_tgeomanager->GetTopNode()->GetName())
break;
count++;
}
return names;
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/testgear.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

#undef NDEBUG
#include "gearimpl/FixedPadSizeDiskLayout.h"
#include "gearimpl/Util.h"
#include "gearxml/GearXML.h"
Expand Down
1 change: 1 addition & 0 deletions src/test/testtpcproto.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#undef NDEBUG
#include "gearimpl/RectangularPadRowLayout.h"
#include "gearimpl/Util.h"
#include "gearxml/GearXML.h"
Expand Down