#ifndef _sevt_SEventSimData_h_ #define _sevt_SEventSimData_h_ static const char CVSId_sevt_SEventSimData[] = "$Id: SEventSimData.h 15312 2009-11-30 17:41:08Z darko $"; #include #include #include #include namespace sevt { /** \class SEventSimData SEventSimData.h sevt/SEventSimData.h \brief Interface class to hold simulated data belonging to surface events. At this point it only holds T3s that should be set by a central trigger. \author Javier Gonzalez \date 25 July 2007 \ingroup sevt */ class SEventSimData { public: typedef std::vector::iterator T3Iterator; typedef std::vector::const_iterator ConstT3Iterator; public: // will use the automatically generated ones no pointers there or anything. //SEventSimData(const SEventSimData& simData); //SEventSimData& operator=(const SEventSimData& simData); /// Get the number of T3s int GetNumberOfT3s() const { return fT3s.size(); } /// Iterator over the list of T3s T3Iterator T3sBegin() { return fT3s.begin(); } /// Iterator over the list of T3s ConstT3Iterator T3sBegin() const { return fT3s.begin(); } /// Iterator over the list of T3s T3Iterator T3sEnd() { return fT3s.end(); } /// Iterator over the list of T3s ConstT3Iterator T3sEnd() const { return fT3s.end(); } /// Add a T3 void AddT3(const sevt::T3& t3) { fT3s.push_back(t3); } private: SEventSimData() { } friend class SEvent; friend class utl::LameShadowPtr; std::vector fT3s; }; } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. -k" // End: