6 InputSignal_(conf.getParameter<edm::InputTag>(
"InputSignal")),
7 InputPileup_(conf.getParameter<edm::InputTag>(
"InputPileup")),
8 GeneralTrackOutput_(conf.getParameter<std::
string>(
"GeneralTrackOutput")),
9 HitOutput_(conf.getParameter<std::
string>(
"HitOutput")),
10 GeneralTrackExtraOutput_(conf.getParameter<std::
string>(
"GeneralTrackExtraOutput"))
81 for (
auto const& track : *tracks) {
84 auto const& extra = tracksExtras->at(track.extra().key());
85 NewTrackExtraList_->emplace_back(extra.outerPosition(), extra.outerMomentum(), extra.outerOk(),
86 extra.innerPosition(),extra.innerMomentum(), extra.innerOk(),
87 extra.outerStateCovariance(), extra.outerDetId(),
88 extra.innerStateCovariance(), extra.innerDetId(),
89 extra.seedDirection(),
int bunchCrossing() const
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::string GeneralTrackOutput_
std::vector< Track > TrackCollection
collection of Tracks
virtual ~RecoTrackAccumulator()
std::auto_ptr< TrackingRecHitCollection > NewHitList_
std::auto_ptr< reco::TrackCollection > NewTrackList_
RecoTrackAccumulator(const edm::ParameterSet &conf, edm::one::EDProducerBase &mixMod, edm::ConsumesCollector &iC)
TrackingRecHitRefProd rHits
virtual void accumulate(edm::Event const &e, edm::EventSetup const &c)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::Ref< TrackingRecHitCollection > TrackingRecHitRef
persistent reference to a TrackingRecHit
std::auto_ptr< reco::TrackExtraCollection > NewTrackExtraList_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::vector< TrackExtra > TrackExtraCollection
collection of TrackExtra objects
edm::OwnVector< TrackingRecHit > TrackingRecHitCollection
collection of TrackingRecHits
reco::TrackExtraRefProd rTrackExtras
virtual void finalizeEvent(edm::Event &e, edm::EventSetup const &c)
edm::InputTag InputPileup_
virtual void initializeEvent(edm::Event const &e, edm::EventSetup const &c)
bool getByLabel(edm::InputTag const &tag, edm::Handle< T > &result) const
edm::InputTag InputSignal_
std::string GeneralTrackExtraOutput_
void accumulateEvent(const T &e, edm::EventSetup const &c, edm::Handle< reco::TrackCollection > t, edm::Handle< reco::TrackExtraCollection > tx, edm::Handle< TrackingRecHitCollection > h)