Skip to content

Commit 0e405be

Browse files
remove some unused variables
1 parent 8864531 commit 0e405be

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

src/buildblock/GeometryBlocksOnCylindrical.cxx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ GeometryBlocksOnCylindrical::build_crystal_maps(const Scanner& scanner)
8585
float trans_blocks_gap = transaxial_block_spacing - num_transaxial_crystals_per_block * transaxial_crystal_spacing;
8686
float ax_blocks_gap = axial_block_spacing - (num_axial_crystals_per_block - 1) * axial_crystal_spacing;
8787
float csi_minus_csiGaps = csi - (csi / transaxial_block_spacing * 2) * (transaxial_crystal_spacing / 2 + trans_blocks_gap);
88-
// distance between the center of the scannner and the first crystal in the bucket, r=Reffective/cos(csi)
89-
float r = scanner.get_effective_ring_radius() / cos(csi_minus_csiGaps);
90-
9188
float start_z = -(axial_block_spacing * num_axial_blocks_per_bucket * num_axial_buckets - ax_blocks_gap) / 2;
9289
float start_y = -1 * scanner.get_effective_ring_radius();
9390
float start_x = -1 // the first crystal in the bucket

src/utilities/calculate_attenuation_coefficients.cxx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,6 @@ main(int argc, char* argv[])
185185
return EXIT_FAILURE;
186186
}
187187

188-
// dummy values currently necessary for BinNormalisation, but they will be ignored
189-
const double start_frame = 0;
190-
const double end_frame = 0;
191188
shared_ptr<DataSymmetriesForViewSegmentNumbers> symmetries_sptr(forw_projector_sptr->get_symmetries_used()->clone());
192189
if (doACF)
193190
{

src/utilities/correct_projdata.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,6 @@ CorrectProjDataApplication::run() const
297297
else
298298
#endif
299299
{
300-
const double start_frame = frame_defs.get_start_time(frame_num);
301-
const double end_frame = frame_defs.get_end_time(frame_num);
302300
if (apply_or_undo_correction)
303301
{
304302
normalisation_ptr->apply(viewgrams);

0 commit comments

Comments
 (0)