SimMuon
MCTruth
interface
CSCHitAssociator.h
Go to the documentation of this file.
1
#ifndef MCTruth_CSCHitAssociator_h
2
#define MCTruth_CSCHitAssociator_h
3
4
#include "
CondFormats/CSCObjects/interface/CSCBadChambers.h
"
5
#include "
CondFormats/DataRecord/interface/CSCBadChambersRcd.h
"
6
#include "
DataFormats/CSCDigi/interface/CSCStripDigi.h
"
7
#include "
DataFormats/CSCDigi/interface/CSCWireDigi.h
"
8
#include "
DataFormats/CSCRecHit/interface/CSCRecHit2D.h
"
9
#include "
DataFormats/Common/interface/DetSetVector.h
"
10
#include "
DataFormats/TrackingRecHit/interface/TrackingRecHit.h
"
11
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
12
#include "
FWCore/Framework/interface/Event.h
"
13
#include "
FWCore/Framework/interface/EventSetup.h
"
14
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
15
#include "
FWCore/Utilities/interface/InputTag.h
"
16
#include "
Geometry/CSCGeometry/interface/CSCGeometry.h
"
17
#include "
Geometry/CSCGeometry/interface/CSCLayerGeometry.h
"
18
#include "
SimDataFormats/CrossingFrame/interface/CrossingFrame.h
"
19
#include "
SimDataFormats/CrossingFrame/interface/MixCollection.h
"
20
#include "
SimDataFormats/Track/interface/SimTrackContainer.h
"
21
#include "
SimDataFormats/TrackerDigiSimLink/interface/StripDigiSimLink.h
"
22
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
23
24
class
CSCHitAssociator
{
25
public
:
26
typedef
edm::DetSetVector<StripDigiSimLink>
DigiSimLinks
;
27
typedef
edm::DetSetVector<StripDigiSimLink>
WireDigiSimLinks
;
28
typedef
edm::DetSet<StripDigiSimLink>
LayerLinks
;
29
typedef
std::pair<uint32_t, EncodedEventId>
SimHitIdpr
;
30
31
CSCHitAssociator
(
const
edm::Event
&,
const
edm::EventSetup
&,
const
edm::ParameterSet
&);
32
CSCHitAssociator
(
const
edm::ParameterSet
&,
edm::ConsumesCollector
&&iC);
33
34
void
initEvent
(
const
edm::Event
&,
const
edm::EventSetup
&);
35
36
std::vector<SimHitIdpr>
associateHitId
(
const
TrackingRecHit
&)
const
;
37
std::vector<SimHitIdpr>
associateCSCHitId
(
const
CSCRecHit2D
*)
const
;
38
39
private
:
40
const
DigiSimLinks
*
theDigiSimLinks
;
41
42
edm::InputTag
linksTag
;
43
44
const
CSCGeometry
*
cscgeom
;
45
};
46
47
#endif
edm::DetSetVector
Definition:
DetSetVector.h:61
CSCHitAssociator::associateCSCHitId
std::vector< SimHitIdpr > associateCSCHitId(const CSCRecHit2D *) const
Definition:
CSCHitAssociator.cc:30
CSCHitAssociator::DigiSimLinks
edm::DetSetVector< StripDigiSimLink > DigiSimLinks
Definition:
CSCHitAssociator.h:26
edm::DetSet< StripDigiSimLink >
CSCStripDigi.h
CSCWireDigi.h
CrossingFrame.h
PSimHitContainer.h
CSCHitAssociator::LayerLinks
edm::DetSet< StripDigiSimLink > LayerLinks
Definition:
CSCHitAssociator.h:28
CSCHitAssociator::SimHitIdpr
std::pair< uint32_t, EncodedEventId > SimHitIdpr
Definition:
CSCHitAssociator.h:29
CSCGeometry
Definition:
CSCGeometry.h:24
TrackingRecHit.h
CSCHitAssociator::WireDigiSimLinks
edm::DetSetVector< StripDigiSimLink > WireDigiSimLinks
Definition:
CSCHitAssociator.h:27
CSCHitAssociator::theDigiSimLinks
const DigiSimLinks * theDigiSimLinks
Definition:
CSCHitAssociator.h:40
MixCollection.h
StripDigiSimLink.h
CSCLayerGeometry.h
CSCHitAssociator::cscgeom
const CSCGeometry * cscgeom
Definition:
CSCHitAssociator.h:44
CSCHitAssociator::initEvent
void initEvent(const edm::Event &, const edm::EventSetup &)
Definition:
CSCHitAssociator.cc:18
edm::ParameterSet
Definition:
ParameterSet.h:47
CSCRecHit2D
Definition:
CSCRecHit2D.h:18
Event.h
edm::EventSetup
Definition:
EventSetup.h:57
DetSetVector.h
CSCHitAssociator::linksTag
edm::InputTag linksTag
Definition:
CSCHitAssociator.h:42
CSCHitAssociator::associateHitId
std::vector< SimHitIdpr > associateHitId(const TrackingRecHit &) const
Definition:
CSCHitAssociator.cc:62
InputTag.h
CSCBadChambersRcd.h
TrackingRecHit
Definition:
TrackingRecHit.h:21
EventSetup.h
CSCRecHit2D.h
ConsumesCollector.h
CSCHitAssociator
Definition:
CSCHitAssociator.h:24
ParameterSet.h
edm::Event
Definition:
Event.h:73
CSCHitAssociator::CSCHitAssociator
CSCHitAssociator(const edm::Event &, const edm::EventSetup &, const edm::ParameterSet &)
Definition:
CSCHitAssociator.cc:8
SimTrackContainer.h
edm::InputTag
Definition:
InputTag.h:15
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
CSCBadChambers.h
CSCGeometry.h
Generated for CMSSW Reference Manual by
1.8.16