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
#include "CLHEP/Random/RandomEngine.h"
16
#include "CLHEP/Random/RandFlat.h"
17
class
CSCDriftSim
;
18
class
CSCLayer
;
19
class
CSCG3Hit;
20
class
CSCGasCollisions
;
21
class
CSCLayerGeometry
;
22
23
24
class
CSCWireHitSim
25
{
26
public
:
27
explicit
CSCWireHitSim
(
CSCDriftSim
* driftSim);
28
~CSCWireHitSim
();
29
30
// makes wire hits from the given g3hits
31
std::vector<CSCDetectorHit> &
simulate
(
const
CSCLayer
* layer,
32
const
edm::PSimHitContainer
&
simHits
);
33
34
void
setParticleDataTable
(
const
ParticleDataTable
* pdt);
35
36
void
setRandomEngine
(CLHEP::HepRandomEngine& engine);
37
38
private
:
39
// Helper functions
40
std::vector<Local3DPoint>
getIonizationClusters
(
const
PSimHit
&
hit
,
41
const
CSCLayer
*);
42
CSCDetectorHit
driftElectronsToWire
();
43
44
// member data
45
CLHEP::RandFlat *
theRandFlat
;
46
CSCDriftSim
*
theDriftSim
;
47
CSCGasCollisions
*
theGasIonizer
;
48
std::vector<CSCDetectorHit>
theNewWireHits
;
49
};
50
51
#endif
CSCWireHitSim
Definition:
CSCWireHitSim.h:24
LocalPoint.h
CSCWireHitSim::theRandFlat
CLHEP::RandFlat * theRandFlat
Definition:
CSCWireHitSim.h:45
CSCWireHitSim::getIonizationClusters
std::vector< Local3DPoint > getIonizationClusters(const PSimHit &hit, const CSCLayer *)
Definition:
CSCWireHitSim.cc:59
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition:
ParticleDataTable.h:9
CSCWireHitSim::theDriftSim
CSCDriftSim * theDriftSim
Definition:
CSCWireHitSim.h:46
CSCLayerGeometry
Definition:
CSCLayerGeometry.h:25
CSCWireHitSim::driftElectronsToWire
CSCDetectorHit driftElectronsToWire()
CSCGasCollisions
Definition:
CSCGasCollisions.h:24
CSCDriftSim
Definition:
CSCDriftSim.h:30
ParticleDataTable.h
PSimHitContainer.h
CSCWireHitSim::setRandomEngine
void setRandomEngine(CLHEP::HepRandomEngine &engine)
Definition:
CSCWireHitSim.cc:106
CSCWireHitSim::CSCWireHitSim
CSCWireHitSim(CSCDriftSim *driftSim)
Definition:
CSCWireHitSim.cc:9
CSCLayer
Definition:
CSCLayer.h:24
CSCWireHitSim::theGasIonizer
CSCGasCollisions * theGasIonizer
Definition:
CSCWireHitSim.h:47
trackerHits.simHits
tuple simHits
Definition:
trackerHits.py:16
CSCWireHitSim::simulate
std::vector< CSCDetectorHit > & simulate(const CSCLayer *layer, const edm::PSimHitContainer &simHits)
Definition:
CSCWireHitSim.cc:25
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
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:48
CSCDetectorHit.h
CSCWireHitSim::setParticleDataTable
void setParticleDataTable(const ParticleDataTable *pdt)
Definition:
CSCWireHitSim.cc:100
CSCWireHitSim::~CSCWireHitSim
~CSCWireHitSim()
Definition:
CSCWireHitSim.cc:18
Generated for CMSSW Reference Manual by
1.8.5