CMS 3D CMS Logo

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

Public Member Functions

bool operator() (const L1Track &t) const
 
 TTTrackChi2RZMaxNstubSelector (double reducedChi2RZMaxNstub4, double reducedChi2RZMaxNstub5)
 
 TTTrackChi2RZMaxNstubSelector (const edm::ParameterSet &cfg)
 

Private Attributes

double reducedChi2RZMaxNstub4_
 
double reducedChi2RZMaxNstub5_
 

Detailed Description

Definition at line 279 of file L1TrackSelectionProducer.cc.

Constructor & Destructor Documentation

◆ TTTrackChi2RZMaxNstubSelector() [1/2]

L1TrackSelectionProducer::TTTrackChi2RZMaxNstubSelector::TTTrackChi2RZMaxNstubSelector ( double  reducedChi2RZMaxNstub4,
double  reducedChi2RZMaxNstub5 
)
inline

◆ TTTrackChi2RZMaxNstubSelector() [2/2]

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

Definition at line 282 of file L1TrackSelectionProducer.cc.

283  : reducedChi2RZMaxNstub4_(cfg.template getParameter<double>("reducedChi2RZMaxNstub4")),
284  reducedChi2RZMaxNstub5_(cfg.template getParameter<double>("reducedChi2RZMaxNstub5")) {}

Member Function Documentation

◆ operator()()

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

Definition at line 285 of file L1TrackSelectionProducer.cc.

References reducedChi2RZMaxNstub4_, reducedChi2RZMaxNstub5_, and submitPVValidationJobs::t.

285  {
286  return (((t.chi2ZRed() < reducedChi2RZMaxNstub4_) && (t.getStubRefs().size() == 4)) ||
287  ((t.chi2ZRed() < reducedChi2RZMaxNstub5_) && (t.getStubRefs().size() > 4)));
288  }

Member Data Documentation

◆ reducedChi2RZMaxNstub4_

double L1TrackSelectionProducer::TTTrackChi2RZMaxNstubSelector::reducedChi2RZMaxNstub4_
private

Definition at line 291 of file L1TrackSelectionProducer.cc.

Referenced by operator()().

◆ reducedChi2RZMaxNstub5_

double L1TrackSelectionProducer::TTTrackChi2RZMaxNstubSelector::reducedChi2RZMaxNstub5_
private

Definition at line 292 of file L1TrackSelectionProducer.cc.

Referenced by operator()().