CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  namespace one {
30  class EDProducerBase;
31  }
32  class StreamID;
33 }
34 
35 
37 {
38  public:
40  virtual ~RecoTrackAccumulator();
41 
42  virtual void initializeEvent(edm::Event const& e, edm::EventSetup const& c);
43  virtual void accumulate(edm::Event const& e, edm::EventSetup const& c);
44  virtual void accumulate(PileUpEventPrincipal const& e, edm::EventSetup const& c, edm::StreamID const&) override;
45  virtual void finalizeEvent(edm::Event& e, edm::EventSetup const& c);
46 
47 
48  private:
49  template<class T> void accumulateEvent(const T& e, edm::EventSetup const& c,const edm::InputTag & label);
50 
51  std::auto_ptr<reco::TrackCollection> newTracks_;
52  std::auto_ptr<reco::TrackExtraCollection> newTrackExtras_;
53  std::auto_ptr<TrackingRecHitCollection> newHits_;
54 
58 
61 
63 
64 };
65 
66 
67 #endif
void accumulateEvent(const T &e, edm::EventSetup const &c, const edm::InputTag &label)
RecoTrackAccumulator(const edm::ParameterSet &conf, edm::one::EDProducerBase &mixMod, edm::ConsumesCollector &iC)
virtual void accumulate(edm::Event const &e, edm::EventSetup const &c)
TrackingRecHitRefProd rNewHits
reco::TrackRefProd rNewTracks
tuple conf
Definition: dbtoconf.py:185
std::auto_ptr< reco::TrackExtraCollection > newTrackExtras_
virtual void finalizeEvent(edm::Event &e, edm::EventSetup const &c)
virtual void initializeEvent(edm::Event const &e, edm::EventSetup const &c)
std::auto_ptr< TrackingRecHitCollection > newHits_
std::auto_ptr< reco::TrackCollection > newTracks_
long double T
reco::TrackExtraRefProd rNewTrackExtras