CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CAHitTripletGenerator::QuantityDependsPtEval Class Reference

Public Member Functions

 QuantityDependsPtEval (float v1, float v2, float c1, float c2)
 
float value (float curvature) const
 

Private Attributes

const float curvature1_
 
const float curvature2_
 
const float value1_
 
const float value2_
 

Detailed Description

Definition at line 72 of file CAHitTripletGenerator.h.

Constructor & Destructor Documentation

CAHitTripletGenerator::QuantityDependsPtEval::QuantityDependsPtEval ( float  v1,
float  v2,
float  c1,
float  c2 
)
inline

Member Function Documentation

float CAHitTripletGenerator::QuantityDependsPtEval::value ( float  curvature) const
inline

Definition at line 79 of file CAHitTripletGenerator.h.

Referenced by CAHitTripletGenerator::hitNtuplets(), and CAHitTripletGenerator::hitTriplets().

79  {
80  if (value1_ == value2_) // not enabled
81  return value1_;
82 
83  if (curvature1_ < curvature)
84  return value1_;
87  return value2_;
88  }
T curvature(T InversePt, const edm::EventSetup &iSetup)

Member Data Documentation

const float CAHitTripletGenerator::QuantityDependsPtEval::curvature1_
private

Definition at line 93 of file CAHitTripletGenerator.h.

const float CAHitTripletGenerator::QuantityDependsPtEval::curvature2_
private

Definition at line 94 of file CAHitTripletGenerator.h.

const float CAHitTripletGenerator::QuantityDependsPtEval::value1_
private

Definition at line 91 of file CAHitTripletGenerator.h.

const float CAHitTripletGenerator::QuantityDependsPtEval::value2_
private

Definition at line 92 of file CAHitTripletGenerator.h.