Skip to content

Commit b65112f

Browse files
Make trigger access const
1 parent 0e6b614 commit b65112f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

rooutil/inc/Trigger.hh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ namespace rooutil {
4040
}
4141

4242
// Data accessors
43-
const mu2e::TrigInfo* TrigInfo () { return _trig; }
44-
const std::map<std::string, int>& NameToIndexMap() { return _nameToIndex; }
45-
const std::map<int, std::string>& IndexToNameMap() { return _indexToName; }
43+
const mu2e::TrigInfo* TrigInfo () const { return _trig; }
44+
const std::map<std::string, int>& NameToIndexMap() const { return _nameToIndex; }
45+
const std::map<int, std::string>& IndexToNameMap() const { return _indexToName; }
4646

4747
// Pointer to the data
4848
const mu2e::TrigInfo* _trig = nullptr;

0 commit comments

Comments
 (0)