CMS 3D CMS Logo

RecoTrackAccumulator.h
Go to the documentation of this file.
1 #ifndef RecoTrackAccumulator_h
2 #define RecoTrackAccumulator_h
3 
16 
24 
25 
26 namespace edm {
27  class ConsumesCollector;
28  template<typename T> class Handle;
29  class ProducerBase;
30  class StreamID;
31 }
32 
33 
35 {
36  public:
38  ~RecoTrackAccumulator() override;
39 
40  void initializeEvent(edm::Event const& e, edm::EventSetup const& c) override;
41  void accumulate(edm::Event const& e, edm::EventSetup const& c) override;
42  void accumulate(PileUpEventPrincipal const& e, edm::EventSetup const& c, edm::StreamID const&) override;
43  void finalizeEvent(edm::Event& e, edm::EventSetup const& c) override;
44 
45 
46  private:
47  template<class T> void accumulateEvent(const T& e, edm::EventSetup const& c,const edm::InputTag & label);
48 
49  std::unique_ptr<reco::TrackCollection> newTracks_;
50  std::unique_ptr<reco::TrackExtraCollection> newTrackExtras_;
51  std::unique_ptr<TrackingRecHitCollection> newHits_;
52 
56 
59 
61 
62 };
63 
64 
65 #endif
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