CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackCandidateProducer.h
Go to the documentation of this file.
1 #ifndef FastSimulation_Tracking_TrackCandidateProducer_h
2 #define FastSimulation_Tracking_TrackCandidateProducer_h
3 
6 
8 
9 class TrackerGeometry;
12 
13 namespace edm {
14  class ParameterSet;
15  class Event;
16  class EventSetup;
17 }
18 
19 namespace reco {
20  class Track;
21 }
22 
23 class TrackerRecHit;
24 class TrackingRecHit;
25 
26 #include <vector>
27 
29 {
30  public:
31 
33 
34  virtual ~TrackCandidateProducer();
35 
36  virtual void beginRun(edm::Run const& run, const edm::EventSetup & es) override;
37 
38  virtual void produce(edm::Event& e, const edm::EventSetup& es) override;
39 
40  private:
41 
42  int findId(const reco::Track& aTrack) const;
43 
44  void addSplitHits(const TrackerRecHit&, std::vector<TrackerRecHit>&);
45  bool isDuplicateCandidate(const TrackCandidateCollection& candidates, const TrackCandidate& newCand) const;
46  bool sameLocalParameters(const TrackingRecHit* aH, const TrackingRecHit* bH) const;
47 
48  private:
49 
53 
54 
57  // edm::InputTag trackProducer;
58  std::vector<edm::InputTag> trackProducers;
59 
62 
64  bool splitHits;
67 
69  double estimatorCut_;
70 };
71 
72 #endif
TrackCandidateProducer(const edm::ParameterSet &conf)
int findId(const reco::Track &aTrack) const
std::vector< TrackCandidate > TrackCandidateCollection
const MagneticField * theMagField
virtual void produce(edm::Event &e, const edm::EventSetup &es) override
PropagatorWithMaterial * thePropagator
std::vector< edm::InputTag > trackProducers
tuple conf
Definition: dbtoconf.py:185
virtual void beginRun(edm::Run const &run, const edm::EventSetup &es) override
const TrackerGeometry * theGeometry
bool sameLocalParameters(const TrackingRecHit *aH, const TrackingRecHit *bH) const
bool isDuplicateCandidate(const TrackCandidateCollection &candidates, const TrackCandidate &newCand) const
Definition: Run.h:41
void addSplitHits(const TrackerRecHit &, std::vector< TrackerRecHit > &)