Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimTracker
SiStripDigitizer
interface
SiHitDigitizer.h
Go to the documentation of this file.
1
#ifndef _TRACKER_SiHitDigitizer_H_
2
#define _TRACKER_SiHitDigitizer_H_
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
6
#include "
Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h
"
7
#include "
Geometry/CommonDetUnit/interface/GeomDetUnit.h
"
8
#include "
Geometry/CommonDetUnit/interface/GeomDetType.h
"
9
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
10
#include "
SimTracker/SiStripDigitizer/interface/SiChargeCollectionDrifter.h
"
11
#include "
SimTracker/SiStripDigitizer/interface/SiChargeDivider.h
"
12
#include "
SimTracker/SiStripDigitizer/interface/SiInduceChargeOnStrips.h
"
13
#include "
SimTracker/SiStripDigitizer/interface/SiPileUpSignals.h
"
14
15
#include "
SimGeneral/HepPDTRecord/interface/ParticleDataTable.h
"
16
17
#include <map>
18
19
namespace
CLHEP {
20
class
HepRandomEngine;
21
}
22
23
class
SiStripDetType;
27
class
SiHitDigitizer
{
28
public
:
29
30
SiHitDigitizer
(
const
edm::ParameterSet
&
conf
,CLHEP::HepRandomEngine&);
31
32
~SiHitDigitizer
();
33
34
void
setChargeDivider
(
SiChargeDivider
* cd) {
35
if
(
theSiChargeDivider
)
delete
theSiChargeDivider
;
36
theSiChargeDivider
= cd;
37
}
38
39
void
setChargeCollectionDrifter
(
SiChargeCollectionDrifter
* cd) {
40
if
(
theSiChargeCollectionDrifter
)
delete
theSiChargeCollectionDrifter
;
41
theSiChargeCollectionDrifter
= cd;
42
}
43
44
void
setInduceChargeOnStrips
(
SiInduceChargeOnStrips
* cd) {
45
if
(
theSiInduceChargeOnStrips
)
delete
theSiInduceChargeOnStrips
;
46
theSiInduceChargeOnStrips
= cd;
47
}
48
49
void
setParticleDataTable
(
const
ParticleDataTable
* pdt) {
50
theSiChargeDivider
->
setParticleDataTable
(pdt);
51
}
52
53
void
processHit
(
const
PSimHit
*,
const
StripGeomDetUnit
&,
GlobalVector
,
float
,
54
std::vector<double>&,
size_t
&,
size_t
&);
55
56
private
:
57
SiChargeDivider
*
theSiChargeDivider
;
58
SiChargeCollectionDrifter
*
theSiChargeCollectionDrifter
;
59
SiInduceChargeOnStrips
*
theSiInduceChargeOnStrips
;
60
edm::ParameterSet
conf_
;
61
CLHEP::HepRandomEngine&
rndEngine
;
62
double
depletionVoltage
;
63
double
appliedVoltage
;
64
double
chargeMobility
;
65
double
temperature
;
66
bool
noDiffusion
;
67
double
chargeDistributionRMS
;
68
double
gevperelectron
;
69
typedef
GloballyPositioned<double>
Frame
;
70
71
LocalVector
DriftDirection
(
const
StripGeomDetUnit
* _detp,
GlobalVector
_bfield,
float
langle) {
72
LocalVector
Bfield=
Frame
(_detp->
surface
().
position
(),_detp->
surface
().
rotation
()).
toLocal
(_bfield);
73
return
LocalVector
(-langle * Bfield.
y
(),langle * Bfield.
x
(),1.);
74
}
75
76
};
77
78
#endif
SiChargeDivider
Definition:
SiChargeDivider.h:14
LocalVector
Local3DVector LocalVector
Definition:
LocalVector.h:12
SiHitDigitizer::DriftDirection
LocalVector DriftDirection(const StripGeomDetUnit *_detp, GlobalVector _bfield, float langle)
Definition:
SiHitDigitizer.h:71
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition:
ParticleDataTable.h:9
Vector3DBase
Definition:
Vector3DBase.h:9
PV3DBase::y
T y() const
Definition:
PV3DBase.h:62
SiChargeCollectionDrifter
Definition:
SiChargeCollectionDrifter.h:12
SiHitDigitizer::chargeDistributionRMS
double chargeDistributionRMS
Definition:
SiHitDigitizer.h:67
SiHitDigitizer::noDiffusion
bool noDiffusion
Definition:
SiHitDigitizer.h:66
toLocal
LocalVector toLocal(const reco::Track::Vector &v, const Surface &s)
Definition:
ConversionProducer.h:208
SiHitDigitizer::~SiHitDigitizer
~SiHitDigitizer()
Definition:
SiHitDigitizer.cc:38
SiHitDigitizer
Definition:
SiHitDigitizer.h:27
SiHitDigitizer::chargeMobility
double chargeMobility
Definition:
SiHitDigitizer.h:64
SiChargeDivider.h
StripGeomDetUnit
Definition:
StripGeomDetUnit.h:18
ParameterSet.h
ParticleDataTable.h
SiPileUpSignals.h
SiChargeDivider::setParticleDataTable
virtual void setParticleDataTable(const ParticleDataTable *pdt)=0
GeomDetType.h
SiHitDigitizer::setParticleDataTable
void setParticleDataTable(const ParticleDataTable *pdt)
Definition:
SiHitDigitizer.h:49
SiHitDigitizer::conf_
edm::ParameterSet conf_
Definition:
SiHitDigitizer.h:60
SiChargeCollectionDrifter.h
SiHitDigitizer::gevperelectron
double gevperelectron
Definition:
SiHitDigitizer.h:68
SiHitDigitizer::processHit
void processHit(const PSimHit *, const StripGeomDetUnit &, GlobalVector, float, std::vector< double > &, size_t &, size_t &)
Definition:
SiHitDigitizer.cc:45
SiHitDigitizer::theSiChargeDivider
SiChargeDivider * theSiChargeDivider
Definition:
SiHitDigitizer.h:57
dbtoconf.conf
tuple conf
Definition:
dbtoconf.py:185
GeomDetUnit.h
PSimHit.h
StripGeomDetUnit.h
SiHitDigitizer::appliedVoltage
double appliedVoltage
Definition:
SiHitDigitizer.h:63
GloballyPositioned
Definition:
GloballyPositioned.h:18
SiHitDigitizer::depletionVoltage
double depletionVoltage
Definition:
SiHitDigitizer.h:62
SiHitDigitizer::theSiInduceChargeOnStrips
SiInduceChargeOnStrips * theSiInduceChargeOnStrips
Definition:
SiHitDigitizer.h:59
GeomDet::surface
const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition:
GeomDet.h:35
SiHitDigitizer::setInduceChargeOnStrips
void setInduceChargeOnStrips(SiInduceChargeOnStrips *cd)
Definition:
SiHitDigitizer.h:44
PSimHit
Definition:
PSimHit.h:15
SiInduceChargeOnStrips.h
GloballyPositioned::rotation
const RotationType & rotation() const
Definition:
GloballyPositioned.h:43
edm::ParameterSet
Definition:
ParameterSet.h:35
SiHitDigitizer::theSiChargeCollectionDrifter
SiChargeCollectionDrifter * theSiChargeCollectionDrifter
Definition:
SiHitDigitizer.h:58
SiInduceChargeOnStrips
Definition:
SiInduceChargeOnStrips.h:16
SiHitDigitizer::SiHitDigitizer
SiHitDigitizer(const edm::ParameterSet &conf, CLHEP::HepRandomEngine &)
Definition:
SiHitDigitizer.cc:14
SiHitDigitizer::rndEngine
CLHEP::HepRandomEngine & rndEngine
Definition:
SiHitDigitizer.h:61
PV3DBase::x
T x() const
Definition:
PV3DBase.h:61
GloballyPositioned::position
const PositionType & position() const
Definition:
GloballyPositioned.h:41
SiHitDigitizer::setChargeDivider
void setChargeDivider(SiChargeDivider *cd)
Definition:
SiHitDigitizer.h:34
SiHitDigitizer::temperature
double temperature
Definition:
SiHitDigitizer.h:65
SiHitDigitizer::Frame
GloballyPositioned< double > Frame
Definition:
SiHitDigitizer.h:69
SiHitDigitizer::setChargeCollectionDrifter
void setChargeCollectionDrifter(SiChargeCollectionDrifter *cd)
Definition:
SiHitDigitizer.h:39
Generated for CMSSW Reference Manual by
1.8.5