SimMuon
GEMDigitizer
interface
GEMDigiModel.h
Go to the documentation of this file.
1
#ifndef SimMuon_GEMDigitizer_GEMDigiModel_h
2
#define SimMuon_GEMDigitizer_GEMDigiModel_h
3
13
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
14
#include "
FWCore/Framework/interface/EventSetup.h
"
15
#include "
DataFormats/GEMDigi/interface/GEMDigiCollection.h
"
16
#include "
DataFormats/Common/interface/DetSet.h
"
17
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
18
#include "
SimDataFormats/TrackerDigiSimLink/interface/StripDigiSimLink.h
"
19
#include "
SimDataFormats/GEMDigiSimLink/interface/GEMDigiSimLink.h
"
20
#include "
SimDataFormats/CrossingFrame/interface/MixCollection.h
"
21
22
#include <map>
23
#include <set>
24
25
namespace
CLHEP
{
26
class
HepRandomEngine;
27
}
28
29
class
PSimHit
;
30
class
GEMEtaPartition
;
31
class
GEMGeometry
;
32
33
typedef
std::set<std::pair<int, int> >
Strips
;
34
typedef
std::multimap<std::pair<unsigned int, int>,
const
PSimHit
*, std::less<std::pair<unsigned int, int> > >
35
DetectorHitMap
;
36
37
class
GEMDigiModel
{
38
public
:
39
virtual
~GEMDigiModel
() {}
40
41
virtual
void
simulate
(
42
const
GEMEtaPartition
*,
const
edm::PSimHitContainer
&, CLHEP::HepRandomEngine *,
Strips
&,
DetectorHitMap
&) = 0;
43
44
void
setGeometry
(
const
GEMGeometry
*
geom
) {
geometry_
=
geom
; }
45
46
protected
:
47
const
GEMGeometry
*
geometry_
;
48
GEMDigiModel
(
const
edm::ParameterSet
&) {}
49
};
50
#endif
GEMDigiModel::simulate
virtual void simulate(const GEMEtaPartition *, const edm::PSimHitContainer &, CLHEP::HepRandomEngine *, Strips &, DetectorHitMap &)=0
PSimHitContainer.h
GEMEtaPartition
Definition:
GEMEtaPartition.h:12
GEMDigiModel
Definition:
GEMDigiModel.h:37
MixCollection.h
StripDigiSimLink.h
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
GEMDigiSimLink.h
Strips
std::set< std::pair< int, int > > Strips
Definition:
GEMDigiModel.h:31
DetectorHitMap
std::multimap< std::pair< unsigned int, int >, const PSimHit *, std::less< std::pair< unsigned int, int > > > DetectorHitMap
Definition:
GEMDigiModel.h:35
CLHEP
Definition:
CocoaGlobals.h:27
GEMDigiModel::~GEMDigiModel
virtual ~GEMDigiModel()
Definition:
GEMDigiModel.h:39
edm::ParameterSet
Definition:
ParameterSet.h:36
GEMDigiModel::GEMDigiModel
GEMDigiModel(const edm::ParameterSet &)
Definition:
GEMDigiModel.h:48
EventSetup.h
GEMDigiCollection.h
GEMDigiModel::geometry_
const GEMGeometry * geometry_
Definition:
GEMDigiModel.h:47
GEMGeometry
Definition:
GEMGeometry.h:24
DetSet.h
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition:
PSimHitContainer.h:11
ParameterSet.h
PSimHit
Definition:
PSimHit.h:15
GEMDigiModel::setGeometry
void setGeometry(const GEMGeometry *geom)
Definition:
GEMDigiModel.h:44
Generated for CMSSW Reference Manual by
1.8.16