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
public
:
35
typedef
edm::DetSetVector<RPCDigiSimLink>
RPCDigiSimLinks
;
36
IRPCDigitizer
(
const
edm::ParameterSet
&
config
);
37
~IRPCDigitizer
();
38
39
// *** digitize ***
40
void
doAction
(
MixCollection<PSimHit>
&
simHits
,
41
RPCDigiCollection
& rpcDigis,
42
RPCDigiSimLinks
& rpcDigiSimLink,
43
CLHEP::HepRandomEngine*);
44
46
void
setGeometry
(
const
RPCGeometry
*
geom
) {
theGeometry
=
geom
; }
47
48
void
setRPCSimSetUp
(
RPCSimSetUp
* simsetup) {
theSimSetUp
= simsetup; }
49
50
RPCSimSetUp
*
getRPCSimSetUp
() {
return
theSimSetUp
; }
51
53
const
RPCRoll
*
findDet
(
int
detId)
const
;
54
55
private
:
56
const
RPCGeometry
*
theGeometry
;
57
std::unique_ptr<RPCSim>
theRPCSim
;
58
RPCSimSetUp
*
theSimSetUp
;
59
std::string
theName
;
60
bool
theNoise
;
61
};
62
63
#endif
edm::DetSetVector< RPCDigiSimLink >
RPCRoll
Definition:
RPCRoll.h:12
IRPCDigitizer::findDet
const RPCRoll * findDet(int detId) const
finds the rpc det unit in the geometry associated with this det ID
Definition:
IRPCDigitizer.cc:56
IRPCDigitizer::theName
std::string theName
Definition:
IRPCDigitizer.h:59
RPCDigiSimLink.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
PSimHitContainer.h
IRPCDigitizer::theGeometry
const RPCGeometry * theGeometry
Definition:
IRPCDigitizer.h:56
IRPCDigitizer::IRPCDigitizer
IRPCDigitizer(const edm::ParameterSet &config)
Definition:
IRPCDigitizer.cc:12
FastTrackerRecHitCombiner_cfi.simHits
simHits
Definition:
FastTrackerRecHitCombiner_cfi.py:5
IRPCDigitizer::~IRPCDigitizer
~IRPCDigitizer()
IRPCDigitizer::theSimSetUp
RPCSimSetUp * theSimSetUp
Definition:
IRPCDigitizer.h:58
RPCDigiCollection
config
Definition:
config.py:1
IRPCDigitizer::setRPCSimSetUp
void setRPCSimSetUp(RPCSimSetUp *simsetup)
Definition:
IRPCDigitizer.h:48
MixCollection.h
MixCollection
Definition:
MixCollection.h:11
IRPCDigitizer::setGeometry
void setGeometry(const RPCGeometry *geom)
sets geometry
Definition:
IRPCDigitizer.h:46
IRPCDigitizer::theNoise
bool theNoise
Definition:
IRPCDigitizer.h:60
StripDigiSimLink.h
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
CLHEP
Definition:
CocoaGlobals.h:27
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
IRPCDigitizer
Definition:
IRPCDigitizer.h:33
edm::ParameterSet
Definition:
ParameterSet.h:36
ParameterSet
Definition:
Functions.h:16
IRPCDigitizer::getRPCSimSetUp
RPCSimSetUp * getRPCSimSetUp()
Definition:
IRPCDigitizer.h:50
IRPCDigitizer::RPCDigiSimLinks
edm::DetSetVector< RPCDigiSimLink > RPCDigiSimLinks
Definition:
IRPCDigitizer.h:35
IRPCDigitizer::theRPCSim
std::unique_ptr< RPCSim > theRPCSim
Definition:
IRPCDigitizer.h:57
DetSetVector.h
RPCSim
Definition:
RPCSim.h:30
RPCDigiCollection.h
RPCGeometry
Definition:
RPCGeometry.h:20
RPCSimSetUp
Definition:
RPCSimSetUp.h:28
IRPCDigitizer::doAction
void doAction(MixCollection< PSimHit > &simHits, RPCDigiCollection &rpcDigis, RPCDigiSimLinks &rpcDigiSimLink, CLHEP::HepRandomEngine *)
Definition:
IRPCDigitizer.cc:20
RPCGeometry.h
Generated for CMSSW Reference Manual by
1.8.16