CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Types | Private Attributes
pf2pat::EventHypothesis Class Reference

#include <EventHypothesis.h>

Public Member Functions

 EventHypothesis (const edm::ParameterSet &ps)
 

Private Types

typedef std::string Producer
 
typedef std::map< std::string,
Producer
Producers
 
typedef std::vector< std::string > Sequence
 

Private Attributes

std::string name_
 unique name More...
 
Producers producers_
 map of producers, indexed by producer name More...
 
Sequence sequence_
 sequence of producers More...
 

Detailed Description

Definition at line 13 of file EventHypothesis.h.

Member Typedef Documentation

typedef std::string pf2pat::EventHypothesis::Producer
private

Definition at line 25 of file EventHypothesis.h.

typedef std::map< std::string, Producer > pf2pat::EventHypothesis::Producers
private

Definition at line 26 of file EventHypothesis.h.

typedef std::vector< std::string > pf2pat::EventHypothesis::Sequence
private

Definition at line 27 of file EventHypothesis.h.

Constructor & Destructor Documentation

EventHypothesis::EventHypothesis ( const edm::ParameterSet ps)

the name of the parameter set is given to the event hypothesis the parameter set must contain a vstring named "sequence" and at least a parameter set named after each string in the sequence.

Definition at line 8 of file EventHypothesis.cc.

References gather_cfg::cout, and edm::ParameterSet::dump().

8  {
9 
10  std::cout<<ps.dump()<<std::endl;
11 }
std::string dump(unsigned int indent=0) const
tuple cout
Definition: gather_cfg.py:121

Member Data Documentation

std::string pf2pat::EventHypothesis::name_
private

unique name

Definition at line 30 of file EventHypothesis.h.

Producers pf2pat::EventHypothesis::producers_
private

map of producers, indexed by producer name

Definition at line 33 of file EventHypothesis.h.

Referenced by Config.Process::dumpConfig(), Config.Process::dumpPython(), Config.Process::producerNames(), and Config.Process::prune().

Sequence pf2pat::EventHypothesis::sequence_
private

sequence of producers

Definition at line 36 of file EventHypothesis.h.