CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 11 of file EventHypothesis.h.

Member Typedef Documentation

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

Definition at line 21 of file EventHypothesis.h.

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

Definition at line 22 of file EventHypothesis.h.

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

Definition at line 23 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 7 of file EventHypothesis.cc.

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

7 { std::cout << ps.dump() << std::endl; }
std::string dump(unsigned int indent=0) const
tuple cout
Definition: gather_cfg.py:144

Member Data Documentation

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

unique name

Definition at line 26 of file EventHypothesis.h.

Producers pf2pat::EventHypothesis::producers_
private
Sequence pf2pat::EventHypothesis::sequence_
private

sequence of producers

Definition at line 32 of file EventHypothesis.h.