Main Page
Namespaces
Classes
Package Documentation
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 "
FWCore/ParameterSet/interface/ParameterSet.h
"
14
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
15
#include "
DataFormats/CSCDigi/interface/CSCWireDigiCollection.h
"
16
#include "
DataFormats/CSCDigi/interface/CSCStripDigiCollection.h
"
17
#include "
DataFormats/CSCDigi/interface/CSCComparatorDigiCollection.h
"
18
#include "
Geometry/CSCGeometry/interface/CSCGeometry.h
"
19
#include "
MagneticField/Engine/interface/MagneticField.h
"
20
#include "
SimDataFormats/CrossingFrame/interface/MixCollection.h
"
21
#include "
SimGeneral/HepPDTRecord/interface/ParticleDataTable.h
"
22
#include "CLHEP/Random/RandomEngine.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
{
43
public
:
44
typedef
edm::DetSetVector<StripDigiSimLink>
DigiSimLinks
;
45
47
explicit
CSCDigitizer
(
const
edm::ParameterSet
&
p
);
48
49
~
CSCDigitizer
();
50
53
void
doAction(
MixCollection<PSimHit>
&
simHits
,
54
CSCWireDigiCollection
& wireDigis,
55
CSCStripDigiCollection
& stripDigis,
56
CSCComparatorDigiCollection
& comparators,
57
DigiSimLinks & wireDigiSimLinks,
58
DigiSimLinks & stripDigiSimLinks,
59
CLHEP::HepRandomEngine*);
60
62
void
setGeometry
(
const
CSCGeometry
*
geom
) {theCSCGeometry =
geom
;}
63
65
void
setMagneticField(
const
MagneticField
* field);
66
67
void
setStripConditions(
CSCStripConditions
*
cond
);
68
69
void
setParticleDataTable(
const
ParticleDataTable
* pdt);
70
71
private
:
73
const
CSCLayer
* findLayer(
int
detId)
const
;
74
76
std::list<int> layersMissing(
const
CSCStripDigiCollection
& stripDigis)
const
;
77
78
CSCDriftSim
*
theDriftSim
;
79
CSCWireHitSim
*
theWireHitSim
;
80
CSCStripHitSim
*
theStripHitSim
;
81
CSCWireElectronicsSim
*
theWireElectronicsSim
;
82
CSCStripElectronicsSim
*
theStripElectronicsSim
;
83
CSCNeutronReader
*
theNeutronReader
;
84
const
CSCGeometry
*
theCSCGeometry
;
85
CSCStripConditions
*
theConditions
;
86
unsigned
int
theLayersNeeded
;
87
bool
digitizeBadChambers_
;
88
};
89
90
#endif
91
CSCWireHitSim
Definition:
CSCWireHitSim.h:27
CSCStripDigiCollection.h
CSCDigitizer::theDriftSim
CSCDriftSim * theDriftSim
Definition:
CSCDigitizer.h:78
CSCDigitizer::theLayersNeeded
unsigned int theLayersNeeded
Definition:
CSCDigitizer.h:86
CSCDigitizer::DigiSimLinks
edm::DetSetVector< StripDigiSimLink > DigiSimLinks
Definition:
CSCDigitizer.h:44
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:87
ParticleDataTable.h
CSCDigitizer::theStripElectronicsSim
CSCStripElectronicsSim * theStripElectronicsSim
Definition:
CSCDigitizer.h:82
CSCDigitizer::theNeutronReader
CSCNeutronReader * theNeutronReader
Definition:
CSCDigitizer.h:83
CSCDigitizer::theCSCGeometry
const CSCGeometry * theCSCGeometry
Definition:
CSCDigitizer.h:84
CSCComparatorDigiCollection.h
PSimHitContainer.h
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
CSCDigitizer::theWireHitSim
CSCWireHitSim * theWireHitSim
Definition:
CSCDigitizer.h:79
CSCLayer
Definition:
CSCLayer.h:24
CSCComparatorDigiCollection
CSCDigitizer::theWireElectronicsSim
CSCWireElectronicsSim * theWireElectronicsSim
Definition:
CSCDigitizer.h:81
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:62
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:80
StripDigiSimLink.h
CSCDigitizer::theConditions
CSCStripConditions * theConditions
Definition:
CSCDigitizer.h:85
CSCWireElectronicsSim
Definition:
CSCWireElectronicsSim.h:21
Generated for CMSSW Reference Manual by
1.8.11