CMS 3D CMS Logo

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

Public Member Functions

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

Private Attributes

double absZ0Max_
 

Detailed Description

Definition at line 143 of file L1TrackSelectionProducer.cc.

Constructor & Destructor Documentation

◆ TTTrackAbsZ0MaxSelector() [1/2]

L1TrackSelectionProducer::TTTrackAbsZ0MaxSelector::TTTrackAbsZ0MaxSelector ( double  absZ0Max)
inline

◆ TTTrackAbsZ0MaxSelector() [2/2]

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

Definition at line 145 of file L1TrackSelectionProducer.cc.

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

Member Function Documentation

◆ operator()()

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

Definition at line 146 of file L1TrackSelectionProducer.cc.

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

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

Member Data Documentation

◆ absZ0Max_

double L1TrackSelectionProducer::TTTrackAbsZ0MaxSelector::absZ0Max_
private

Definition at line 149 of file L1TrackSelectionProducer.cc.

Referenced by operator()().