1 #ifndef RecoMuon_TrackerSeedGenerator_TSGForOI_H
2 #define RecoMuon_TrackerSeedGenerator_TSGForOI_H
82 std::unique_ptr<TrajectoryStateUpdator>
updator_;
114 std::auto_ptr<std::vector<TrajectorySeed> >& seeds);
126 std::vector<TrajectorySeed> &
out,
const std::string estimatorName_
Estimator used to find dets and TrajectoryMeasurements.
const double tsosDiffDeltaR_
Difference in deltaR of TSOSs to trigger using hits in hybrid.
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
const bool useHitlessSeeds_
Switch to use hitless seeds or not.
void findSeedsOnLayer(const GeometricSearchDet &layer, const TrajectoryStateOnSurface &tsosAtIP, const TrajectoryStateOnSurface &tsosAtMuonSystem, const Propagator &propagatorAlong, const Propagator &propagatorOpposite, const reco::TrackRef l2, std::auto_ptr< std::vector< TrajectorySeed > > &seeds)
Function to find seeds on a given layer.
std::unique_ptr< TrajectoryStateUpdator > updator_
KFUpdator defined in constructor.
edm::ESHandle< Propagator > propagatorAlong_
const bool adjustErrorsDyanmicallyForHits_
Whether or not to use an automatically calculated SF value.
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.
bool foundCompatibleDet_
Counters and flags for the implementation.
const double fixedErrorRescalingForHits_
How much to rescale errors from STA for fixed option.
const unsigned int numOfLayersToTry_
How many layers to try.
Create L3MuonTrajectorySeeds from L2 Muons updated at vertex in an outside in manner.
unsigned int numOfMaxSeeds_
Maximum number of seeds for each L2.
const double pT1_
pT, eta ranges and scale factor values
const bool useHybridSeeds_
Switch to use hitless + hits for seeds depending on the L2 properties.
const edm::EDGetTokenT< reco::TrackCollection > src_
Labels for input collections.
edm::ESHandle< Chi2MeasurementEstimatorBase > estimator_
Plane::PlanePointer dummyPlane_
Surface used to make a TSOS at the PCA to the beamline.
edm::ESHandle< Propagator > propagatorOpposite_
TSGForOI(const edm::ParameterSet &iConfig)
double calculateSFFromL2(const GeometricSearchDet &layer, const TrajectoryStateOnSurface &tsosAtMuonSystem, const TrajectoryStateOnSurface &tsosOnLayer, const Propagator &propagatorOpposite, const reco::TrackRef track)
Function used to calculate the dynamic error SF by analysing the L2.
const edm::EDGetTokenT< MeasurementTrackerEvent > measurementTrackerTag_
edm::ESHandle< GlobalTrackingGeometry > geometry_
edm::Handle< MeasurementTrackerEvent > measurementTracker_
const bool adjustErrorsDyanmicallyForHitless_
const unsigned int numOfHitsToTry_
How many hits to try on same 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.