CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
28 
29 // FastSimulation headers
30 class RandomEngine;
31 class MagneticField;
32 class TrackerGeometry;
33 class DTGeometry;
34 class CSCGeometry;
35 class RPCGeometry;
36 class MuonServiceProxy;
37 class MaterialEffects;
39 class Propagator;
40 
41 /*
42 namespace reco {
43  class Muon;
44 }
45 */
46 
47 namespace edm {
48  class ParameterSet;
49  class Event;
50  class EventSetup;
51 }
52 
53 //
54 // class declaration
55 //
56 
58  public:
59 
60  explicit MuonSimHitProducer(const edm::ParameterSet&);
62 
63  private:
64 
68 
75 
77 
78  virtual void beginRun(edm::Run & run, const edm::EventSetup & es);
79  virtual void produce(edm::Event&, const edm::EventSetup&);
80  virtual void endJob() ;
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 
94  double radPath);
95 
96 
97  // ----------- parameters ----------------------------
99  bool doL1_ , doL3_ , doGL_;
101 };
102 
103 #endif
MuonSimHitProducer(const edm::ParameterSet &)
const MagneticField * magfield
virtual void beginRun(edm::Run &run, const edm::EventSetup &es)
const DTGeometry * dtGeom
MaterialEffects * theMaterialEffects
const RPCGeometry * rpcGeom
std::string theSimModuleProcess_
const Propagator * propagatorWithMaterial
Propagator * propagatorWithoutMaterial
const CSCGeometry * cscGeom
const RandomEngine * random
MuonServiceProxy * theService
void applyMaterialEffects(TrajectoryStateOnSurface &tsosWithdEdx, TrajectoryStateOnSurface &tsos, double radPath)
Simulate material effects in iron (dE/dx, multiple scattering)
std::string theSimModuleLabel_
void readParameters(const edm::ParameterSet &, const edm::ParameterSet &, const edm::ParameterSet &)
virtual void produce(edm::Event &, const edm::EventSetup &)
std::string theTrkModuleLabel_
Definition: Run.h:33
Chi2MeasurementEstimator theEstimator