CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SeedFromProtoTrack.h
Go to the documentation of this file.
1 #ifndef RecoTracker_TkSeedGenerator_SeedFromProtoTrack_H
2 #define RecoTracker_TkSeedGenerator_SeedFromProtoTrack_H
3 
9 
10 namespace reco {
11  class Track;
12 }
13 namespace edm {
14  class EventSetup;
15  class ConsumesCollector;
16 } // namespace edm
17 
18 class TrackerGeometry;
20 class Propagator;
22 class MagneticField;
24 
26 public:
27  struct Config {
29 
33  };
34 
35  SeedFromProtoTrack(const Config&, const reco::Track& proto, const edm::EventSetup&);
36  SeedFromProtoTrack(const Config&, const reco::Track& proto, const SeedingHitSet& hits, const edm::EventSetup& es);
37 
39 
41 
42  bool isValid() const { return theValid; }
43 
44 private:
45  void init(const Config&, const reco::Track& proto, const edm::EventSetup& es);
46 
48 
49  PTrajectoryStateOnDet const& trajectoryState() const { return thePTraj; }
50 
52  const RecHitContainer& hits() const { return theHits; }
53 
54 private:
55  bool theValid;
58 };
59 #endif
SeedFromProtoTrack(const Config &, const reco::Track &proto, const edm::EventSetup &)
PTrajectoryStateOnDet thePTraj
PTrajectoryStateOnDet const & trajectoryState() const
PropagationDirection
edm::OwnVector< TrackingRecHit > RecHitContainer
TrajectorySeed trajectorySeed() const
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerToken_
RecHitContainer theHits
Config(edm::ConsumesCollector)
const edm::ESGetToken< Propagator, TrackingComponentsRecord > propagatorToken_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > fieldToken_
const RecHitContainer & hits() const
PropagationDirection direction() const
void init(const Config &, const reco::Track &proto, const edm::EventSetup &es)
tuple Config
Definition: helper.py:10