Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

CalorimeterSIO.h

Go to the documentation of this file.
00001 //
00002 // CalorimeterSIO
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   // SIO required functions.
00025   unsigned int version();
00026   unsigned int xfer( SIO_stream*, SIO_operation, unsigned int );
00027 
00028  private:
00029 
00030   //a vector of CalorimeterHits
00031   std::vector<CalorimeterHit> _calHits;
00032 
00033 };
00034 
00035 #endif

Generated on Thu Oct 7 18:44:46 2004 for LCDG4 by doxygen 1.3.4