1 #ifndef RECOPIXELVERTEXING_PIXELTRIPLETS_CAHITTRIPLETGENERATOR_H 2 #define RECOPIXELVERTEXING_PIXELTRIPLETS_CAHITTRIPLETGENERATOR_H 50 std::vector<OrderedHitSeeds>&
result,
94 pt1_(
pset.getParameter<double>(
"pt1")),
95 pt2_(
pset.getParameter<double>(
"pt2")),
98 throw cms::Exception(
"Configuration") <<
"CAHitTripletGenerator::QuantityDependsPt: pt1 (" <<
pt1_ 99 <<
") needs to be smaller than pt2 (" <<
pt2_ <<
")";
102 <<
"CAHitTripletGenerator::QuantityDependsPt: pt1 needs to be > 0; is " <<
pt1_;
105 <<
"CAHitTripletGenerator::QuantityDependsPt: pt2 needs to be > 0; is " <<
pt2_;
QuantityDependsPt(const edm::ParameterSet &pset)
const QuantityDependsPt maxChi2
static const char * fillDescriptionsLabel()
const bool useBendingCorrection
CAHitTripletGenerator(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
T curvature(T InversePt, const MagneticField &field)
const MagneticField * theField
OrderedHitSeeds ResultType
QuantityDependsPtEval evaluator(const MagneticField &field) const
LayerHitMapCache LayerCacheType
void initEvent(const edm::Event &ev, const edm::EventSetup &es)
QuantityDependsPtEval(float v1, float v2, float c1, float c2)
static constexpr unsigned int minLayers
~CAHitTripletGenerator()=default
static void fillDescriptions(edm::ParameterSetDescription &desc)
const float extraHitRPhitolerance
LayerCacheType theLayerCache
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theFieldToken
std::unique_ptr< SeedComparitor > theComparitor
void hitNtuplets(const IntermediateHitDoublets ®ionDoublets, std::vector< OrderedHitSeeds > &result, const SeedingLayerSetsHits &layers)
float value(float curvature) const