1 #ifndef RecoMuon_TrackerSeedGenerator_TSGForOI_H 2 #define RecoMuon_TrackerSeedGenerator_TSGForOI_H 80 std::unique_ptr<TrajectoryStateUpdator>
updator_;
112 std::unique_ptr<std::vector<TrajectorySeed> >& seeds);
120 std::vector<TrajectorySeed> &
out,
double calculateSFFromL2(const reco::TrackRef track)
Function used to calculate the dynamic error SF by analysing the L2.
const std::string estimatorName_
Estimator used to find dets and TrajectoryMeasurements.
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
std::unique_ptr< TrajectoryStateUpdator > updator_
KFUpdator defined in constructor.
edm::ESHandle< Propagator > propagatorAlong_
const double tsosDiff_
Distance of TSOSs to trigger using hits or not.
void findSeedsOnLayer(const GeometricSearchDet &layer, const TrajectoryStateOnSurface &tsosAtIP, const Propagator &propagatorAlong, const Propagator &propagatorOpposite, const reco::TrackRef l2, std::unique_ptr< std::vector< TrajectorySeed > > &seeds)
Function to find seeds on a given layer.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::ESHandle< MagneticField > magfield_
const double maxEtaForTOB_
Maximum eta value to activate searching in the TOB.
unsigned int numSeedsMade_
const double minEtaForTEC_
Minimum eta value to activate searching in the TEC.
const double fixedErrorRescalingForHits_
How much to rescale errors from the L2 (fixed error vs pT, eta)
const bool useHitLessSeeds_
const unsigned int numOfLayersToTry_
How many layers to try.
const bool useStereoLayersInTEC_
Switch ON to use Stereo layers instead of using every layer in TEC.
Create L3MuonTrajectorySeeds from L2 Muons updated at vertex in an outside in manner.
const bool adjustErrorsDynamicallyForHitless_
unsigned int numOfMaxSeeds_
Maximum number of seeds for each L2.
const double pT1_
pT, eta ranges and scale factor values
const edm::EDGetTokenT< reco::TrackCollection > src_
Labels for input collections.
edm::ESHandle< Chi2MeasurementEstimatorBase > estimator_
bool analysedL2_
Counters and flags for the implementation.
const bool adjustErrorsDynamicallyForHits_
Whether or not to use an automatically calculated scale-factor value.
Plane::PlanePointer dummyPlane_
Surface used to make a TSOS at the PCA to the beamline.
edm::ESHandle< Propagator > propagatorOpposite_
TSGForOI(const edm::ParameterSet &iConfig)
const edm::EDGetTokenT< MeasurementTrackerEvent > measurementTrackerTag_
edm::ESHandle< GlobalTrackingGeometry > geometry_
edm::Handle< MeasurementTrackerEvent > measurementTracker_
const unsigned int numOfHitsToTry_
How many hits to try per layer.
const double fixedErrorRescalingForHitless_
int makeSeedsFromHits(const GeometricSearchDet &layer, const TrajectoryStateOnSurface &state, std::vector< TrajectorySeed > &out, const Propagator &propagatorAlong, const MeasurementTrackerEvent &mte, double errorSF)
Function to find hits on layers and create seeds from updated TSOS.