#ifndef __JHITL1__ #define __JHITL1__ #include #include "JDAQ/JDAQPMTIdentifier.hh" #include "JTrigger/JHitL0.hh" namespace JTRIGGER { namespace { using KM3NETDAQ::JDAQModuleIdentifier; } /** * Data structure for L1 hit. */ class JHitL1 : public JDAQModuleIdentifier, public std::vector { public: /** * Default constructor. */ JHitL1() : JDAQModuleIdentifier(), std::vector() {} /** * Constructor. * * \param moduleID module identifier */ JHitL1(const JDAQModuleIdentifier& moduleID) : JDAQModuleIdentifier(moduleID), std::vector() {} inline double getX() const { return this->begin()->getX(); } inline double getY() const { return this->begin()->getY(); } inline double getZ() const { return this->begin()->getZ(); } inline double getT() const { return this->begin()->getT(); } }; } #endif