Skip to content

warning fixes in AnalysisTree

Sergey Gorbunov requested to merge se.gorbunov/cbmroot:warningsAnalysis into master

The MR fixes the following warnings (that can be seen here: https://cdash.gsi.de/buildSummary.php?buildid=432309):

===

/home/cbmdock/cbmroot/analysis/common/analysis_tree_converter/CbmFsdHitsConverter.cxx: In member function 'virtual void CbmFsdHitsConverter::ProcessData(CbmEvent*)':
/home/cbmdock/cbmroot/analysis/common/analysis_tree_converter/CbmFsdHitsConverter.cxx:269:22: warning: comparison of integer expressions of different signedness: 'const unsigned int' and 'Int_t' {aka 'int'} [-Wsign-compare]
       if (trackIndex > cbm_global_tracks_->GetEntriesFast()) {
           ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Edited by Sergey Gorbunov

Merge request reports