Main Page
Namespaces
Classes
Package Documentation
SimMuon
CSCDigitizer
src
CSCWireHitSim.h
Go to the documentation of this file.
1
#ifndef MU_END_WIRE_HIT_SIM_H
2
#define MU_END_WIRE_HIT_SIM_H
3
10
#include <vector>
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
13
#include "
SimMuon/CSCDigitizer/src/CSCDetectorHit.h
"
14
#include "
DataFormats/GeometryVector/interface/LocalPoint.h
"
15
#include "
SimGeneral/HepPDTRecord/interface/ParticleDataTable.h
"
16
17
class
CSCDriftSim
;
18
class
CSCLayer
;
19
class
CSCG3Hit;
20
class
CSCGasCollisions
;
21
class
CSCLayerGeometry
;
22
23
namespace
CLHEP
{
24
class
HepRandomEngine;
25
}
26
27
class
CSCWireHitSim
28
{
29
public
:
30
explicit
CSCWireHitSim
(
CSCDriftSim
* driftSim,
const
edm::ParameterSet
&
p
);
31
~
CSCWireHitSim
();
32
33
// makes wire hits from the given g3hits
34
std::vector<CSCDetectorHit> & simulate(
const
CSCLayer
* layer,
35
const
edm::PSimHitContainer
&
simHits
,
36
CLHEP::HepRandomEngine*);
37
38
void
setParticleDataTable(
const
ParticleDataTable
* pdt);
39
40
private
:
41
// Helper functions
42
std::vector<Local3DPoint> getIonizationClusters(
const
PSimHit
&
hit
,
43
const
CSCLayer
*,
44
CLHEP::HepRandomEngine*);
45
CSCDetectorHit
driftElectronsToWire();
46
47
// member data
48
CSCDriftSim
*
theDriftSim
;
49
CSCGasCollisions
*
theGasIonizer
;
50
std::vector<CSCDetectorHit>
theNewWireHits
;
51
};
52
53
#endif
CSCWireHitSim
Definition:
CSCWireHitSim.h:27
LocalPoint.h
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
trackerHits.simHits
simHits
Definition:
trackerHits.py:16
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition:
ParticleDataTable.h:8
CSCWireHitSim::theDriftSim
CSCDriftSim * theDriftSim
Definition:
CSCWireHitSim.h:48
CSCLayerGeometry
Definition:
CSCLayerGeometry.h:25
CSCGasCollisions
Definition:
CSCGasCollisions.h:27
ParameterSet.h
CLHEP
Definition:
CocoaGlobals.h:27
CSCDriftSim
Definition:
CSCDriftSim.h:32
ParticleDataTable.h
PSimHitContainer.h
CSCLayer
Definition:
CSCLayer.h:24
CSCWireHitSim::theGasIonizer
CSCGasCollisions * theGasIonizer
Definition:
CSCWireHitSim.h:49
hit
Definition:
SiStripHitEffFromCalibTree.cc:86
PSimHit
Definition:
PSimHit.h:15
CSCDetectorHit
Definition:
CSCDetectorHit.h:16
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition:
PSimHitContainer.h:11
CSCWireHitSim::theNewWireHits
std::vector< CSCDetectorHit > theNewWireHits
Definition:
CSCWireHitSim.h:50
CSCDetectorHit.h
Generated for CMSSW Reference Manual by
1.8.11