CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
pat::eventhypothesis::ParticleFilter Struct Referenceabstract

#include <EventHypothesis.h>

Inheritance diagram for pat::eventhypothesis::ParticleFilter:
pat::eventhypothesis::AcceptAllFilter pat::eventhypothesis::AndFilter pat::eventhypothesis::ByPdgId pat::eventhypothesis::ByString pat::eventhypothesis::OrFilter pat::eventhypothesis::RoleRegexpFilter

Public Member Functions

bool operator() (const std::pair< std::string, CandRefType > &p) const
 
virtual bool operator() (const CandRefType &cand, const std::string &role) const =0
 
virtual ~ParticleFilter ()
 

Detailed Description

Definition at line 17 of file EventHypothesis.h.

Constructor & Destructor Documentation

virtual pat::eventhypothesis::ParticleFilter::~ParticleFilter ( )
inlinevirtual

Definition at line 18 of file EventHypothesis.h.

18 {}

Member Function Documentation

bool pat::eventhypothesis::ParticleFilter::operator() ( const std::pair< std::string, CandRefType > &  p) const
inline

Definition at line 19 of file EventHypothesis.h.

References operator()().

Referenced by operator()().

19 { return operator()(p.second, p.first); }
bool operator()(const std::pair< std::string, CandRefType > &p) const
virtual bool pat::eventhypothesis::ParticleFilter::operator() ( const CandRefType cand,
const std::string &  role 
) const
pure virtual