CMS 3D CMS Logo

Public Member Functions | Private Attributes

pat::EventHypothesis::ByRole Class Reference

#include <EventHypothesis.h>

List of all members.

Public Member Functions

 ByRole (const std::string &role)
bool operator() (const value_type &p) const

Private Attributes

const std::string & role_

Detailed Description

Definition at line 42 of file EventHypothesis.h.


Constructor & Destructor Documentation

pat::EventHypothesis::ByRole::ByRole ( const std::string &  role) [inline]

Definition at line 44 of file EventHypothesis.h.

: role_(role) {}

Member Function Documentation

bool pat::EventHypothesis::ByRole::operator() ( const value_type p) const [inline]

Definition at line 45 of file EventHypothesis.h.

References role_.

{ return p.first == role_; }

Member Data Documentation

const std::string& pat::EventHypothesis::ByRole::role_ [private]

Definition at line 47 of file EventHypothesis.h.

Referenced by operator()().