1 #ifndef RECOPIXELVERTEXING_PIXELTRIPLETS_CAHITTRIPLETGENERATOR_H
2 #define RECOPIXELVERTEXING_PIXELTRIPLETS_CAHITTRIPLETGENERATOR_H
63 std::vector<const HitDoublets *>& hitDoublets,
107 value1_(pset.getParameter<double>(
"value1")),
108 value2_(pset.getParameter<double>(
"value2")),
109 pt1_(pset.getParameter<double>(
"pt1")),
110 pt2_(pset.getParameter<double>(
"pt2")),
111 enabled_(pset.getParameter<bool>(
"enabled")) {
113 throw cms::Exception(
"Configuration") <<
"CAHitTripletGenerator::QuantityDependsPt: pt1 (" <<
pt1_ <<
") needs to be smaller than pt2 (" <<
pt2_ <<
")";
115 throw cms::Exception(
"Configuration") <<
"CAHitTripletGenerator::QuantityDependsPt: pt1 needs to be > 0; is " <<
pt1_;
117 throw cms::Exception(
"Configuration") <<
"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()
CAHitTripletGenerator(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC, bool needSeedingLayerSetsHits=true)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
const bool useBendingCorrection
edm::EDGetTokenT< SeedingLayerSetsHits > theSeedingLayerToken
QuantityDependsPtEval evaluator(const edm::EventSetup &es) const
T curvature(T InversePt, const edm::EventSetup &iSetup)
LayerHitMapCache LayerCacheType
void initEvent(const edm::Event &ev, const edm::EventSetup &es)
OrderedHitTriplets ResultType
float value(float curvature) const
QuantityDependsPtEval(float v1, float v2, float c1, float c2)
virtual void hitTriplets(const TrackingRegion ®, OrderedHitTriplets &triplets, const edm::Event &ev, const edm::EventSetup &es)
from base class
static void fillDescriptions(edm::ParameterSetDescription &desc)
const float extraHitRPhitolerance
LayerCacheType theLayerCache
void hitNtuplets(const IntermediateHitDoublets::RegionLayerSets ®ionLayerPairs, OrderedHitTriplets &result, const edm::EventSetup &es, const SeedingLayerSetsHits &layers)
std::unique_ptr< SeedComparitor > theComparitor
static unsigned int minLayers
virtual ~CAHitTripletGenerator()