60 template <
class S,
class SRcd>
91 throw cms::Exception(
"Bad Config") <<
"CastorDumpConditions: No record to dump.";
105 log <<
"I AM IN THE RUN " <<
iEvent.id().run() <<
"\n";
106 log <<
"What to dump? " << std::endl;
108 log <<
"CastorDumpConditions: Empty request \n";
114 LogAbsolute(
"CastorDumpConditions") << *it <<
"\n";
117 dumpIt<CastorElectronicsMap, CastorElectronicsMapRcd>(
mDumpRequest,
iEvent, iSetup,
"ElectronicsMap");
119 dumpIt<CastorPedestals, CastorPedestalsRcd>(
mDumpRequest,
iEvent, iSetup,
"Pedestals");
120 dumpIt<CastorPedestalWidths, CastorPedestalWidthsRcd>(
mDumpRequest,
iEvent, iSetup,
"PedestalWidths");
122 dumpIt<CastorGainWidths, CastorGainWidthsRcd>(
mDumpRequest,
iEvent, iSetup,
"GainWidths");
123 dumpIt<CastorChannelQuality, CastorChannelQualityRcd>(
mDumpRequest,
iEvent, iSetup,
"ChannelQuality");
124 dumpIt<CastorRecoParams, CastorRecoParamsRcd>(
mDumpRequest,
iEvent, iSetup,
"RecoParams");
125 dumpIt<CastorSaturationCorrs, CastorSaturationCorrsRcd>(
mDumpRequest,
iEvent, iSetup,
"SaturationCorrs");
128 template <
class S,
class SRcd>
134 int myrun =
e.id().run();
137 S myobject(*
p.product());
139 std::ostringstream
file;
141 std::ofstream outStream(
file.str().c_str());