Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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 "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
12
#include "
SimMuon/CSCDigitizer/src/CSCDetectorHit.h
"
13
#include "
DataFormats/GeometryVector/interface/LocalPoint.h
"
14
#include "
SimGeneral/HepPDTRecord/interface/ParticleDataTable.h
"
15
16
class
CSCDriftSim
;
17
class
CSCLayer
;
18
class
CSCG3Hit;
19
class
CSCGasCollisions
;
20
class
CSCLayerGeometry
;
21
22
namespace
CLHEP {
23
class
HepRandomEngine;
24
}
25
26
class
CSCWireHitSim
27
{
28
public
:
29
explicit
CSCWireHitSim
(
CSCDriftSim
* driftSim);
30
~CSCWireHitSim
();
31
32
// makes wire hits from the given g3hits
33
std::vector<CSCDetectorHit> &
simulate
(
const
CSCLayer
* layer,
34
const
edm::PSimHitContainer
&
simHits
,
35
CLHEP::HepRandomEngine*);
36
37
void
setParticleDataTable
(
const
ParticleDataTable
* pdt);
38
39
private
:
40
// Helper functions
41
std::vector<Local3DPoint>
getIonizationClusters
(
const
PSimHit
&
hit
,
42
const
CSCLayer
*,
43
CLHEP::HepRandomEngine*);
44
CSCDetectorHit
driftElectronsToWire
();
45
46
// member data
47
CSCDriftSim
*
theDriftSim
;
48
CSCGasCollisions
*
theGasIonizer
;
49
std::vector<CSCDetectorHit>
theNewWireHits
;
50
};
51
52
#endif
CSCWireHitSim
Definition:
CSCWireHitSim.h:26
LocalPoint.h
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition:
ParticleDataTable.h:8
CSCWireHitSim::simulate
std::vector< CSCDetectorHit > & simulate(const CSCLayer *layer, const edm::PSimHitContainer &simHits, CLHEP::HepRandomEngine *)
Definition:
CSCWireHitSim.cc:24
CSCWireHitSim::theDriftSim
CSCDriftSim * theDriftSim
Definition:
CSCWireHitSim.h:47
CSCLayerGeometry
Definition:
CSCLayerGeometry.h:25
CSCWireHitSim::driftElectronsToWire
CSCDetectorHit driftElectronsToWire()
CSCGasCollisions
Definition:
CSCGasCollisions.h:26
CSCDriftSim
Definition:
CSCDriftSim.h:32
ParticleDataTable.h
PSimHitContainer.h
CSCWireHitSim::getIonizationClusters
std::vector< Local3DPoint > getIonizationClusters(const PSimHit &hit, const CSCLayer *, CLHEP::HepRandomEngine *)
Definition:
CSCWireHitSim.cc:59
CSCWireHitSim::CSCWireHitSim
CSCWireHitSim(CSCDriftSim *driftSim)
Definition:
CSCWireHitSim.cc:10
CSCLayer
Definition:
CSCLayer.h:24
CSCWireHitSim::theGasIonizer
CSCGasCollisions * theGasIonizer
Definition:
CSCWireHitSim.h:48
trackerHits.simHits
tuple simHits
Definition:
trackerHits.py:16
hit
Definition:
SiStripHitEffFromCalibTree.cc:85
PSimHit
Definition:
PSimHit.h:15
CSCDetectorHit
Definition:
CSCDetectorHit.h:16
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition:
PSimHitContainer.h:11
CSCWireHitSim::theNewWireHits
std::vector< CSCDetectorHit > theNewWireHits
Definition:
CSCWireHitSim.h:49
CSCDetectorHit.h
CSCWireHitSim::setParticleDataTable
void setParticleDataTable(const ParticleDataTable *pdt)
Definition:
CSCWireHitSim.cc:101
CSCWireHitSim::~CSCWireHitSim
~CSCWireHitSim()
Definition:
CSCWireHitSim.cc:18
Generated for CMSSW Reference Manual by
1.8.5