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  using SimHitTPPair = std::pair<TrackingParticleRef, TrackPSimHitRef>;
18  using SimHitTPAssociationList = std::vector<SimHitTPPair>;
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
std::vector< edm::EDGetTokenT< edm::PSimHitContainer > > _simHitSrc
std::pair< TrackingParticleRef, TrackPSimHitRef > SimHitTPPair
SimHitTPAssociationProducer(const edm::ParameterSet &)
static bool simHitTPAssociationListGreater(SimHitTPPair i, SimHitTPPair j)
std::vector< SimHitTPPair > SimHitTPAssociationList
edm::EDGetTokenT< TrackingParticleCollection > _trackingParticleSrc
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override