00001
00002
00003
00004 #ifndef CalorimeterSIO_H
00005 #define CalorimeterSIO_H
00006
00007 #ifdef WIN32
00008 # pragma warning(disable:4786) // >255 characters in debug information
00009 #endif
00010
00011 #include <vector>
00012 #include "SIO_block.h"
00013 #include "CalorimeterHit.h"
00014
00015
00016 class CalorimeterSIO : public SIO_block
00017 {
00018 public:
00019 CalorimeterSIO( const char* i_name, std::vector<CalorimeterHit> calHits);
00020
00021 void clear();
00022 void addHit(CalorimeterHit hit);
00023
00024
00025 unsigned int version();
00026 unsigned int xfer( SIO_stream*, SIO_operation, unsigned int );
00027
00028 private:
00029
00030
00031 std::vector<CalorimeterHit> _calHits;
00032
00033 };
00034
00035 #endif