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  private:
48  template<class T> void accumulateEvent(const T& e, edm::EventSetup const& c,const edm::InputTag & label,const edm::InputTag & MVALabel);
49 
50  std::auto_ptr<reco::TrackCollection> newTracks_;
51  std::auto_ptr<reco::TrackExtraCollection> newTrackExtras_;
52  std::auto_ptr<TrackingRecHitCollection> newHits_;
53  std::vector<float> newMVAVals_;
54 
58 
63 
66 
67 };
68 
69 
70 #endif
edm::InputTag signalMVAValuesTag
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
edm::InputTag pileUpMVAValuesTag
void accumulateEvent(const T &e, edm::EventSetup const &c, const edm::InputTag &label, const edm::InputTag &MVALabel)
tuple conf
Definition: dbtoconf.py:185
std::vector< float > newMVAVals_
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