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 "
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
CSCWireHitSim::CSCWireHitSim
CSCWireHitSim(CSCDriftSim *driftSim, const edm::ParameterSet &p)
Definition:
CSCWireHitSim.cc:10
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:48
CSCLayerGeometry
Definition:
CSCLayerGeometry.h:25
CSCWireHitSim::driftElectronsToWire
CSCDetectorHit driftElectronsToWire()
CSCGasCollisions
Definition:
CSCGasCollisions.h:27
ParameterSet.h
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
CSCLayer
Definition:
CSCLayer.h:24
CSCWireHitSim::theGasIonizer
CSCGasCollisions * theGasIonizer
Definition:
CSCWireHitSim.h:49
trackerHits.simHits
tuple simHits
Definition:
trackerHits.py:16
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
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
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