@@ -74,7 +74,7 @@ class MANTID_NEXUS_DLL MuonNexusReader {
74
74
void getTimeChannels (float *timebnds,
75
75
const int &nbnds) const ; // /< get time bin boundaries
76
76
// / return sample name
77
- std::string getSampleName () const { return m_nexusSampleName; };
77
+ std::string const & getSampleName () const { return m_nexusSampleName; };
78
78
int numberOfLogs () const ; // /< Number of NXlog sections read from file
79
79
int getLogLength (const int i) const ; // /< Lenght of i'th log
80
80
std::string getLogName (const int i) const ; // /< Name of i'th log
@@ -89,11 +89,11 @@ class MANTID_NEXUS_DLL MuonNexusReader {
89
89
int t_ntc1 = 0 ; // /< number of time channels in time regime 1
90
90
int t_nper = 0 ; // /< number of periods in file (=1 at present)
91
91
// for nexus histogram data
92
- std::vector<float > m_correctedTimes; // /< temp store for corrected times
93
- std::vector<int > m_counts; // /< temp store of histogram data
94
- std::vector<int > m_detectorGroupings; // /< detector grouping info
95
- int m_numDetectors = 0 ; // /< detector count
96
- std::string getInstrumentName () const ; // /< return instrument name
92
+ std::vector<float > m_correctedTimes; // /< temp store for corrected times
93
+ std::vector<int > m_counts; // /< temp store of histogram data
94
+ std::vector<int > m_detectorGroupings; // /< detector grouping info
95
+ int m_numDetectors = 0 ; // /< detector count
96
+ std::string const & getInstrumentName () const ; // /< return instrument name
97
97
int m_numPeriodSequences = 0 ;
98
98
std::string m_periodNames;
99
99
std::string m_periodTypes;
0 commit comments