/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/HltEvent/HltEvent-00-02-07/HltEvent/HltRaw.h

Go to the documentation of this file.
00001 #ifndef HltRaw_H
00002 #define HltRaw_H 
00003 #include <vector>
00004 #include "GaudiKernel/ObjectVector.h"
00005 #include "RawEvent/RawData.h"
00006 #include "EventModel/EventModel.h"
00007 
00008 using namespace EventModel;
00009 extern const CLID& CLID_HltRaw;
00010 
00011 /*
00012  *
00013  */
00014 
00015 class HltRaw : public RawData { 
00016  public:
00017   // Constructor 
00018   HltRaw(const Identifier& id, const unsigned int timeChannel=0, const unsigned int chargeChannel=0);
00019   HltRaw(const unsigned int id);
00020 
00021   void setIntChannel(const unsigned int intChannel){setTimeChannel(intChannel);};
00022   unsigned int getIntChannel(){return getTimeChannel();};
00023 
00024   void setFloatChannel(const float value){m_chargeChannel= *((unsigned int*)(&value));};
00025   float getFloatChannel(){return *((float*)(&m_chargeChannel));};
00026 
00027   // Retrieve reference to class definition structure
00028   virtual const CLID& clID() const   { return HltRaw::classID(); }
00029   static  const CLID& classID()       { return CLID_HltRaw; }
00030   
00031  private:
00032   
00033 };
00034 
00035 typedef ObjectVector<HltRaw> HltRawCol;
00036 
00037 #endif

Generated on Tue Nov 29 22:58:30 2016 for BOSS_7.0.2 by  doxygen 1.4.7