/** \file declaration of TelescopeTriggerData \author Ralf Ulrich \version $Id$ \date Mon Oct 16 09:06:32 CEST 2006 */ #ifndef _fevt_TelescopeTriggerData_h_ #define _fevt_TelescopeTriggerData_h_ #include #include #include #include static const char CVSId_fevt_TelescopeTriggerData[] = "$Id$"; namespace fevt { class Telescope; /** \class TelescopeTriggerData TelescopeTriggerData.h "fevt/TelescopeTriggerData.h" \brief Description of trigger data for one Telescope This class describes the data of the SLT and multiplicity SLTData is save every 1000ns (100 times for each trace) Multiplicity every 100ns for each trace bin; \author Ralf Ulrich \date Mon Oct 16 09:07:19 CEST 2006 \ingroup fevt */ class TelescopeTriggerData { public: // TLT void SetTLTAccepted(bool is) {fTLTAccepted=is;} bool IsTLTAccepted() const {return fTLTAccepted;} // SLT sim information std::vector& GetSLTData() {return fSLTData;} const std::vector& GetSLTData() const {return fSLTData;} void SetSLTData(const std::vector& s) {fSLTData=s;} void MakeSLTData(unsigned int timeSize, unsigned int colSize); // FLT multiplicity utl::TraceI& GetMultiplicity() {return *fMultiplicity;} const utl::TraceI& GetMultiplicity() const {return *fMultiplicity;} void MakeMultiplicity(const unsigned int size = 0, const double binSize = 0); bool HasMultiplicity() const {return fMultiplicity;} void SetTLTLabel(const std::string& label) {fTLTLabel = label;} std::string GetTLTLabel() const {return fTLTLabel;} private: TelescopeTriggerData(); ~TelescopeTriggerData(); private: // TLT bool fTLTAccepted; std::string fTLTLabel; // SLT info std::vector fSLTData; // slt data word // multiplicity info utl::ShadowPtr fMultiplicity; friend class fevt::Telescope; friend class utl::ShadowPtr; }; } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // End: