Main Page
Namespaces
Classes
Package Documentation
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
GEMEtaPartition
Definition:
GEMEtaPartition.h:12
GEMDigiModel
Definition:
GEMDigiModel.h:37
GEMDigiModel::setGeometry
void setGeometry(const GEMGeometry *geom)
Definition:
GEMDigiModel.h:44
EventSetup.h
MixCollection.h
ParameterSet.h
CLHEP
Definition:
CocoaGlobals.h:27
PSimHitContainer.h
GEMGeometry
Definition:
GEMGeometry.h:24
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
GEMDigiModel::GEMDigiModel
GEMDigiModel(const edm::ParameterSet &)
Definition:
GEMDigiModel.h:48
GEMDigiSimLink.h
DetectorHitMap
std::multimap< std::pair< unsigned int, int >, const PSimHit *, std::less< std::pair< unsigned int, int > > > DetectorHitMap
Definition:
GEMDigiModel.h:35
Strips
std::set< std::pair< int, int > > Strips
Definition:
GEMDigiModel.h:31
GEMDigiModel::geometry_
const GEMGeometry * geometry_
Definition:
GEMDigiModel.h:47
GEMDigiModel::~GEMDigiModel
virtual ~GEMDigiModel()
Definition:
GEMDigiModel.h:39
PSimHit
Definition:
PSimHit.h:15
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition:
PSimHitContainer.h:11
GEMDigiCollection.h
StripDigiSimLink.h
DetSet.h
Generated for CMSSW Reference Manual by
1.8.11