59 template <
class S,
class SRcd>
90 throw cms::Exception(
"Bad Config") <<
"CastorDumpConditions: No record to dump.";
104 log <<
"I AM IN THE RUN " <<
iEvent.id().run() <<
"\n";
105 log <<
"What to dump? " << std::endl;
107 log <<
"CastorDumpConditions: Empty request \n";
113 LogAbsolute(
"CastorDumpConditions") << *it <<
"\n";
116 dumpIt<CastorElectronicsMap, CastorElectronicsMapRcd>(
mDumpRequest,
iEvent, iSetup,
"ElectronicsMap");
118 dumpIt<CastorPedestals, CastorPedestalsRcd>(
mDumpRequest,
iEvent, iSetup,
"Pedestals");
119 dumpIt<CastorPedestalWidths, CastorPedestalWidthsRcd>(
mDumpRequest,
iEvent, iSetup,
"PedestalWidths");
121 dumpIt<CastorGainWidths, CastorGainWidthsRcd>(
mDumpRequest,
iEvent, iSetup,
"GainWidths");
122 dumpIt<CastorChannelQuality, CastorChannelQualityRcd>(
mDumpRequest,
iEvent, iSetup,
"ChannelQuality");
123 dumpIt<CastorRecoParams, CastorRecoParamsRcd>(
mDumpRequest,
iEvent, iSetup,
"RecoParams");
124 dumpIt<CastorSaturationCorrs, CastorSaturationCorrsRcd>(
mDumpRequest,
iEvent, iSetup,
"SaturationCorrs");
127 template <
class S,
class SRcd>
133 int myrun =
e.id().run();
135 const S& myobject = context.
getData(tok);
137 std::ostringstream
file;
139 std::ofstream outStream(
file.str().c_str());