CMS 3D CMS Logo

Public Member Functions | Private Types | Private Attributes

pf2pat::EventHypothesis Class Reference

#include <EventHypothesis.h>

List of all members.

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
Producers producers_
 map of producers, indexed by producer name
Sequence sequence_
 sequence of producers

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().

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

Member Data Documentation

std::string pf2pat::EventHypothesis::name_ [private]

unique name

Definition at line 30 of file EventHypothesis.h.

map of producers, indexed by producer name

Definition at line 33 of file EventHypothesis.h.

sequence of producers

Definition at line 36 of file EventHypothesis.h.