1 #ifndef RECOPIXELVERTEXING_PIXELTRIPLETS_CAHITTRIPLETGENERATOR_H
2 #define RECOPIXELVERTEXING_PIXELTRIPLETS_CAHITTRIPLETGENERATOR_H
50 std::vector<OrderedHitSeeds>&
result,
92 :
value1_(pset.getParameter<double>(
"value1")),
93 value2_(pset.getParameter<double>(
"value2")),
94 pt1_(pset.getParameter<double>(
"pt1")),
95 pt2_(pset.getParameter<double>(
"pt2")),
96 enabled_(pset.getParameter<bool>(
"enabled")) {
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
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
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
LayerHitMapCache LayerCacheType
void initEvent(const edm::Event &ev, const edm::EventSetup &es)
float value(float curvature) const
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
QuantityDependsPtEval evaluator(const MagneticField &field) const
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)