Main Page
Namespaces
Classes
Package Documentation
src
SimMuon
RPCDigitizer
src
RPCDigitizer.h
Go to the documentation of this file.
1
#ifndef SimMuon_RPCDigitizer_h
2
#define SimMuon_RPCDigitizer_h
3
//
4
11
#include "
DataFormats/Common/interface/DetSetVector.h
"
12
#include "
SimDataFormats/TrackerDigiSimLink/interface/StripDigiSimLink.h
"
13
#include "
SimDataFormats/RPCDigiSimLink/interface/RPCDigiSimLink.h
"
14
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
15
#include "
DataFormats/RPCDigi/interface/RPCDigiCollection.h
"
16
#include "
Geometry/RPCGeometry/interface/RPCGeometry.h
"
17
#include "
SimDataFormats/CrossingFrame/interface/MixCollection.h
"
18
#include <string>
19
#include "CLHEP/Random/RandomEngine.h"
20
21
namespace
edm
{
22
class
ParameterSet
;
23
}
24
25
class
RPCRoll
;
26
class
RPCSim
;
27
class
RPCSimSetUp
;
28
29
namespace
CLHEP
{
30
class
HepRandomEngine;
31
}
32
33
class
RPCDigitizer
34
{
35
public
:
36
typedef
edm::DetSetVector<RPCDigiSimLink>
RPCDigiSimLinks
;
37
RPCDigitizer
(
const
edm::ParameterSet
&
config
);
38
~
RPCDigitizer
();
39
40
// *** digitize ***
41
void
doAction(
MixCollection<PSimHit>
&
simHits
,
42
RPCDigiCollection
& rpcDigis,
43
RPCDigiSimLinks & rpcDigiSimLink,
44
CLHEP::HepRandomEngine*);
45
47
void
setGeometry
(
const
RPCGeometry
*
geom
) {theGeometry =
geom
;}
48
49
void
setRPCSimSetUp
(
RPCSimSetUp
*simsetup){theSimSetUp = simsetup;}
50
51
RPCSimSetUp
*
getRPCSimSetUp
(){
return
theSimSetUp; }
52
54
const
RPCRoll
* findDet(
int
detId)
const
;
55
56
private
:
57
const
RPCGeometry
*
theGeometry
;
58
std::unique_ptr<RPCSim>
theRPCSim
;
59
RPCSimSetUp
*
theSimSetUp
;
60
bool
theNoise
;
61
};
62
63
#endif
64
trackerHits.simHits
simHits
Definition:
trackerHits.py:16
RPCDigitizer
Definition:
RPCDigitizer.h:33
RPCRoll
Definition:
RPCRoll.h:12
ParameterSet
Definition:
Functions.h:16
RPCDigitizer::theSimSetUp
RPCSimSetUp * theSimSetUp
Definition:
RPCDigitizer.h:59
MixCollection
Definition:
MixCollection.h:11
config
Definition:
config.py:1
RPCDigitizer::setGeometry
void setGeometry(const RPCGeometry *geom)
sets geometry
Definition:
RPCDigitizer.h:47
DetSetVector.h
MixCollection.h
CLHEP
Definition:
CocoaGlobals.h:27
RPCDigitizer::getRPCSimSetUp
RPCSimSetUp * getRPCSimSetUp()
Definition:
RPCDigitizer.h:51
RPCGeometry
Definition:
RPCGeometry.h:22
RPCDigitizer::setRPCSimSetUp
void setRPCSimSetUp(RPCSimSetUp *simsetup)
Definition:
RPCDigitizer.h:49
PSimHitContainer.h
RPCDigitizer::theRPCSim
std::unique_ptr< RPCSim > theRPCSim
Definition:
RPCDigitizer.h:58
RPCSim
Definition:
RPCSim.h:30
RPCDigiSimLink.h
RPCDigitizer::theNoise
bool theNoise
Definition:
RPCDigitizer.h:60
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
RPCSimSetUp
Definition:
RPCSimSetUp.h:28
RPCDigiCollection
RPCDigitizer::theGeometry
const RPCGeometry * theGeometry
Definition:
RPCDigitizer.h:57
RPCDigitizer::RPCDigiSimLinks
edm::DetSetVector< RPCDigiSimLink > RPCDigiSimLinks
Definition:
RPCDigitizer.h:36
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
RPCDigiCollection.h
RPCGeometry.h
edm::DetSetVector< RPCDigiSimLink >
StripDigiSimLink.h
Generated for CMSSW Reference Manual by
1.8.11