CMS 3D CMS Logo

TSGForRoadSearch.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackerSeedGenerator_TSGForRoadSearch_H
2 #define RecoMuon_TrackerSeedGenerator_TSGForRoadSearch_H
3 
22 
33 
35 
39 
40 class TrackingRegion;
41 class MuonServiceProxy;
43 class TrackerTopology;
44 
46 public:
47  typedef std::vector<TrajectorySeed> BTSeedCollection;
48  typedef std::pair<const Trajectory *, reco::TrackRef> TrackCand;
49 
51 
52  ~TSGForRoadSearch() override;
53 
55  void init(const MuonServiceProxy *service) override;
57  void setEvent(const edm::Event &event) override;
58 
60  void trackerSeeds(const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &) override;
61 
62 private:
63  //concrete implementation
65  void makeSeeds_0(const reco::Track &, std::vector<TrajectorySeed> &);
67  void makeSeeds_1(const reco::Track &, std::vector<TrajectorySeed> &);
69  void makeSeeds_2(const reco::Track &, std::vector<TrajectorySeed> &);
71  void makeSeeds_3(const reco::Track &, std::vector<TrajectorySeed> &);
73  void makeSeeds_4(const reco::Track &, std::vector<TrajectorySeed> &);
74 
75 private:
77  bool IPfts(const reco::Track &, FreeTrajectoryState &);
80 
83 
86  std::vector<DetLayer::DetWithState> &compatible,
87  PropagationDirection direction,
88  std::vector<TrajectorySeed> &result) const;
90 
93 
97 
100 
101  unsigned int theOption;
110 
112 };
113 
114 #endif
Propagator.h
Chi2MeasurementEstimator.h
TSGForRoadSearch::theOption
unsigned int theOption
Definition: TSGForRoadSearch.h:101
TSGForRoadSearch::makeSeeds_4
void makeSeeds_4(const reco::Track &, std::vector< TrajectorySeed > &)
inside-out: innermost Pixel/Strip layer
Definition: TSGForRoadSearch.cc:321
TrackerSeedGenerator::TrackCand
std::pair< const Trajectory *, reco::TrackRef > TrackCand
Definition: TrackerSeedGenerator.h:30
service
Definition: service.py:1
MeasurementTrackerEvent.h
TSGForRoadSearch::theConfig
edm::ParameterSet theConfig
Definition: TSGForRoadSearch.h:89
Chi2MeasurementEstimator
Definition: Chi2MeasurementEstimator.h:15
ESHandle.h
muon
Definition: MuonCocktails.h:17
TSGForRoadSearch::~TSGForRoadSearch
~TSGForRoadSearch() override
Definition: TSGForRoadSearch.cc:60
edm::EDGetTokenT< MeasurementTrackerEvent >
TSGForRoadSearch::notAtIPtsos
bool notAtIPtsos(TrajectoryStateOnSurface &state)
make the adjustement away from PCA state if requested
Definition: TSGForRoadSearch.cc:108
TrackerTopology
Definition: TrackerTopology.h:16
TrackerSeedGenerator.h
TSGForRoadSearch::BTSeedCollection
std::vector< TrajectorySeed > BTSeedCollection
Definition: TSGForRoadSearch.h:47
TSGForRoadSearch::theMeasurementTracker
edm::ESHandle< MeasurementTracker > theMeasurementTracker
Definition: TSGForRoadSearch.h:91
TSGForRoadSearch::makeSeeds_2
void makeSeeds_2(const reco::Track &, std::vector< TrajectorySeed > &)
not implemented
Definition: TSGForRoadSearch.cc:212
TSGForRoadSearch::thePropCompatible
edm::ESHandle< Propagator > thePropCompatible
Definition: TSGForRoadSearch.h:107
TSGForRoadSearch::theAdjustAtIp
bool theAdjustAtIp
adjust the state at IP or where it is defined for the seed
Definition: TSGForRoadSearch.h:82
TSGForRoadSearch::makeSeeds_1
void makeSeeds_1(const reco::Track &, std::vector< TrajectorySeed > &)
not implemented
Definition: TSGForRoadSearch.cc:207
MuonErrorMatrix.h
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
TSGForRoadSearch::TrackCand
std::pair< const Trajectory *, reco::TrackRef > TrackCand
Definition: TSGForRoadSearch.h:48
Track.h
TrackerSeedGenerator::BTSeedCollection
std::vector< TrajectorySeed > BTSeedCollection
Definition: TrackerSeedGenerator.h:26
TSGForRoadSearch::theCategory
std::string theCategory
Definition: TSGForRoadSearch.h:109
reco::Track
Definition: Track.h:27
edm::ESHandle< MeasurementTracker >
TSGForRoadSearch::thePropagatorName
std::string thePropagatorName
Definition: TSGForRoadSearch.h:104
TrajectorySeed.h
TrackerSeedGenerator
Definition: TrackerSeedGenerator.h:24
MeasurementTrackerEvent
Definition: MeasurementTrackerEvent.h:16
edm::ParameterSet
Definition: ParameterSet.h:47
TSGForRoadSearch::init
void init(const MuonServiceProxy *service) override
initialize the service
Definition: TSGForRoadSearch.cc:68
TSGForRoadSearch::theMeasurementTrackerEvent
const MeasurementTrackerEvent * theMeasurementTrackerEvent
Definition: TSGForRoadSearch.h:96
TSGForRoadSearch::theMeasurementTrackerEventToken
edm::EDGetTokenT< MeasurementTrackerEvent > theMeasurementTrackerEventToken
Definition: TSGForRoadSearch.h:95
TSGForRoadSearch::pushTrajectorySeed
void pushTrajectorySeed(const reco::Track &muon, std::vector< DetLayer::DetWithState > &compatible, PropagationDirection direction, std::vector< TrajectorySeed > &result) const
add the seed(s) to the collection of seeds
Definition: TSGForRoadSearch.cc:463
TSGForRoadSearch::theErrorMatrixAdjuster
MuonErrorMatrix * theErrorMatrixAdjuster
Definition: TSGForRoadSearch.h:111
MagneticField.h
TSGForRoadSearch::setEvent
void setEvent(const edm::Event &event) override
set the event: update the MeasurementTracker
Definition: TSGForRoadSearch.cc:70
TSGForRoadSearch::makeSeeds_3
void makeSeeds_3(const reco::Track &, std::vector< TrajectorySeed > &)
outside-in: outermost Strip layer
Definition: TSGForRoadSearch.cc:220
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TSGForRoadSearch::theGeometricSearchTracker
edm::ESHandle< GeometricSearchTracker > theGeometricSearchTracker
Definition: TSGForRoadSearch.h:92
TSGForRoadSearch::theProp
edm::ESHandle< Propagator > theProp
Definition: TSGForRoadSearch.h:105
TSGForRoadSearch::thePropagatorCompatibleName
std::string thePropagatorCompatibleName
Definition: TSGForRoadSearch.h:106
TSGForRoadSearch::theChi2Estimator
Chi2MeasurementEstimator * theChi2Estimator
Definition: TSGForRoadSearch.h:108
TSGForRoadSearch::theMeasurementTrackerEventTag
edm::InputTag theMeasurementTrackerEventTag
Definition: TSGForRoadSearch.h:94
RunInfoPI::state
state
Definition: RunInfoPayloadInspectoHelper.h:16
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
TSGForRoadSearch::makeSeeds_0
void makeSeeds_0(const reco::Track &, std::vector< TrajectorySeed > &)
oseed from inside-out: innermost Strip layer
Definition: TSGForRoadSearch.cc:137
PropagationDirection
PropagationDirection
Definition: PropagationDirection.h:4
TSGForRoadSearch::TSGForRoadSearch
TSGForRoadSearch(const edm::ParameterSet &pset, edm::ConsumesCollector &IC)
Definition: TSGForRoadSearch.cc:26
DetLayer.h
EventSetup.h
MuonErrorMatrix
Definition: MuonErrorMatrix.h:24
TSGForRoadSearch::theManySeeds
bool theManySeeds
Definition: TSGForRoadSearch.h:103
TrackingRegion
Definition: TrackingRegion.h:41
mps_fire.result
result
Definition: mps_fire.py:311
ConsumesCollector.h
TSGForRoadSearch
Definition: TSGForRoadSearch.h:45
TrajectoryStateUpdator
Definition: TrajectoryStateUpdator.h:14
ParameterSet.h
TSGForRoadSearch::theUpdator
TrajectoryStateUpdator * theUpdator
Definition: TSGForRoadSearch.h:98
MuonServiceProxy
Definition: MuonServiceProxy.h:38
event
Definition: event.py:1
GlobalTrackingGeometry.h
edm::Event
Definition: Event.h:73
TSGForRoadSearch::IPfts
bool IPfts(const reco::Track &, FreeTrajectoryState &)
get the FTS for a Track: adjusting the error matrix if requested
Definition: TSGForRoadSearch.cc:117
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
TSGForRoadSearch::theCopyMuonRecHit
bool theCopyMuonRecHit
Definition: TSGForRoadSearch.h:102
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
MeasurementTracker.h
TSGForRoadSearch::trackerSeeds
void trackerSeeds(const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &) override
generated seed(s) for a track. the tracking region is not used.
Definition: TSGForRoadSearch.cc:85
TSGForRoadSearch::theProxyService
const MuonServiceProxy * theProxyService
Definition: TSGForRoadSearch.h:99