Go to the documentation of this file. 1 #ifndef RecoMuon_TrackerSeedGenerator_TSGForOIFromL2_H
2 #define RecoMuon_TrackerSeedGenerator_TSGForOIFromL2_H
86 const std::unique_ptr<TrajectoryStateUpdator>
updator_;
109 unsigned int& hitlessSeedsMade,
110 unsigned int& numSeedsMade,
111 std::vector<TrajectorySeed>&
out)
const;
120 unsigned int& hitSeedsMade,
121 unsigned int& numSeedsMade,
122 unsigned int& layerCount,
123 std::vector<TrajectorySeed>&
out)
const;
const bool useHitLessSeeds_
void makeSeedsWithoutHits(const GeometricSearchDet &layer, const TrajectoryStateOnSurface &tsos, const Propagator &propagatorAlong, edm::ESHandle< Chi2MeasurementEstimatorBase > &estimator, double errorSF, unsigned int &hitlessSeedsMade, unsigned int &numSeedsMade, std::vector< TrajectorySeed > &out) const
Create seeds without hits on a given layer (TOB or TEC)
const edm::EDGetTokenT< reco::TrackCollection > src_
Labels for input collections.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
double match_Chi2(const TrajectoryStateOnSurface &tsos1, const TrajectoryStateOnSurface &tsos2) const
Find compatability between two TSOSs.
TSGForOIFromL2(const edm::ParameterSet &iConfig)
const unsigned int numL2ValidHitsCutAllEndcap_
const double tsosDiff1_
Distance of L2 TSOSs before and after updated with vertex.
const unsigned int maxSeeds_
Maximum number of seeds for each L2.
const double minEtaForTEC_
Minimum eta value to activate searching in the TEC.
void produce(edm::StreamID sid, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
~TSGForOIFromL2() override
const bool adjustErrorsDynamicallyForHits_
Whether or not to use an automatically calculated scale-factor value.
Create L3MuonTrajectorySeeds from L2 Muons updated at vertex in an outside-in manner.
const edm::EDGetTokenT< MeasurementTrackerEvent > measurementTrackerTag_
const unsigned int maxHitlessSeeds_
Maximum number of hitless seeds for each L2.
const unsigned int maxHitSeeds_
Maximum number of hitbased seeds for each L2.
const double maxEtaForTOB_
Maximum eta value to activate searching in the TOB.
const std::string theCategory_
const bool adjustErrorsDynamicallyForHitless_
const double fixedErrorRescalingForHits_
Rescale L2 parameter uncertainties (fixed error vs pT, eta)
const double pT1_
pT, eta ranges and scale factor values
const unsigned int numL2ValidHitsCutAllEta_
L2 valid hit cuts to decide seed creation by both states.
const std::string propagatorName_
Counters and flags for the implementation.
const unsigned int numOfLayersToTry_
How many layers to try.
const std::unique_ptr< TrajectoryStateUpdator > updator_
KFUpdator defined in constructor.
void makeSeedsFromHits(const GeometricSearchDet &layer, const TrajectoryStateOnSurface &tsos, const Propagator &propagatorAlong, edm::ESHandle< Chi2MeasurementEstimatorBase > &estimator, edm::Handle< MeasurementTrackerEvent > &measurementTracker, double errorSF, unsigned int &hitSeedsMade, unsigned int &numSeedsMade, unsigned int &layerCount, std::vector< TrajectorySeed > &out) const
Find hits on a given layer (TOB or TEC) and create seeds from updated TSOS with hit.
const unsigned int numOfHitsToTry_
How many hits to try per layer.
const double fixedErrorRescalingForHitless_
const std::string estimatorName_
Estimator used to find dets and TrajectoryMeasurements.
double calculateSFFromL2(const reco::TrackRef track) const
Calculate the dynamic error SF by analysing the L2.