#ifndef __JTRIGGER__JTRIGGERDICTIONARY__ #define __JTRIGGER__JTRIGGERDICTIONARY__ #include "JROOT/JRootDictionary.hh" #include "JTrigger/JPMTSelector.hh" /** * \author mdejong */ namespace JTRIGGER { using JROOT::JRootDictionary; /** * Simple wrapper class around JROOT::JRootDictionary so that other classes * could be included in this dictionary if necessary. */ class JTriggerDictionary : public JRootDictionary { private: /** * Default constructor. */ JTriggerDictionary() : 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 JTriggerDictionary dictionary; return dictionary; } }; } #endif