Commit 3f842830 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia Committed by Graeme Stewart
Browse files

LArG4Identifier by reference (LArG4MiniFCAL-00-00-10)

	* LArG4Identifier by reference
parent e09346c1
......@@ -42,7 +42,7 @@ public:
virtual G4bool Process(const G4Step* a_step);
virtual LArG4Identifier identifier(int i=0) const {
virtual const LArG4Identifier& identifier(int i=0) const {
if (i!=0) throw std::range_error("Multiple hits not yet implemented");
return m_identifier;
......@@ -37,7 +37,7 @@ namespace LArG4 {
virtual G4bool Process (const G4Step* step,
const eCalculatorProcessing p = kEnergyAndID);
virtual LArG4Identifier identifier() const { return m_identifier; }
virtual const LArG4Identifier& identifier() const { return m_identifier; }
virtual const std::vector<G4double>& energies() const { return m_energies; }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment