CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TrackListCombiner.h
Go to the documentation of this file.
1 #ifndef TrackListCombiner_H
2 #define TrackListCombiner_H
3 
6 
9 
10 #include <vector>
11 
12 namespace edm {
13  class Event;
14  class EventSetup;
15 } // namespace edm
16 
18 public:
19  explicit TrackListCombiner(const edm::ParameterSet& ps);
20  ~TrackListCombiner() override;
21  void produce(edm::StreamID, edm::Event& ev, const edm::EventSetup& es) const override;
22 
23 private:
24  struct Tags {
25  template <typename T1, typename T2>
26  Tags(T1 t1, T2 t2) : trajectory(t1), assoMap(t2) {}
29  };
30 
31  std::vector<Tags> trackProducers;
32 };
33 #endif
edm::EDGetTokenT< std::vector< Trajectory > > trajectory
edm::EDGetTokenT< TrajTrackAssociationCollection > assoMap
std::vector< Tags > trackProducers
TrackListCombiner(const edm::ParameterSet &ps)
~TrackListCombiner() override
void produce(edm::StreamID, edm::Event &ev, const edm::EventSetup &es) const override