CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
pat::EventHypothesis::ByRole Class Reference

#include <EventHypothesis.h>

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 49 of file EventHypothesis.h.

Constructor & Destructor Documentation

◆ ByRole()

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

Definition at line 51 of file EventHypothesis.h.

51 : role_(role) {}

Member Function Documentation

◆ operator()()

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

Definition at line 52 of file EventHypothesis.h.

52 { return p.first == role_; }

References AlCaHLTBitMon_ParallelJobs::p, and role_.

Member Data Documentation

◆ role_

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

Definition at line 55 of file EventHypothesis.h.

Referenced by operator()().

AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
pat::EventHypothesis::ByRole::role_
const std::string & role_
Definition: EventHypothesis.h:55