CMS 3D CMS Logo

CSCHitAssociator.h
Go to the documentation of this file.
1 #ifndef MCTruth_CSCHitAssociator_h
2 #define MCTruth_CSCHitAssociator_h
3 
23 
24 class MuonGeometryRecord;
25 
27 public:
31  typedef std::pair<uint32_t, EncodedEventId> SimHitIdpr;
32 
33  class Config {
34  public:
36 
37  private:
38  friend class CSCHitAssociator;
42  };
43 
44  CSCHitAssociator(const edm::Event &, const edm::EventSetup &, const Config &);
45 
46  std::vector<SimHitIdpr> associateHitId(const TrackingRecHit &) const;
47  std::vector<SimHitIdpr> associateCSCHitId(const CSCRecHit2D *) const;
48 
49 private:
50  void initEvent(const edm::Event &, const edm::EventSetup &);
51 
52  const Config &theConfig;
54 
56 };
57 
58 #endif
const edm::ESGetToken< CSCGeometry, MuonGeometryRecord > geomToken_
std::vector< SimHitIdpr > associateHitId(const TrackingRecHit &) const
const edm::EDGetTokenT< DigiSimLinks > linksToken_
const edm::InputTag linksTag_
const Config & theConfig
edm::DetSetVector< StripDigiSimLink > DigiSimLinks
std::vector< SimHitIdpr > associateCSCHitId(const CSCRecHit2D *) const
std::pair< uint32_t, EncodedEventId > SimHitIdpr
CSCHitAssociator(const edm::Event &, const edm::EventSetup &, const Config &)
const DigiSimLinks * theDigiSimLinks
edm::DetSet< StripDigiSimLink > LayerLinks
Config(const edm::ParameterSet &, edm::ConsumesCollector iC)
edm::DetSetVector< StripDigiSimLink > WireDigiSimLinks
const CSCGeometry * cscgeom
Definition: Config.py:1
void initEvent(const edm::Event &, const edm::EventSetup &)