00001 //==================================================================== 00002 // RawDataAddress.cxx 00003 //==================================================================== 00004 // 00005 // Description: An address class used to access Event Filter packed 00006 // raw event persistent data from within the Athena 00007 // framework. 00008 // 00009 //-------------------------------------------------------------------- 00010 00011 // Include files. 00012 #include "GaudiKernel/GenericAddress.h" 00013 #include "RawDataCnv/ClassID_temp.h" 00014 #include "RawDataCnv/RawDataAddress.h" 00015 00016 00017 class EVENT; 00018 00019 // Constructor. 00020 RawDataAddress::RawDataAddress(const CLID& clid, const string& fname, 00021 const string& cname) 00022 : GenericAddress(PACKEDRAWEVENT_StorageType, clid, fname, cname), 00023 m_Event(NULL), 00024 m_clID(clid) 00025 { 00026 } 00027 00028 // Destructor. 00029 RawDataAddress::~RawDataAddress() 00030 { 00031 } 00032 00033 void RawDataAddress::setEvent(const EVENT* evt) 00034 { 00035 m_Event = evt; 00036 } 00037 00039 const CLID& RawDataAddress::clID() const { 00040 return m_clID; 00041 } 00042 00043