CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
L1TrackSelectionProducer::TTTrackWordAbsZ0MaxSelector Struct Reference

Public Member Functions

bool operator() (const L1Track &t) const
 
 TTTrackWordAbsZ0MaxSelector (double absZ0Max)
 
 TTTrackWordAbsZ0MaxSelector (const edm::ParameterSet &cfg)
 

Private Attributes

double absZ0Max_
 

Detailed Description

Definition at line 155 of file L1TrackSelectionProducer.cc.

Constructor & Destructor Documentation

◆ TTTrackWordAbsZ0MaxSelector() [1/2]

L1TrackSelectionProducer::TTTrackWordAbsZ0MaxSelector::TTTrackWordAbsZ0MaxSelector ( double  absZ0Max)
inline

◆ TTTrackWordAbsZ0MaxSelector() [2/2]

L1TrackSelectionProducer::TTTrackWordAbsZ0MaxSelector::TTTrackWordAbsZ0MaxSelector ( const edm::ParameterSet cfg)
inline

Definition at line 157 of file L1TrackSelectionProducer.cc.

158  : absZ0Max_(cfg.template getParameter<double>("absZ0Max")) {}

Member Function Documentation

◆ operator()()

bool L1TrackSelectionProducer::TTTrackWordAbsZ0MaxSelector::operator() ( const L1Track t) const
inline

Definition at line 159 of file L1TrackSelectionProducer.cc.

References funct::abs(), absZ0Max_, and submitPVValidationJobs::t.

159 { return std::abs(t.getZ0()) <= absZ0Max_; }
Abs< T >::type abs(const T &t)
Definition: Abs.h:22

Member Data Documentation

◆ absZ0Max_

double L1TrackSelectionProducer::TTTrackWordAbsZ0MaxSelector::absZ0Max_
private

Definition at line 162 of file L1TrackSelectionProducer.cc.

Referenced by operator()().