diff --git a/MQ/unpacker/CbmDeviceUnpackTofMcbm2018.cxx b/MQ/unpacker/CbmDeviceUnpackTofMcbm2018.cxx index 298665fcf0b917399678c1b4163753d32218be7b..1573c663a227254652261eddaafd12abc2f19367 100644 --- a/MQ/unpacker/CbmDeviceUnpackTofMcbm2018.cxx +++ b/MQ/unpacker/CbmDeviceUnpackTofMcbm2018.cxx @@ -45,7 +45,7 @@ struct InitTaskError : std::runtime_error { using namespace std; //static Int_t iMess=0; -const Int_t DetMask = 0x001FFFFF; +//const Int_t DetMask = 0x001FFFFF; CbmDeviceUnpackTofMcbm2018::CbmDeviceUnpackTofMcbm2018() : fNumMessages(0) diff --git a/fles/mcbm2018/monitor/CbmMcbm2018MonitorMuch.cxx b/fles/mcbm2018/monitor/CbmMcbm2018MonitorMuch.cxx index f13405c175d4a8b04380f0d45ca385a8b8d8ec60..9e38a2ff6b0f393606786db8a9fb73f32a0563a1 100644 --- a/fles/mcbm2018/monitor/CbmMcbm2018MonitorMuch.cxx +++ b/fles/mcbm2018/monitor/CbmMcbm2018MonitorMuch.cxx @@ -1409,7 +1409,7 @@ Bool_t CbmMcbm2018MonitorMuch::DoUnpack(const fles::Timeslice& ts, /// Module P-N coincidences //Bool_t bSameModulePNsides = kFALSE; // Double_t dBestDtMatch = 1e9; // ns - std::vector<stsxyter::FinalHit>::iterator itBestMatch; + // comment unused variable, FU, 18.01.21 std::vector<stsxyter::FinalHit>::iterator itBestMatch; // UInt_t uFebB = uFebIdxB % fUnpackParMuch->GetNbFebsPerCrob(); // UInt_t uCrobIdxB = ( uFebIdxB / fUnpackParMuch->GetNbFebsPerCrob() ) % fUnpackParMuch->GetNbCrobsPerDpb(); // UInt_t uDpbIdxB = ( uFebIdxB / fUnpackParMuch->GetNbFebsPerCrob() ) / fUnpackParMuch->GetNbCrobsPerDpb(); diff --git a/fles/mcbm2018/monitor/CbmMcbm2018MonitorMuchLite.cxx b/fles/mcbm2018/monitor/CbmMcbm2018MonitorMuchLite.cxx index 694977d3707734f15b75696a68bb11cba131266d..863a37392678ca0e162a769aa0d9729f32215964 100644 --- a/fles/mcbm2018/monitor/CbmMcbm2018MonitorMuchLite.cxx +++ b/fles/mcbm2018/monitor/CbmMcbm2018MonitorMuchLite.cxx @@ -1014,7 +1014,7 @@ Bool_t CbmMcbm2018MonitorMuchLite::DoUnpack(const fles::Timeslice& ts, if (0 < fvmHitsInMs.size()) { // ULong64_t ulLastHitTime = ( *( fvmHitsInMs.rbegin() ) ).GetTs(); std::vector<stsxyter::FinalHit>::iterator itA; - std::vector<stsxyter::FinalHit>::iterator itB; + // comment unused variable, FU, 18.01.21 std::vector<stsxyter::FinalHit>::iterator itB; // std::chrono::steady_clock::time_point tNow = std::chrono::steady_clock::now(); // Double_t dUnixTimeInRun = std::chrono::duration_cast< std::chrono::seconds >(tNow - ftStartTimeUnix).count(); diff --git a/fles/mcbm2018/monitor/CbmMcbm2018MonitorSts.cxx b/fles/mcbm2018/monitor/CbmMcbm2018MonitorSts.cxx index 5256de3817d577d0cc6354389ff4aaa5ffae6aa8..cd054078870b2f7fdb42e6be2db30deac7a8885f 100644 --- a/fles/mcbm2018/monitor/CbmMcbm2018MonitorSts.cxx +++ b/fles/mcbm2018/monitor/CbmMcbm2018MonitorSts.cxx @@ -1627,7 +1627,7 @@ Bool_t CbmMcbm2018MonitorSts::DoUnpack(const fles::Timeslice& ts, if (0 < fvmHitsInMs.size()) { // ULong64_t ulLastHitTime = ( *( fvmHitsInMs.rbegin() ) ).GetTs(); std::vector<stsxyter::FinalHit>::iterator itA; - std::vector<stsxyter::FinalHit>::iterator itB; + // comment unused variable, FU, 18.01.21 std::vector<stsxyter::FinalHit>::iterator itB; // std::chrono::steady_clock::time_point tNow = std::chrono::steady_clock::now(); // Double_t dUnixTimeInRun = std::chrono::duration_cast< std::chrono::seconds >(tNow - ftStartTimeUnix).count(); diff --git a/reco/L1/L1Algo/L1Algo.cxx b/reco/L1/L1Algo/L1Algo.cxx index c39fa458d6cde5d8cf7fff7e1aa0a3b60ad55834..260c930120e0fb4e6cd2dafe7753a9026c72017e 100644 --- a/reco/L1/L1Algo/L1Algo.cxx +++ b/reco/L1/L1Algo/L1Algo.cxx @@ -250,9 +250,9 @@ void L1Algo::SetData(const vector<L1StsHit>& StsHits_, void L1Algo::GetHitCoor(const L1StsHit& _h, fscal& _x, fscal& _y, char iS) { - L1Station& sta = vStations[int(iS)]; - fscal u = _h.u; - fscal v = _h.v; + L1Station& sta = vStations[int(iS)]; + fscal u = _h.u; + fscal v = _h.v; // const fscal &z = (*vStsZPos)[_h.iz]; // fscal x, y; _x = @@ -344,7 +344,7 @@ void L1Algo::StripsToCoor(const fvec& u, } /// full the hit point by hit information: takes hit as input (2 strips) and creates hit_point with all coordinates (x,y,z,u,v, n - event number); -L1HitPoint L1Algo::CreateHitPoint(const L1StsHit& hit, char ista) +L1HitPoint L1Algo::CreateHitPoint(const L1StsHit& hit, char /*ista*/) /// hit and station number { // L1Station& sta = vStations[int(ista)]; @@ -353,7 +353,9 @@ L1HitPoint L1Algo::CreateHitPoint(const L1StsHit& hit, char ista) return L1HitPoint(z, hit.u, hit.v, hit.du, hit.dv, time, hit.t_er); } -void L1Algo::CreateHitPoint(const L1StsHit& hit, char ista, L1HitPoint& point) +void L1Algo::CreateHitPoint(const L1StsHit& hit, + char /*ista*/, + L1HitPoint& point) /// hit and station number { // L1Station& sta = vStations[int(ista)]; diff --git a/reco/L1/L1Algo/L1CATrackFinder.cxx b/reco/L1/L1Algo/L1CATrackFinder.cxx index 4f366616397319ec0ee0a9ae87ad9432747e4d56..0c1e18ae197796c5649cd939b1d2e440bda852bd 100644 --- a/reco/L1/L1Algo/L1CATrackFinder.cxx +++ b/reco/L1/L1Algo/L1CATrackFinder.cxx @@ -81,10 +81,11 @@ inline void L1Algo::f10( // input THitI* hitsl, fvec* HitTime_l, fvec* HitTimeEr, - fvec* Event_l, - fvec* d_x, - fvec* d_y, - fvec* d_xy, + // comment unused parameters, FU, 18.01.21 + fvec* /*Event_l*/, + fvec* /*d_x*/, + fvec* /*d_y*/, + fvec* /*d_xy*/, fvec* d_u, fvec* d_v) { const Tindex& end_lh = start_lh + n1_l; @@ -135,9 +136,10 @@ inline void L1Algo::f11( /// input 1st stage of singlet search // L1TrackPar *T_1, L1TrackPar* T_1, L1FieldRegion* fld_1, - fvec* d_x, - fvec* d_y, - fvec* d_xy, + // comment unused parameters, FU, 18.01.21 + fvec* /*d_x*/, + fvec* /*d_y*/, + fvec* /*d_xy*/, fvec* d_u, fvec* d_v) { L1Station& stal = vStations[istal]; @@ -447,7 +449,8 @@ inline void L1Algo::f20( // input vector<THitI>& hitsl_2, #endif // DOUB_PERFORMANCE vector<THitI>& hitsm_2, - fvec* Event, + // comment unused parameters, FU, 18.01.21 + fvec* /*Event*/, vector<bool>& lmDuplets) { n2 = 0; // number of doublet for (Tindex i1 = 0; i1 < n1; ++i1) // for each singlet