Go to the documentation of this file. 1 #ifndef RecoMuon_TrackerSeedGenerator_TSGForOI_H
2 #define RecoMuon_TrackerSeedGenerator_TSGForOI_H
78 const std::unique_ptr<TrajectoryStateUpdator>
updator_;
103 unsigned int& numSeedsMade,
104 unsigned int& numOfMaxSeeds,
105 unsigned int& layerCount,
116 std::vector<TrajectorySeed>&
out,
120 unsigned int& numSeedsMade,
121 const double errorSF,
122 const double l2Eta)
const;
const bool adjustErrorsDynamicallyForHits_
Whether or not to use an automatically calculated scale-factor value.
double calculateSFFromL2(const reco::TrackRef track) const
Function used to calculate the dynamic error SF by analysing the L2.
const double tsosDiff_
Distance of TSOSs to trigger using hits or not.
const std::unique_ptr< TrajectoryStateUpdator > updator_
KFUpdator defined in constructor.
void produce(edm::StreamID sid, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
Create L3MuonTrajectorySeeds from L2 Muons updated at vertex in an outside in manner.
const double minEtaForTEC_
Minimum eta value to activate searching in the TEC.
const double maxEtaForTOB_
Maximum eta value to activate searching in the TOB.
const unsigned int numOfLayersToTry_
How many layers to try.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void findSeedsOnLayer(const TrackerTopology *tTopo, const GeometricSearchDet &layer, const TrajectoryStateOnSurface &tsosAtIP, const Propagator &propagatorAlong, const Propagator &propagatorOpposite, const reco::TrackRef l2, edm::ESHandle< Chi2MeasurementEstimatorBase > &estimator_, edm::Handle< MeasurementTrackerEvent > &measurementTrackerH, unsigned int &numSeedsMade, unsigned int &numOfMaxSeeds, unsigned int &layerCount, bool &analysedL2, std::unique_ptr< std::vector< TrajectorySeed > > &out) const
Function to find seeds on a given layer.
const std::string propagatorName_
Counters and flags for the implementation.
double match_Chi2(const TrajectoryStateOnSurface &tsos1, const TrajectoryStateOnSurface &tsos2) const
const double fixedErrorRescalingForHits_
How much to rescale errors from the L2 (fixed error vs pT, eta)
const bool useHitLessSeeds_
const edm::EDGetTokenT< MeasurementTrackerEvent > measurementTrackerTag_
const bool useStereoLayersInTEC_
Switch ON to use Stereo layers instead of using every layer in TEC.
const edm::EDGetTokenT< reco::TrackCollection > src_
Labels for input collections.
const unsigned int numOfHitsToTry_
How many hits to try per layer.
const std::string estimatorName_
Estimator used to find dets and TrajectoryMeasurements.
const bool adjustErrorsDynamicallyForHitless_
const double pT1_
pT, eta ranges and scale factor values
TSGForOI(const edm::ParameterSet &iConfig)
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
const std::string theCategory
const double fixedErrorRescalingForHitless_
int makeSeedsFromHits(const TrackerTopology *tTopo, const GeometricSearchDet &layer, const TrajectoryStateOnSurface &tsosAtIP, std::vector< TrajectorySeed > &out, const Propagator &propagatorAlong, const MeasurementTrackerEvent &measurementTracker, edm::ESHandle< Chi2MeasurementEstimatorBase > &estimator_, unsigned int &numSeedsMade, const double errorSF, const double l2Eta) const
Function to find hits on layers and create seeds from updated TSOS.
const unsigned int numOfMaxSeedsParam_
Maximum number of seeds for each L2.