CMS 3D CMS Logo

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, ProducerProducers
 
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

◆ Producer

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

Definition at line 21 of file EventHypothesis.h.

◆ Producers

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

Definition at line 22 of file EventHypothesis.h.

◆ Sequence

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

Definition at line 23 of file EventHypothesis.h.

Constructor & Destructor Documentation

◆ EventHypothesis()

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.

7 { std::cout << ps.dump() << std::endl; }

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

Member Data Documentation

◆ name_

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

unique name

Definition at line 26 of file EventHypothesis.h.

◆ producers_

Producers pf2pat::EventHypothesis::producers_
private

◆ sequence_

Sequence pf2pat::EventHypothesis::sequence_
private

sequence of producers

Definition at line 32 of file EventHypothesis.h.

gather_cfg.cout
cout
Definition: gather_cfg.py:144
edm::ParameterSet::dump
std::string dump(unsigned int indent=0) const
Definition: ParameterSet.cc:832