Skip to content

Commit

Permalink
fix some compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Meggendorfer committed Mar 25, 2022
1 parent e2e69bc commit 123f90a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions trg/cdc/dataobjects/include/CDCTriggerTrack.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,6 @@ namespace Belle2 {
int getRawTheta() const {return m_rawtheta;}

protected:
/** unpacked etf time from the unpacker */
int m_etf_unpacked;
/** etf time recalculated from the hw input */
int m_etf_recalced;
/** chi2 value from 2D fitter */
float m_chi2D;
/** chi2 value from 3D fitter */
float m_chi3D;
Expand Down Expand Up @@ -201,6 +196,11 @@ namespace Belle2 {
* from a previous track was used in the network.
*/
unsigned m_qualityvector;
/** unpacked etf time from the unpacker */
int m_etf_unpacked;
/** etf time recalculated from the hw input */
int m_etf_recalced;
/** chi2 value from 2D fitter */
bool m_hasETFTime{0};
/** values to store the raw network and 2dfinder output */
int m_rawphi0{0};
Expand Down
2 changes: 1 addition & 1 deletion trg/cdc/modules/neurotrigger/src/CDCTriggerNeuroModule.cc
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ CDCTriggerNeuroModule::event()
80 /
M_PI);
std::vector<float> recalcsw(0.);
recalcsw = m_cdctriggerneuroconfig->getMLPs()[0].scaleTarget({NNtrack->getZ0(), NNtrack->getDirection().Theta()});
recalcsw = m_cdctriggerneuroconfig->getMLPs()[0].scaleTarget({static_cast<float>(NNtrack->getZ0()), static_cast<float>(NNtrack->getDirection().Theta())});
intz << std::fixed << std::setprecision(0) << recalcsw[0] * 4096;
inttheta << std::fixed << std::setprecision(0) << recalcsw[1] * 4096;

Expand Down

0 comments on commit 123f90a

Please sign in to comment.