#ifndef __JRECONSTRUCTION__JRECONSTRUCTIONDICTIONARY__ #define __JRECONSTRUCTION__JRECONSTRUCTIONDICTIONARY__ #include "JROOT/JRootDictionary.hh" #include "JReconstruction/JRange_t.hh" /** * \author mdejong */ namespace JRECONSTRUCTION {} namespace JPP { using namespace JRECONSTRUCTION; } namespace JRECONSTRUCTION { using JROOT::JRootDictionary; /** * Simple wrapper class around JROOT::JRootDictionary so that other classes are included by construction, */ class JReconstructionDictionary : public JRootDictionary { private: /** * Default constructor. */ JReconstructionDictionary() : JRootDictionary(JRootDictionary::getInstance()) { add(); } public: /** * Get reference to unique instance of this class object. * This JROOT::JRootDictionary object includes the various Monte Carlo data types. * * \return reference to this class object */ static JRootDictionary& getInstance() { static JReconstructionDictionary dictionary; return dictionary; } }; } #endif