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
edm::RefProd< TrackCollection >
edm::StreamID
Definition: StreamID.h:30
TrackExtra.h
TrackExtraFwd.h
RecoTrackAccumulator::pileUpTracksTag
edm::InputTag pileUpTracksTag
Definition: RecoTrackAccumulator.h:56
RecoTrackAccumulator::accumulateEvent
void accumulateEvent(const T &e, edm::EventSetup const &c, const edm::InputTag &label)
Definition: RecoTrackAccumulator.cc:57
ESHandle.h
RecoTrackAccumulator::rNewTrackExtras
reco::TrackExtraRefProd rNewTrackExtras
Definition: RecoTrackAccumulator.h:52
Handle
edm
HLT enums.
Definition: AlignableModifier.h:19
PileUpEventPrincipal
Definition: PileUpEventPrincipal.h:19
RecoTrackAccumulator::accumulate
void accumulate(edm::Event const &e, edm::EventSetup const &c) override
Definition: RecoTrackAccumulator.cc:38
ProducesCollector.h
TrackFwd.h
RecoTrackAccumulator::initializeEvent
void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
Definition: RecoTrackAccumulator.cc:27
EventPrincipal.h
DigiAccumulatorMixMod.h
RecoTrackAccumulator::newTracks_
std::unique_ptr< reco::TrackCollection > newTracks_
Definition: RecoTrackAccumulator.h:47
PileUpEventPrincipal.h
DigiAccumulatorMixMod
Definition: DigiAccumulatorMixMod.h:41
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RecoTrackAccumulator::rNewTracks
reco::TrackRefProd rNewTracks
Definition: RecoTrackAccumulator.h:51
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
RecoTrackAccumulator::newHits_
std::unique_ptr< TrackingRecHitCollection > newHits_
Definition: RecoTrackAccumulator.h:49
edm::EventSetup
Definition: EventSetup.h:58
RecoTrackAccumulator::finalizeEvent
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
Definition: RecoTrackAccumulator.cc:50
RecoTrackAccumulator::rNewHits
TrackingRecHitRefProd rNewHits
Definition: RecoTrackAccumulator.h:53
edm::ProducesCollector
Definition: ProducesCollector.h:43
RecoTrackAccumulator::newTrackExtras_
std::unique_ptr< reco::TrackExtraCollection > newTrackExtras_
Definition: RecoTrackAccumulator.h:48
RecoTrackAccumulator::signalTracksTag
edm::InputTag signalTracksTag
Definition: RecoTrackAccumulator.h:55
T
long double T
Definition: Basic3DVectorLD.h:48
RecoTrackAccumulator
Definition: RecoTrackAccumulator.h:33
RecoTrackAccumulator::RecoTrackAccumulator
RecoTrackAccumulator(const edm::ParameterSet &conf, edm::ProducesCollector, edm::ConsumesCollector &iC)
Definition: RecoTrackAccumulator.cc:10
ParameterSet.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
label
const char * label
Definition: PFTauDecayModeTools.cc:11
RecoTrackAccumulator::~RecoTrackAccumulator
~RecoTrackAccumulator() override
Definition: RecoTrackAccumulator.cc:25
RecoTrackAccumulator::outputLabel
std::string outputLabel
Definition: RecoTrackAccumulator.h:58
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37