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::SeedChargeSelector ( int  charge)
inline

Definition at line 10 of file SeedChargeSelector.h.

10 : charge_(charge) {}

Member Function Documentation

◆ operator()()

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

Definition at line 12 of file SeedChargeSelector.h.

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

References charge_, and OrderedSet::t.

Member Data Documentation

◆ charge_

int SeedChargeSelector::charge_
private

Definition at line 17 of file SeedChargeSelector.h.

Referenced by operator()().

OrderedSet.t
t
Definition: OrderedSet.py:90
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
SeedChargeSelector::charge_
int charge_
Definition: SeedChargeSelector.h:17