CMS 3D CMS Logo

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

Public Member Functions

bool operator() (const L1Track &t) const
 
 TTTrackAbsEtaMaxSelector (double absEtaMax)
 
 TTTrackAbsEtaMaxSelector (const edm::ParameterSet &cfg)
 

Private Attributes

double absEtaMax_
 

Detailed Description

Definition at line 121 of file L1TrackSelectionProducer.cc.

Constructor & Destructor Documentation

◆ TTTrackAbsEtaMaxSelector() [1/2]

L1TrackSelectionProducer::TTTrackAbsEtaMaxSelector::TTTrackAbsEtaMaxSelector ( double  absEtaMax)
inline

◆ TTTrackAbsEtaMaxSelector() [2/2]

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

Definition at line 123 of file L1TrackSelectionProducer.cc.

124  : absEtaMax_(cfg.template getParameter<double>("absEtaMax")) {}

Member Function Documentation

◆ operator()()

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

Definition at line 125 of file L1TrackSelectionProducer.cc.

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

125 { return std::abs(t.momentum().eta()) <= absEtaMax_; }
Abs< T >::type abs(const T &t)
Definition: Abs.h:22

Member Data Documentation

◆ absEtaMax_

double L1TrackSelectionProducer::TTTrackAbsEtaMaxSelector::absEtaMax_
private

Definition at line 128 of file L1TrackSelectionProducer.cc.

Referenced by operator()().