2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 /// @author Nils Krumnack
14 // method implementations
19 #ifdef XAOD_STANDALONE
20 template<typename T> T *AnaAlgorithm ::
21 hist (const std::string& name) const
23 T *result = dynamic_cast<T*>(hist<TObject>(name));
24 if (result == nullptr)
25 throw std::runtime_error ("histogram not of the right type: " + name + " " + typeid(T).name());
31 inline TEfficiency *AnaAlgorithm ::
32 efficiency (const std::string& name) const
34 return histeff (name);
39 template<> TObject *AnaAlgorithm ::
40 hist<TObject> (const std::string& name) const;