CMS 3D CMS Logo

Public Member Functions | Private Attributes

SeedChargeSelector Struct Reference

#include <SeedChargeSelector.h>

List of all members.

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]

Definition at line 10 of file SeedChargeSelector.h.

: charge_( charge ) { }

Member Function Documentation

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

Definition at line 12 of file SeedChargeSelector.h.

References charge_.

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

Member Data Documentation

Definition at line 17 of file SeedChargeSelector.h.

Referenced by operator()().