Main Page
Namespaces
Classes
Package Documentation
SimMuon
RPCDigitizer
src
IRPCDigitizer.h
Go to the documentation of this file.
1
#ifndef SimMuon_IRPCDigitizer_h
2
#define SimMuon_IRPCDigitizer_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
IRPCDigitizer
34
{
35
public
:
36
typedef
edm::DetSetVector<RPCDigiSimLink>
RPCDigiSimLinks
;
37
IRPCDigitizer
(
const
edm::ParameterSet
&
config
);
38
~
IRPCDigitizer
();
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
std::string
theName
;
61
bool
theNoise
;
62
};
63
64
#endif
65
IRPCDigitizer::getRPCSimSetUp
RPCSimSetUp * getRPCSimSetUp()
Definition:
IRPCDigitizer.h:51
IRPCDigitizer::RPCDigiSimLinks
edm::DetSetVector< RPCDigiSimLink > RPCDigiSimLinks
Definition:
IRPCDigitizer.h:36
trackerHits.simHits
simHits
Definition:
trackerHits.py:16
RPCRoll
Definition:
RPCRoll.h:12
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
MixCollection
Definition:
MixCollection.h:11
config
Definition:
config.py:1
DetSetVector.h
MixCollection.h
CLHEP
Definition:
CocoaGlobals.h:27
RPCGeometry
Definition:
RPCGeometry.h:22
IRPCDigitizer::theName
std::string theName
Definition:
IRPCDigitizer.h:60
IRPCDigitizer::theGeometry
const RPCGeometry * theGeometry
Definition:
IRPCDigitizer.h:57
PSimHitContainer.h
RPCSim
Definition:
RPCSim.h:30
RPCDigiSimLink.h
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
RPCSimSetUp
Definition:
RPCSimSetUp.h:28
RPCDigiCollection
IRPCDigitizer::setRPCSimSetUp
void setRPCSimSetUp(RPCSimSetUp *simsetup)
Definition:
IRPCDigitizer.h:49
IRPCDigitizer::theNoise
bool theNoise
Definition:
IRPCDigitizer.h:61
IRPCDigitizer::theSimSetUp
RPCSimSetUp * theSimSetUp
Definition:
IRPCDigitizer.h:59
edm
HLT enums.
Definition:
AlignableModifier.h:17
IRPCDigitizer
Definition:
IRPCDigitizer.h:33
edm::ParameterSet
Definition:
ParameterSet.h:36
RPCDigiCollection.h
RPCGeometry.h
IRPCDigitizer::setGeometry
void setGeometry(const RPCGeometry *geom)
sets geometry
Definition:
IRPCDigitizer.h:47
IRPCDigitizer::theRPCSim
std::unique_ptr< RPCSim > theRPCSim
Definition:
IRPCDigitizer.h:58
edm::DetSetVector< RPCDigiSimLink >
StripDigiSimLink.h
Generated for CMSSW Reference Manual by
1.8.11