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
00037 namespace CastorDbASCIIIO {
00038 bool getObject (std::istream& fInput, CastorPedestals* fObject);
00039 bool dumpObject (std::ostream& fOutput, const CastorPedestals& fObject);
00040 bool getObject (std::istream& fInput, CastorPedestalWidths* fObject);
00041 bool dumpObject (std::ostream& fOutput, const CastorPedestalWidths& fObject);
00042 bool getObject (std::istream& fInput, CastorGains* fObject);
00043 bool dumpObject (std::ostream& fOutput, const CastorGains& fObject);
00044 bool getObject (std::istream& fInput, CastorGainWidths* fObject);
00045 bool dumpObject (std::ostream& fOutput, const CastorGainWidths& fObject);
00046 bool getObject (std::istream& fInput, CastorQIEData* fObject);
00047 bool dumpObject (std::ostream& fOutput, const CastorQIEData& fObject);
00048 bool getObject (std::istream& fInput, CastorCalibrationQIEData* fObject);
00049 bool dumpObject (std::ostream& fOutput, const CastorCalibrationQIEData& fObject);
00050 bool getObject (std::istream& fInput, CastorElectronicsMap* fObject);
00051 bool dumpObject (std::ostream& fOutput, const CastorElectronicsMap& fObject);
00052 bool getObject (std::istream& fInput, CastorChannelQuality* fObject);
00053 bool dumpObject (std::ostream& fOutput, const CastorChannelQuality& fObject);
00054 bool getObject (std::istream& fInput, CastorRecoParams* fObject);
00055 bool dumpObject (std::ostream& fOutput, const CastorRecoParams& fObject);
00056 bool getObject (std::istream& fInput, CastorSaturationCorrs* fObject);
00057 bool dumpObject (std::ostream& fOutput, const CastorSaturationCorrs& fObject);
00058 DetId getId (const std::vector <std::string> & items);
00059 void dumpId (std::ostream& fOutput, DetId id);
00060 }
00061 #endif