CMS 3D CMS Logo

RecoTrackAccumulator.h
Go to the documentation of this file.
1 #ifndef RecoTrackAccumulator_h
2 #define RecoTrackAccumulator_h
3 
16 
25 
26 namespace edm {
27  class ConsumesCollector;
28  template <typename T>
29  class Handle;
30  class StreamID;
31 } // namespace edm
32 
34 public:
36  ~RecoTrackAccumulator() override;
37 
38  void initializeEvent(edm::Event const& e, edm::EventSetup const& c) override;
39  void accumulate(edm::Event const& e, edm::EventSetup const& c) override;
40  void accumulate(PileUpEventPrincipal const& e, edm::EventSetup const& c, edm::StreamID const&) override;
41  void finalizeEvent(edm::Event& e, edm::EventSetup const& c) override;
42 
43 private:
44  template <class T>
45  void accumulateEvent(const T& e, edm::EventSetup const& c, const edm::InputTag& label);
46 
47  std::unique_ptr<reco::TrackCollection> newTracks_;
48  std::unique_ptr<reco::TrackExtraCollection> newTrackExtras_;
49  std::unique_ptr<TrackingRecHitCollection> newHits_;
50 
54 
57 
59 };
60 
61 #endif
char const * label
std::unique_ptr< reco::TrackCollection > newTracks_
TrackingRecHitRefProd rNewHits
std::unique_ptr< reco::TrackExtraCollection > newTrackExtras_
reco::TrackRefProd rNewTracks
std::unique_ptr< TrackingRecHitCollection > newHits_
HLT enums.
long double T
reco::TrackExtraRefProd rNewTrackExtras