CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FastTrackMerger.h
Go to the documentation of this file.
1 #ifndef FastSimulation_Tracking_FastTrackMerger_h
2 #define FastSimulation_Tracking_FastTrackMerger_h
3 
6 
10 
11 #include <vector>
12 #include <string>
13 
14 namespace edm {
15  class ParameterSet;
16  class Event;
17  class EventSetup;
18 }
19 
20 //namespace reco {
21 // class Track;
22 //}
23 
24 
26 {
27  public:
28 
29  explicit FastTrackMerger(const edm::ParameterSet& conf);
30 
31  virtual ~FastTrackMerger() {}
32 
33  virtual void produce(edm::Event& e, const edm::EventSetup& es);
34 
35  private:
36 
37  int findId(const reco::Track& aTrack) const;
38 
39  private:
40 
41  std::vector<edm::InputTag> trackProducers;
42  std::vector<edm::InputTag> removeTrackProducers;
43  bool tracksOnly;
45  double pTMin2;
46  unsigned minHits;
47  unsigned trackAlgo;
50  unsigned theMaxLostHits;
52 
53  // consumes
54  std::vector<edm::EDGetTokenT<reco::TrackCollection> > removeTrackTokens;
55  std::vector<edm::EDGetTokenT<reco::TrackCollection> > trackTokens;
56  std::vector<edm::EDGetTokenT<std::vector<Trajectory> > > trajectoryTokens;
57  std::vector<edm::EDGetTokenT<TrajTrackAssociationCollection> > assoMapTokens;
58 
59 };
60 
61 #endif
unsigned theMinimumNumberOfHits
std::vector< edm::EDGetTokenT< reco::TrackCollection > > removeTrackTokens
std::vector< edm::InputTag > removeTrackProducers
int findId(const reco::Track &aTrack) const
FastTrackMerger(const edm::ParameterSet &conf)
virtual ~FastTrackMerger()
std::vector< edm::EDGetTokenT< std::vector< Trajectory > > > trajectoryTokens
std::vector< edm::EDGetTokenT< reco::TrackCollection > > trackTokens
tuple conf
Definition: dbtoconf.py:185
std::string qualityStr
unsigned theMaxConsecutiveLostHits
virtual void produce(edm::Event &e, const edm::EventSetup &es)
std::vector< edm::InputTag > trackProducers
std::vector< edm::EDGetTokenT< TrajTrackAssociationCollection > > assoMapTokens
unsigned theMaxLostHits