CMS 3D CMS Logo

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

#include <TrackChargeSelector.h>

Public Member Functions

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

Private Attributes

int charge_
 

Detailed Description

Definition at line 9 of file TrackChargeSelector.h.

Constructor & Destructor Documentation

◆ TrackChargeSelector()

TrackChargeSelector::TrackChargeSelector ( int  charge)
inline

Member Function Documentation

◆ operator()()

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

Definition at line 12 of file TrackChargeSelector.h.

References charge_, and submitPVValidationJobs::t.

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

Member Data Documentation

◆ charge_

int TrackChargeSelector::charge_
private

Definition at line 17 of file TrackChargeSelector.h.

Referenced by operator()().