Main Page
Namespaces
Classes
Package Documentation
src
SimMuon
CSCDigitizer
src
CSCDigitizer.h
Go to the documentation of this file.
1
#ifndef MU_END_DIGITIZER
2
#define MU_END_DIGITIZER
3
4
// This is CSCDigitizer.h
5
13
#include "CLHEP/Random/RandomEngine.h"
14
#include "
DataFormats/CSCDigi/interface/CSCComparatorDigiCollection.h
"
15
#include "
DataFormats/CSCDigi/interface/CSCStripDigiCollection.h
"
16
#include "
DataFormats/CSCDigi/interface/CSCWireDigiCollection.h
"
17
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
18
#include "
Geometry/CSCGeometry/interface/CSCGeometry.h
"
19
#include "
MagneticField/Engine/interface/MagneticField.h
"
20
#include "
SimDataFormats/CrossingFrame/interface/MixCollection.h
"
21
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
22
#include "
SimGeneral/HepPDTRecord/interface/ParticleDataTable.h
"
23
#include <boost/utility.hpp>
24
25
#include "
DataFormats/Common/interface/DetSetVector.h
"
26
#include "
SimDataFormats/TrackerDigiSimLink/interface/StripDigiSimLink.h
"
27
28
class
CSCDriftSim
;
29
class
CSCWireHitSim
;
30
class
CSCStripHitSim
;
31
class
CSCWireElectronicsSim
;
32
class
CSCStripElectronicsSim
;
33
class
CSCLayer
;
34
class
CSCNeutronReader
;
35
class
CSCStripConditions
;
36
37
namespace
CLHEP
{
38
class
HepRandomEngine;
39
}
40
41
class
CSCDigitizer
:
public
boost::noncopyable {
42
public
:
43
typedef
edm::DetSetVector<StripDigiSimLink>
DigiSimLinks
;
44
46
explicit
CSCDigitizer
(
const
edm::ParameterSet
&
p
);
47
48
~
CSCDigitizer
();
49
52
void
doAction(
MixCollection<PSimHit>
&
simHits
,
53
CSCWireDigiCollection
&wireDigis,
54
CSCStripDigiCollection
&stripDigis,
55
CSCComparatorDigiCollection
&comparators,
56
DigiSimLinks &wireDigiSimLinks,
57
DigiSimLinks &stripDigiSimLinks,
58
CLHEP::HepRandomEngine *);
59
61
void
setGeometry
(
const
CSCGeometry
*
geom
) { theCSCGeometry =
geom
; }
62
64
void
setMagneticField(
const
MagneticField
*field);
65
66
void
setStripConditions(
CSCStripConditions
*
cond
);
67
68
void
setParticleDataTable(
const
ParticleDataTable
*pdt);
69
70
private
:
72
const
CSCLayer
*findLayer(
int
detId)
const
;
73
75
std::list<int> layersMissing(
const
CSCStripDigiCollection
&stripDigis)
const
;
76
77
CSCDriftSim
*
theDriftSim
;
78
CSCWireHitSim
*
theWireHitSim
;
79
CSCStripHitSim
*
theStripHitSim
;
80
CSCWireElectronicsSim
*
theWireElectronicsSim
;
81
CSCStripElectronicsSim
*
theStripElectronicsSim
;
82
CSCNeutronReader
*
theNeutronReader
;
83
const
CSCGeometry
*
theCSCGeometry
;
84
CSCStripConditions
*
theConditions
;
85
unsigned
int
theLayersNeeded
;
86
bool
digitizeBadChambers_
;
87
};
88
89
#endif
CSCWireHitSim
Definition:
CSCWireHitSim.h:27
CSCStripDigiCollection.h
CSCDigitizer::theDriftSim
CSCDriftSim * theDriftSim
Definition:
CSCDigitizer.h:77
CSCDigitizer::theLayersNeeded
unsigned int theLayersNeeded
Definition:
CSCDigitizer.h:85
CSCDigitizer::DigiSimLinks
edm::DetSetVector< StripDigiSimLink > DigiSimLinks
Definition:
CSCDigitizer.h:43
CSCStripDigiCollection
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
trackerHits.simHits
simHits
Definition:
trackerHits.py:16
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition:
ParticleDataTable.h:8
CSCGeometry
Definition:
CSCGeometry.h:24
MixCollection
Definition:
MixCollection.h:11
MagneticField
Definition:
MagneticField.h:19
DetSetVector.h
MagneticField.h
MixCollection.h
ParameterSet.h
CLHEP
Definition:
CocoaGlobals.h:27
CSCDriftSim
Definition:
CSCDriftSim.h:32
CSCDigitizer
Definition:
CSCDigitizer.h:41
CSCDigitizer::digitizeBadChambers_
bool digitizeBadChambers_
Definition:
CSCDigitizer.h:86
ParticleDataTable.h
CSCDigitizer::theStripElectronicsSim
CSCStripElectronicsSim * theStripElectronicsSim
Definition:
CSCDigitizer.h:81
CSCDigitizer::theNeutronReader
CSCNeutronReader * theNeutronReader
Definition:
CSCDigitizer.h:82
CSCDigitizer::theCSCGeometry
const CSCGeometry * theCSCGeometry
Definition:
CSCDigitizer.h:83
CSCComparatorDigiCollection.h
PSimHitContainer.h
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
CSCDigitizer::theWireHitSim
CSCWireHitSim * theWireHitSim
Definition:
CSCDigitizer.h:78
CSCLayer
Definition:
CSCLayer.h:24
CSCComparatorDigiCollection
CSCDigitizer::theWireElectronicsSim
CSCWireElectronicsSim * theWireElectronicsSim
Definition:
CSCDigitizer.h:80
cond
Definition:
plugin.cc:24
CSCWireDigiCollection.h
edm::ParameterSet
Definition:
ParameterSet.h:36
CSCDigitizer::setGeometry
void setGeometry(const CSCGeometry *geom)
sets geometry
Definition:
CSCDigitizer.h:61
CSCNeutronReader
Definition:
CSCNeutronReader.h:10
CSCStripElectronicsSim
Definition:
CSCStripElectronicsSim.h:28
CSCStripHitSim
Definition:
CSCStripHitSim.h:21
CSCWireDigiCollection
CSCStripConditions
Definition:
CSCStripConditions.h:13
CSCGeometry.h
edm::DetSetVector
Definition:
DetSetVector.h:60
CSCDigitizer::theStripHitSim
CSCStripHitSim * theStripHitSim
Definition:
CSCDigitizer.h:79
StripDigiSimLink.h
CSCDigitizer::theConditions
CSCStripConditions * theConditions
Definition:
CSCDigitizer.h:84
CSCWireElectronicsSim
Definition:
CSCWireElectronicsSim.h:20
Generated for CMSSW Reference Manual by
1.8.11