CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SeedChargeSelector Struct Reference

#include <SeedChargeSelector.h>

Public Member Functions

template<typename T >
bool operator() (const T &t) const
 
 SeedChargeSelector (int charge)
 

Private Attributes

int charge_
 

Detailed Description

Definition at line 9 of file SeedChargeSelector.h.

Constructor & Destructor Documentation

SeedChargeSelector::SeedChargeSelector ( int  charge)
inline

Member Function Documentation

template<typename T >
bool SeedChargeSelector::operator() ( const T t) const
inline

Definition at line 12 of file SeedChargeSelector.h.

References charge_.

12  {
13  return (t.startingState().parameters().charge() == charge_);
14  }

Member Data Documentation

int SeedChargeSelector::charge_
private

Definition at line 17 of file SeedChargeSelector.h.

Referenced by operator()().