CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiHitDigitizer.h
Go to the documentation of this file.
1 #ifndef _TRACKER_SiHitDigitizer_H_
2 #define _TRACKER_SiHitDigitizer_H_
3 
5 
14 
16 
17 #include <map>
18 
19 namespace CLHEP {
20  class HepRandomEngine;
21 }
22 
23 class SiStripDetType;
28  public:
29 
30  SiHitDigitizer(const edm::ParameterSet& conf,CLHEP::HepRandomEngine&);
31 
33 
36  theSiChargeDivider = cd;
37  }
38 
42  }
43 
47  }
48 
51  }
52 
53  void processHit(const PSimHit*, const StripGeomDetUnit&, GlobalVector,float,
54  std::vector<double>&, size_t&, size_t&);
55 
56  private:
61  CLHEP::HepRandomEngine& rndEngine;
65  double temperature;
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
Local3DVector LocalVector
Definition: LocalVector.h:12
LocalVector DriftDirection(const StripGeomDetUnit *_detp, GlobalVector _bfield, float langle)
HepPDT::ParticleDataTable ParticleDataTable
T y() const
Definition: PV3DBase.h:62
double chargeDistributionRMS
LocalVector toLocal(const reco::Track::Vector &v, const Surface &s)
double chargeMobility
virtual void setParticleDataTable(const ParticleDataTable *pdt)=0
void setParticleDataTable(const ParticleDataTable *pdt)
edm::ParameterSet conf_
double gevperelectron
void processHit(const PSimHit *, const StripGeomDetUnit &, GlobalVector, float, std::vector< double > &, size_t &, size_t &)
SiChargeDivider * theSiChargeDivider
tuple conf
Definition: dbtoconf.py:185
double appliedVoltage
double depletionVoltage
SiInduceChargeOnStrips * theSiInduceChargeOnStrips
const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35
void setInduceChargeOnStrips(SiInduceChargeOnStrips *cd)
const RotationType & rotation() const
SiChargeCollectionDrifter * theSiChargeCollectionDrifter
SiHitDigitizer(const edm::ParameterSet &conf, CLHEP::HepRandomEngine &)
CLHEP::HepRandomEngine & rndEngine
T x() const
Definition: PV3DBase.h:61
const PositionType & position() const
void setChargeDivider(SiChargeDivider *cd)
GloballyPositioned< double > Frame
void setChargeCollectionDrifter(SiChargeCollectionDrifter *cd)