Classes | |
class | HcalDumpConditions |
class | L1TriggerScalerESAnalyzer |
class | RunInfoESAnalyzer |
class | RunSummaryESAnalyzer |
class | TestConsumer |
struct | Worker |
Typedefs | |
typedef boost::shared_ptr < std::ofstream > | OutPtr |
typedef std::vector< char > | SaveArea |
Functions | |
DEFINE_FWK_MODULE (RunSummaryESAnalyzer) | |
DEFINE_FWK_MODULE (RunInfoESAnalyzer) | |
DEFINE_FWK_MODULE (L1TriggerScalerESAnalyzer) | |
DEFINE_FWK_MODULE (HcalDumpConditions) | |
OutPtr | makeFile (const std::string name, int num) |
std::string | makeFileName (const std::string &base, int num) |
typedef boost::shared_ptr<std::ofstream> edmtest::OutPtr |
Definition at line 16 of file TestConsumer.cc.
typedef std::vector<char> edmtest::SaveArea |
Definition at line 17 of file TestConsumer.cc.
edmtest::DEFINE_FWK_MODULE | ( | RunSummaryESAnalyzer | ) |
edmtest::DEFINE_FWK_MODULE | ( | RunInfoESAnalyzer | ) |
edmtest::DEFINE_FWK_MODULE | ( | L1TriggerScalerESAnalyzer | ) |
edmtest::DEFINE_FWK_MODULE | ( | HcalDumpConditions | ) |
Definition at line 26 of file TestConsumer.cc.
References edm::errors::Configuration, makeFileName(), out, and p.
Referenced by edmtest::Worker::checkCount().
00027 { 00028 OutPtr p(new std::ofstream(makeFileName(name,num).c_str(), 00029 std::ios_base::binary | std::ios_base::out)); 00030 00031 if(!(*p)) 00032 { 00033 throw edm::Exception(errors::Configuration,"TestConsumer") 00034 << "cannot open file " << name; 00035 } 00036 00037 return p; 00038 }
std::string edmtest::makeFileName | ( | const std::string & | base, | |
int | num | |||
) |
Definition at line 19 of file TestConsumer.cc.
Referenced by makeFile().
00020 { 00021 std::ostringstream ost; 00022 ost << base << num << ".dat"; 00023 return ost.str(); 00024 }