Main Page
Namespaces
Classes
Package Documentation
FastSimulation
MuonSimHitProducer
interface
MuonSimHitProducer.h
Go to the documentation of this file.
1
#ifndef FastSimulation_MuonSimHitProducer_MuonSimHitProducer_h
2
#define FastSimulation_MuonSimHitProducer_MuonSimHitProducer_h
3
4
//
5
// Package: MuonSimHitProducer
6
// Class: MuonSimHitProducer
7
//
15
//
16
// Author: Martijn Mulders
17
// Created: Wed July 11 12:37:24 CET 2007
18
// $Id: MuonSimHitProducer.h,v 1.10 2010/05/13 15:23:21 aperrott Exp $
19
//
20
21
22
// system include files
23
#include <memory>
24
25
// user include files
26
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
27
#include "
TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimator.h
"
28
#include "
SimGeneral/HepPDTRecord/interface/ParticleDataTable.h
"
29
30
// FastSimulation headers
31
class
MagneticField
;
32
class
TrackerGeometry
;
33
class
DTGeometry
;
34
class
CSCGeometry
;
35
class
RPCGeometry
;
36
class
MuonServiceProxy
;
37
class
MaterialEffects
;
38
class
TrajectoryStateOnSurface
;
39
class
Propagator
;
40
class
RandomEngineAndDistribution
;
41
class
SimTrack
;
42
class
SimVertex
;
43
/*
44
namespace reco {
45
class Muon;
46
}
47
*/
48
49
namespace
edm
{
50
class
ParameterSet
;
51
class
Event
;
52
class
EventSetup
;
53
}
54
55
//
56
// class declaration
57
//
58
59
class
MuonSimHitProducer
:
public
edm::stream::EDProducer
<> {
60
public
:
61
62
explicit
MuonSimHitProducer
(
const
edm::ParameterSet
&);
63
~
MuonSimHitProducer
()
override
;
64
65
private
:
66
67
MuonServiceProxy
*
theService
;
68
Chi2MeasurementEstimator
theEstimator
;
69
70
const
MagneticField
*
magfield
;
71
const
DTGeometry
*
dtGeom
;
72
const
CSCGeometry
*
cscGeom
;
73
const
RPCGeometry
*
rpcGeom
;
74
const
Propagator
*
propagatorWithMaterial
;
75
Propagator
*
propagatorWithoutMaterial
;
76
77
MaterialEffects
*
theMaterialEffects
;
78
79
void
beginRun(
edm::Run
const
&
run
,
const
edm::EventSetup
& es)
override
;
80
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
81
void
readParameters(
const
edm::ParameterSet
&,
82
const
edm::ParameterSet
&,
83
const
edm::ParameterSet
& );
84
85
// Parameters to emulate the muonSimHit association inefficiency due to delta's
86
double
kDT
;
87
double
fDT
;
88
double
kCSC
;
89
double
fCSC
;
90
92
void
applyMaterialEffects(
TrajectoryStateOnSurface
& tsosWithdEdx,
93
TrajectoryStateOnSurface
& tsos,
94
double
radPath,
95
RandomEngineAndDistribution
const
*,
96
HepPDT::ParticleDataTable
const
&);
97
98
99
// ----------- parameters ----------------------------
100
bool
fullPattern_
;
101
bool
doL1_ ,
doL3_
, doGL_;
102
103
// tags
104
edm::InputTag
simMuonLabel
;
105
edm::InputTag
simVertexLabel
;
106
107
// tokens
108
edm::EDGetTokenT<std::vector<SimTrack>
>
simMuonToken
;
109
edm::EDGetTokenT<std::vector<SimVertex>
>
simVertexToken
;
110
111
112
};
113
114
#endif
SimVertex
Definition:
SimVertex.h:5
MuonSimHitProducer::magfield
const MagneticField * magfield
Definition:
MuonSimHitProducer.h:70
MaterialEffects
Definition:
MaterialEffects.h:51
MuonSimHitProducer::dtGeom
const DTGeometry * dtGeom
Definition:
MuonSimHitProducer.h:71
Chi2MeasurementEstimator.h
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition:
ParticleDataTable.h:8
ParameterSet
Definition:
Functions.h:16
MuonSimHitProducer::theMaterialEffects
MaterialEffects * theMaterialEffects
Definition:
MuonSimHitProducer.h:77
CSCGeometry
Definition:
CSCGeometry.h:24
DTGeometry
Definition:
DTGeometry.h:28
MagneticField
Definition:
MagneticField.h:19
SimTrack
Definition:
SimTrack.h:6
MuonSimHitProducer::simVertexToken
edm::EDGetTokenT< std::vector< SimVertex > > simVertexToken
Definition:
MuonSimHitProducer.h:109
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:17
edm::EDGetTokenT
Definition:
EDGetToken.h:33
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
MuonSimHitProducer::rpcGeom
const RPCGeometry * rpcGeom
Definition:
MuonSimHitProducer.h:73
EDProducer.h
ParticleDataTable.h
RPCGeometry
Definition:
RPCGeometry.h:22
EventSetup
MuonSimHitProducer::kDT
double kDT
Definition:
MuonSimHitProducer.h:86
MuonSimHitProducer::propagatorWithMaterial
const Propagator * propagatorWithMaterial
Definition:
MuonSimHitProducer.h:74
MuonSimHitProducer
Definition:
MuonSimHitProducer.h:59
MuonSimHitProducer::propagatorWithoutMaterial
Propagator * propagatorWithoutMaterial
Definition:
MuonSimHitProducer.h:75
MuonServiceProxy
Definition:
MuonServiceProxy.h:27
MuonSimHitProducer::cscGeom
const CSCGeometry * cscGeom
Definition:
MuonSimHitProducer.h:72
edm::EventSetup
Definition:
EventSetup.h:57
Propagator
Definition:
Propagator.h:43
MuonSimHitProducer::fDT
double fDT
Definition:
MuonSimHitProducer.h:87
edm::stream::EDProducer
Definition:
EDProducer.h:38
MuonSimHitProducer::simMuonToken
edm::EDGetTokenT< std::vector< SimTrack > > simMuonToken
Definition:
MuonSimHitProducer.h:108
Event
MuonSimHitProducer::theService
MuonServiceProxy * theService
Definition:
MuonSimHitProducer.h:67
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::InputTag
Definition:
InputTag.h:15
MuonSimHitProducer::simMuonLabel
edm::InputTag simMuonLabel
Definition:
MuonSimHitProducer.h:104
MuonSimHitProducer::fCSC
double fCSC
Definition:
MuonSimHitProducer.h:89
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:71
RandomEngineAndDistribution
Definition:
RandomEngineAndDistribution.h:18
MuonSimHitProducer::kCSC
double kCSC
Definition:
MuonSimHitProducer.h:88
TrackerGeometry
Definition:
TrackerGeometry.h:14
MuonSimHitProducer::doL3_
bool doL3_
Definition:
MuonSimHitProducer.h:101
MuonSimHitProducer::fullPattern_
bool fullPattern_
Definition:
MuonSimHitProducer.h:100
Chi2MeasurementEstimator
Definition:
Chi2MeasurementEstimator.h:15
edm::Run
Definition:
Run.h:45
MuonSimHitProducer::simVertexLabel
edm::InputTag simVertexLabel
Definition:
MuonSimHitProducer.h:105
MuonSimHitProducer::theEstimator
Chi2MeasurementEstimator theEstimator
Definition:
MuonSimHitProducer.h:68
Generated for CMSSW Reference Manual by
1.8.11