CMS 3D CMS Logo

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

Public Member Functions

bool operator() (const L1Track &t) const
 
 TTTrackChi2RPhiMaxNstubSelector (double reducedChi2RPhiMaxNstub4, double reducedChi2RPhiMaxNstub5)
 
 TTTrackChi2RPhiMaxNstubSelector (const edm::ParameterSet &cfg)
 

Private Attributes

double reducedChi2RPhiMaxNstub4_
 
double reducedChi2RPhiMaxNstub5_
 

Detailed Description

Definition at line 309 of file L1TrackSelectionProducer.cc.

Constructor & Destructor Documentation

◆ TTTrackChi2RPhiMaxNstubSelector() [1/2]

L1TrackSelectionProducer::TTTrackChi2RPhiMaxNstubSelector::TTTrackChi2RPhiMaxNstubSelector ( double  reducedChi2RPhiMaxNstub4,
double  reducedChi2RPhiMaxNstub5 
)
inline

◆ TTTrackChi2RPhiMaxNstubSelector() [2/2]

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

Definition at line 312 of file L1TrackSelectionProducer.cc.

313  : reducedChi2RPhiMaxNstub4_(cfg.template getParameter<double>("reducedChi2RPhiMaxNstub4")),
314  reducedChi2RPhiMaxNstub5_(cfg.template getParameter<double>("reducedChi2RPhiMaxNstub5")) {}

Member Function Documentation

◆ operator()()

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

Definition at line 315 of file L1TrackSelectionProducer.cc.

References reducedChi2RPhiMaxNstub4_, reducedChi2RPhiMaxNstub5_, and submitPVValidationJobs::t.

315  {
316  return (((t.chi2XYRed() < reducedChi2RPhiMaxNstub4_) && (t.getStubRefs().size() == 4)) ||
317  ((t.chi2XYRed() < reducedChi2RPhiMaxNstub5_) && (t.getStubRefs().size() > 4)));
318  }

Member Data Documentation

◆ reducedChi2RPhiMaxNstub4_

double L1TrackSelectionProducer::TTTrackChi2RPhiMaxNstubSelector::reducedChi2RPhiMaxNstub4_
private

Definition at line 321 of file L1TrackSelectionProducer.cc.

Referenced by operator()().

◆ reducedChi2RPhiMaxNstub5_

double L1TrackSelectionProducer::TTTrackChi2RPhiMaxNstubSelector::reducedChi2RPhiMaxNstub5_
private

Definition at line 322 of file L1TrackSelectionProducer.cc.

Referenced by operator()().