CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 { class Event; class EventSetup; }
13 
15 {
16 public:
17  explicit TrackListCombiner(const edm::ParameterSet& ps);
19  virtual void produce(edm::StreamID, edm::Event& ev, const edm::EventSetup& es) const override;
20 
21 private:
22  struct Tags {
23  template <typename T1, typename T2> Tags(T1 t1, T2 t2): trajectory(t1), assoMap(t2) {}
26  };
27 
28  std::vector<Tags> trackProducers;
29 };
30 #endif
31 
edm::EDGetTokenT< std::vector< Trajectory > > trajectory
bool ev
Definition: Event.h:16
auto const T2 &decltype(t1.eta()) t2
Definition: deltaR.h:16
edm::EDGetTokenT< TrajTrackAssociationCollection > assoMap
std::vector< Tags > trackProducers
TrackListCombiner(const edm::ParameterSet &ps)
virtual void produce(edm::StreamID, edm::Event &ev, const edm::EventSetup &es) const override