CMS 3D CMS Logo

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

Public Member Functions

bool operator() (const L1Track &t) const
 
 TTTrackBendChi2MaxNstubSelector (double reducedBendChi2MaxNstub4, double reducedBendChi2MaxNstub5)
 
 TTTrackBendChi2MaxNstubSelector (const edm::ParameterSet &cfg)
 

Private Attributes

double reducedBendChi2MaxNstub4_
 
double reducedBendChi2MaxNstub5_
 

Detailed Description

Definition at line 339 of file L1TrackSelectionProducer.cc.

Constructor & Destructor Documentation

◆ TTTrackBendChi2MaxNstubSelector() [1/2]

L1TrackSelectionProducer::TTTrackBendChi2MaxNstubSelector::TTTrackBendChi2MaxNstubSelector ( double  reducedBendChi2MaxNstub4,
double  reducedBendChi2MaxNstub5 
)
inline

◆ TTTrackBendChi2MaxNstubSelector() [2/2]

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

Definition at line 342 of file L1TrackSelectionProducer.cc.

343  : reducedBendChi2MaxNstub4_(cfg.template getParameter<double>("reducedBendChi2MaxNstub4")),
344  reducedBendChi2MaxNstub5_(cfg.template getParameter<double>("reducedBendChi2MaxNstub5")) {}

Member Function Documentation

◆ operator()()

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

Definition at line 345 of file L1TrackSelectionProducer.cc.

References reducedBendChi2MaxNstub4_, reducedBendChi2MaxNstub5_, and submitPVValidationJobs::t.

345  {
346  return (((t.stubPtConsistency() < reducedBendChi2MaxNstub4_) && (t.getStubRefs().size() == 4)) ||
347  ((t.stubPtConsistency() < reducedBendChi2MaxNstub5_) && (t.getStubRefs().size() > 4)));
348  }

Member Data Documentation

◆ reducedBendChi2MaxNstub4_

double L1TrackSelectionProducer::TTTrackBendChi2MaxNstubSelector::reducedBendChi2MaxNstub4_
private

Definition at line 351 of file L1TrackSelectionProducer.cc.

Referenced by operator()().

◆ reducedBendChi2MaxNstub5_

double L1TrackSelectionProducer::TTTrackBendChi2MaxNstubSelector::reducedBendChi2MaxNstub5_
private

Definition at line 352 of file L1TrackSelectionProducer.cc.

Referenced by operator()().