CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Typedefs | Functions
edmtest Namespace Reference

Classes

class  DQMReferenceHistogramRootFileEventSetupAnalyzer
 
class  DQMSummaryEventSetupAnalyzer
 
class  DQMXMLFileEventSetupAnalyzer
 
class  ESTestDataA
 
class  ESTestDataB
 
class  ESTestDataC
 
class  ESTestDataD
 
class  ESTestDataE
 
class  ESTestDataF
 
class  ESTestDataG
 
class  ESTestDataH
 
class  ESTestDataI
 
class  ESTestDataJ
 
class  ESTestDataK
 
class  ESTestDataZ
 
class  FillInfoESAnalyzer
 
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 (FillInfoESAnalyzer)
 
 DEFINE_FWK_MODULE (DQMSummaryEventSetupAnalyzer)
 
 DEFINE_FWK_MODULE (RunSummaryESAnalyzer)
 
 DEFINE_FWK_MODULE (RunInfoESAnalyzer)
 
 DEFINE_FWK_MODULE (DQMXMLFileEventSetupAnalyzer)
 
 DEFINE_FWK_MODULE (DQMReferenceHistogramRootFileEventSetupAnalyzer)
 
 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 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 ( FillInfoESAnalyzer  )
edmtest::DEFINE_FWK_MODULE ( DQMSummaryEventSetupAnalyzer  )
edmtest::DEFINE_FWK_MODULE ( RunSummaryESAnalyzer  )
edmtest::DEFINE_FWK_MODULE ( RunInfoESAnalyzer  )
edmtest::DEFINE_FWK_MODULE ( DQMXMLFileEventSetupAnalyzer  )
edmtest::DEFINE_FWK_MODULE ( DQMReferenceHistogramRootFileEventSetupAnalyzer  )
edmtest::DEFINE_FWK_MODULE ( L1TriggerScalerESAnalyzer  )
edmtest::DEFINE_FWK_MODULE ( HcalDumpConditions  )
OutPtr edmtest::makeFile ( const std::string  name,
int  num 
)

Definition at line 25 of file TestConsumer.cc.

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

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

26  {
27  OutPtr p(new std::ofstream(makeFileName(name,num).c_str(),
28  std::ios_base::binary | std::ios_base::out));
29 
30  if(!(*p))
31  {
32  throw edm::Exception(errors::Configuration,"TestConsumer")
33  << "cannot open file " << name;
34  }
35 
36  return p;
37  }
std::string makeFileName(const std::string &base, int num)
Definition: TestConsumer.cc:18
boost::shared_ptr< std::ofstream > OutPtr
Definition: TestConsumer.cc:15
tuple out
Definition: dbtoconf.py:99
std::string edmtest::makeFileName ( const std::string &  base,
int  num 
)

Definition at line 18 of file TestConsumer.cc.

Referenced by makeFile().

19  {
20  std::ostringstream ost;
21  ost << base << num << ".dat";
22  return ost.str();
23  }
tuple base
Main Program
Definition: newFWLiteAna.py:92