Project

General

Profile

Actions

Development #1373

closed

Development #1353: Code cleanup for OCT19

Code cleanup: trd/sim/CbmTrdModuleSimR.cxx

Added by Volker Friese almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
09/16/2019
Due date:
09/27/2019
% Done:

100%

Estimated time:
1.00 h
Spent time:

Description

Compiler warnings:


/home/uhlig/cbm/release/oct19/trd/sim/CbmTrdModuleSimR.cxx: In member function 'Int_t CbmTrdModuleSimR::GetMultiBin(std::vector<int>)':
[CTest: warning matched] /home/uhlig/cbm/release/oct19/trd/sim/CbmTrdModuleSimR.cxx:662:10: warning: variable 'multihit' set but not used [-Wunused-but-set-variable]
   Bool_t multihit=false;
          ^
/home/uhlig/cbm/release/oct19/trd/sim/CbmTrdModuleSimR.cxx: In member function 'void CbmTrdModuleSimR::ScanPadPlane(const Double_t*, Double_t, Double_t, Double_t, Int_t, Int_t)':
[CTest: warning matched] /home/uhlig/cbm/release/oct19/trd/sim/CbmTrdModuleSimR.cxx:908:11: warning: variable 'maxCol' set but not used [-Wunused-but-set-variable]
     Int_t maxCol(5/W+0.5), maxRow(6);//5/H+3);// 7 and 3 in orig. minimum 5 times 5 cm area has to be scanned
           ^
/home/uhlig/cbm/release/oct19/trd/sim/CbmTrdModuleSimR.cxx: In member function 'Int_t CbmTrdModuleSimR::AddCrosstalk(Double_t, Int_t, Int_t, Int_t, Int_t, Int_t)':
[CTest: warning matched] /home/uhlig/cbm/release/oct19/trd/sim/CbmTrdModuleSimR.cxx:1264:13: warning: variable 'FNaddress' set but not used [-Wunused-but-set-variable]
       Int_t FNaddress=0;
             ^

Please fix.

Actions

Also available in: Atom PDF