CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TrackProducerWithSCAssociation.h
Go to the documentation of this file.
1 #ifndef TrackProducerWithSCAssociation_h
2 #define TrackProducerWithSCAssociation_h
3 
18 
20 public:
21  explicit TrackProducerWithSCAssociation(const edm::ParameterSet& iConfig);
22 
23  void produce(edm::Event&, const edm::EventSetup&) override;
24 
25  std::vector<reco::TransientTrack> getTransient(edm::Event&, const edm::EventSetup&);
26 
27 private:
38 
39  //Same recipe as Ursula's for electrons. Copy this from TrackProducerBase to get the OrphanHandle
40  //ugly temporary solution!! I agree !
41  void putInEvt(edm::Event& evt,
42  const Propagator* thePropagator,
43  const MeasurementTracker* theMeasTk,
44  std::unique_ptr<TrackingRecHitCollection> selHits,
45  std::unique_ptr<reco::TrackCollection> selTracks,
46  std::unique_ptr<reco::TrackExtraCollection> selTrackExtras,
47  std::unique_ptr<std::vector<Trajectory>> selTrajectories,
48  AlgoProductCollection& algoResults,
49  TransientTrackingRecHitBuilder const* hitBuilder,
50  const TrackerTopology* ttopo);
51 };
52 
53 #endif
TrackProducerWithSCAssociation::trackSuperClusterAssociationCollection_
std::string trackSuperClusterAssociationCollection_
Definition: TrackProducerWithSCAssociation.h:32
TrackProducerWithSCAssociation::theAlgo
TrackProducerAlgorithm< reco::Track > theAlgo
Definition: TrackProducerWithSCAssociation.h:29
TrackProducerWithSCAssociation::produce
void produce(edm::Event &, const edm::EventSetup &) override
Method where the procduction take place. To be implemented in concrete classes.
Definition: TrackProducerWithSCAssociation.cc:56
edm::EDGetTokenT
Definition: EDGetToken.h:33
TrackerTopology
Definition: TrackerTopology.h:16
EDProducer.h
TrackProducerWithSCAssociation::TrackProducerWithSCAssociation
TrackProducerWithSCAssociation(const edm::ParameterSet &iConfig)
Definition: TrackProducerWithSCAssociation.cc:20
TrackProducerWithSCAssociation::measurementTrkToken_
edm::EDGetTokenT< MeasurementTrackerEvent > measurementTrkToken_
Definition: TrackProducerWithSCAssociation.h:35
TransientTrack.h
AlgoProductTraits< reco::Track >::AlgoProductCollection
std::vector< AlgoProduct > AlgoProductCollection
Definition: AlgoProductTraits.h:20
TrackProducerWithSCAssociation
Definition: TrackProducerWithSCAssociation.h:19
Propagator
Definition: Propagator.h:44
MeasurementTracker
Definition: MeasurementTracker.h:21
TrackFwd.h
TrackProducerBase.h
TrackProducerWithSCAssociation::putInEvt
void putInEvt(edm::Event &evt, const Propagator *thePropagator, const MeasurementTracker *theMeasTk, std::unique_ptr< TrackingRecHitCollection > selHits, std::unique_ptr< reco::TrackCollection > selTracks, std::unique_ptr< reco::TrackExtraCollection > selTrackExtras, std::unique_ptr< std::vector< Trajectory >> selTrajectories, AlgoProductCollection &algoResults, TransientTrackingRecHitBuilder const *hitBuilder, const TrackerTopology *ttopo)
Definition: TrackProducerWithSCAssociation.cc:269
TrackProducerWithSCAssociation::myTrajectoryInEvent_
bool myTrajectoryInEvent_
Definition: TrackProducerWithSCAssociation.h:36
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
TrackProducerAlgorithm< reco::Track >
TrackProducerWithSCAssociation::rTracks_
edm::OrphanHandle< reco::TrackCollection > rTracks_
Definition: TrackProducerWithSCAssociation.h:34
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
TrackProducerWithSCAssociation::getTransient
std::vector< reco::TransientTrack > getTransient(edm::Event &, const edm::EventSetup &)
Definition: TrackProducerWithSCAssociation.cc:210
cms::cuda::device::unique_ptr
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
Definition: device_unique_ptr.h:33
TrackProducerWithSCAssociation::validTrackCandidateSCAssociationInput_
bool validTrackCandidateSCAssociationInput_
Definition: TrackProducerWithSCAssociation.h:37
TrackProducerAlgorithm.h
edm::OrphanHandle< reco::TrackCollection >
TrackProducerWithSCAssociation::assoc_token
edm::EDGetTokenT< reco::TrackCandidateCaloClusterPtrAssociation > assoc_token
Definition: TrackProducerWithSCAssociation.h:33
TrackProducerWithSCAssociation::trackCSuperClusterAssociationCollection_
std::string trackCSuperClusterAssociationCollection_
Definition: TrackProducerWithSCAssociation.h:31
TrackCandidateCaloClusterAssociation.h
TrackProducerWithSCAssociation::myname_
std::string myname_
Definition: TrackProducerWithSCAssociation.h:28
TrackProducerBase
Definition: TrackProducerBase.h:39
edm::Event
Definition: Event.h:73
TransientTrackingRecHitBuilder
Definition: TransientTrackingRecHitBuilder.h:6
TrackProducerWithSCAssociation::conversionTrackCandidateProducer_
std::string conversionTrackCandidateProducer_
Definition: TrackProducerWithSCAssociation.h:30