File indexing completed on 2024-04-06 11:57:33
0001 #ifndef CastorDbASCIIIO_h
0002 #define CastorDbASCIIIO_h
0003
0004 #include <iostream>
0005
0006 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
0007 #include "CondFormats/CastorObjects/interface/AllObjects.h"
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037 namespace CastorDbASCIIIO {
0038 bool getObject(std::istream& fInput, CastorPedestals& fObject);
0039 bool dumpObject(std::ostream& fOutput, const CastorPedestals& fObject);
0040 bool getObject(std::istream& fInput, CastorPedestalWidths& fObject);
0041 bool dumpObject(std::ostream& fOutput, const CastorPedestalWidths& fObject);
0042 bool getObject(std::istream& fInput, CastorGains& fObject);
0043 bool dumpObject(std::ostream& fOutput, const CastorGains& fObject);
0044 bool getObject(std::istream& fInput, CastorGainWidths& fObject);
0045 bool dumpObject(std::ostream& fOutput, const CastorGainWidths& fObject);
0046 bool getObject(std::istream& fInput, CastorQIEData& fObject);
0047 bool dumpObject(std::ostream& fOutput, const CastorQIEData& fObject);
0048 bool getObject(std::istream& fInput, CastorCalibrationQIEData& fObject);
0049 bool dumpObject(std::ostream& fOutput, const CastorCalibrationQIEData& fObject);
0050 bool getObject(std::istream& fInput, CastorElectronicsMap& fObject);
0051 bool dumpObject(std::ostream& fOutput, const CastorElectronicsMap& fObject);
0052 bool getObject(std::istream& fInput, CastorChannelQuality& fObject);
0053 bool dumpObject(std::ostream& fOutput, const CastorChannelQuality& fObject);
0054 bool getObject(std::istream& fInput, CastorRecoParams& fObject);
0055 bool dumpObject(std::ostream& fOutput, const CastorRecoParams& fObject);
0056 bool getObject(std::istream& fInput, CastorSaturationCorrs& fObject);
0057 bool dumpObject(std::ostream& fOutput, const CastorSaturationCorrs& fObject);
0058 DetId getId(const std::vector<std::string>& items);
0059 void dumpId(std::ostream& fOutput, DetId id);
0060 }
0061 #endif