CMS 3D CMS Logo

SimHitTPAssociationProducer.h
Go to the documentation of this file.
1 #ifndef SimGeneral_TrackingAnalysis_SimHitTPAssociationProducer_h
2 #define SimGeneral_TrackingAnalysis_SimHitTPAssociationProducer_h
3 
10 
14 
16 public:
17  typedef std::pair<TrackingParticleRef, TrackPSimHitRef> SimHitTPPair;
18  typedef std::vector<SimHitTPPair> SimHitTPAssociationList;
19 
22 
23  static bool simHitTPAssociationListGreater(SimHitTPPair i, SimHitTPPair j) { return (i.first.key() > j.first.key()); }
24 
25 private:
26  void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override;
27 
28  std::vector<edm::EDGetTokenT<edm::PSimHitContainer>> _simHitSrc;
30 };
31 #endif
edm::StreamID
Definition: StreamID.h:30
mps_fire.i
i
Definition: mps_fire.py:428
SimHitTPAssociationProducer
Definition: SimHitTPAssociationProducer.h:15
edm::EDGetTokenT< TrackingParticleCollection >
PSimHitContainer.h
SimHitTPAssociationProducer::SimHitTPPair
std::pair< TrackingParticleRef, TrackPSimHitRef > SimHitTPPair
Definition: SimHitTPAssociationProducer.h:17
SimHitTPAssociationProducer::_simHitSrc
std::vector< edm::EDGetTokenT< edm::PSimHitContainer > > _simHitSrc
Definition: SimHitTPAssociationProducer.h:28
SimHitTPAssociationProducer::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition: SimHitTPAssociationProducer.cc:31
EDGetToken.h
edm::global::EDProducer
Definition: EDProducer.h:32
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
SimHitTPAssociationProducer::SimHitTPAssociationProducer
SimHitTPAssociationProducer(const edm::ParameterSet &)
Definition: SimHitTPAssociationProducer.cc:17
edm::EventSetup
Definition: EventSetup.h:57
SimHitTPAssociationProducer::SimHitTPAssociationList
std::vector< SimHitTPPair > SimHitTPAssociationList
Definition: SimHitTPAssociationProducer.h:18
TrackingParticle.h
TrackingParticleFwd.h
Frameworkfwd.h
ParameterSetfwd.h
SimHitTPAssociationProducer::_trackingParticleSrc
edm::EDGetTokenT< TrackingParticleCollection > _trackingParticleSrc
Definition: SimHitTPAssociationProducer.h:29
ParameterSet.h
EDProducer.h
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
edm::Event
Definition: Event.h:73
SimHitTPAssociationProducer::~SimHitTPAssociationProducer
~SimHitTPAssociationProducer() override
Definition: SimHitTPAssociationProducer.cc:29
SimHitTPAssociationProducer::simHitTPAssociationListGreater
static bool simHitTPAssociationListGreater(SimHitTPPair i, SimHitTPPair j)
Definition: SimHitTPAssociationProducer.h:23