CMS 3D CMS Logo

Classes | Typedefs | Functions

edmtest Namespace Reference

Classes

class  DQMReferenceHistogramRootFileEventSetupAnalyzer
class  DQMSummaryEventSetupAnalyzer
class  DQMXMLFileEventSetupAnalyzer
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 (DQMReferenceHistogramRootFileEventSetupAnalyzer)
 DEFINE_FWK_MODULE (DQMSummaryEventSetupAnalyzer)
 DEFINE_FWK_MODULE (HcalDumpConditions)
 DEFINE_FWK_MODULE (RunSummaryESAnalyzer)
 DEFINE_FWK_MODULE (RunInfoESAnalyzer)
 DEFINE_FWK_MODULE (L1TriggerScalerESAnalyzer)
 DEFINE_FWK_MODULE (DQMXMLFileEventSetupAnalyzer)
OutPtr makeFile (const std::string name, int num)
std::string makeFileName (const std::string &base, int num)

Typedef Documentation

typedef boost::shared_ptr<std::ofstream> edmtest::OutPtr

Definition at line 15 of file TestConsumer.cc.

typedef std::vector<char> edmtest::SaveArea

Definition at line 16 of file TestConsumer.cc.


Function Documentation

edmtest::DEFINE_FWK_MODULE ( DQMReferenceHistogramRootFileEventSetupAnalyzer  )
edmtest::DEFINE_FWK_MODULE ( DQMSummaryEventSetupAnalyzer  )
edmtest::DEFINE_FWK_MODULE ( HcalDumpConditions  )
edmtest::DEFINE_FWK_MODULE ( RunSummaryESAnalyzer  )
edmtest::DEFINE_FWK_MODULE ( RunInfoESAnalyzer  )
edmtest::DEFINE_FWK_MODULE ( L1TriggerScalerESAnalyzer  )
edmtest::DEFINE_FWK_MODULE ( DQMXMLFileEventSetupAnalyzer  )
OutPtr edmtest::makeFile ( const std::string  name,
int  num 
)

Definition at line 25 of file TestConsumer.cc.

References edm::errors::Configuration, Exception, makeFileName(), mergeVDriftHistosByStation::name, dbtoconf::out, and AlCaHLTBitMon_ParallelJobs::p.

Referenced by edmtest::Worker::checkCount().

  {
    OutPtr p(new std::ofstream(makeFileName(name,num).c_str(),
                          std::ios_base::binary | std::ios_base::out));

    if(!(*p))
      {
        throw edm::Exception(errors::Configuration,"TestConsumer")
          << "cannot open file " << name;
      }

    return p;
  }
std::string edmtest::makeFileName ( const std::string &  base,
int  num 
)

Definition at line 18 of file TestConsumer.cc.

Referenced by SimpleProfiler::complete(), and makeFile().

  {
    std::ostringstream ost;
    ost << base << num << ".dat";
    return ost.str();
  }