Go to the documentation of this file.00001 #ifndef CastorDbASCIIIO_h
00002 #define CastorDbASCIIIO_h
00003
00004 #include <iostream>
00005
00006 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
00007 #include "CondFormats/CastorObjects/interface/AllObjects.h"
00008
00032 namespace CastorDbASCIIIO {
00033 bool getObject (std::istream& fInput, CastorPedestals* fObject);
00034 bool dumpObject (std::ostream& fOutput, const CastorPedestals& fObject);
00035 bool getObject (std::istream& fInput, CastorPedestalWidths* fObject);
00036 bool dumpObject (std::ostream& fOutput, const CastorPedestalWidths& fObject);
00037 bool getObject (std::istream& fInput, CastorGains* fObject);
00038 bool dumpObject (std::ostream& fOutput, const CastorGains& fObject);
00039 bool getObject (std::istream& fInput, CastorGainWidths* fObject);
00040 bool dumpObject (std::ostream& fOutput, const CastorGainWidths& fObject);
00041 bool getObject (std::istream& fInput, CastorQIEData* fObject);
00042 bool dumpObject (std::ostream& fOutput, const CastorQIEData& fObject);
00043 bool getObject (std::istream& fInput, CastorCalibrationQIEData* fObject);
00044 bool dumpObject (std::ostream& fOutput, const CastorCalibrationQIEData& fObject);
00045 bool getObject (std::istream& fInput, CastorElectronicsMap* fObject);
00046 bool dumpObject (std::ostream& fOutput, const CastorElectronicsMap& fObject);
00047 bool getObject (std::istream& fInput, CastorChannelQuality* fObject);
00048 bool dumpObject (std::ostream& fOutput, const CastorChannelQuality& fObject);
00049 bool getObject (std::istream& fInput, CastorRecoParams* fObject);
00050 bool dumpObject (std::ostream& fOutput, const CastorRecoParams& fObject);
00051 DetId getId (const std::vector <std::string> & items);
00052 void dumpId (std::ostream& fOutput, DetId id);
00053 }
00054 #endif