CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTLinearDriftAlgo.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_DTLinearDriftAlgo_H
2 #define RecoLocalMuon_DTLinearDriftAlgo_H
3 
15 
16 
17 
19  public:
22 
24  virtual ~DTLinearDriftAlgo();
25 
26  // Operations
27 
29  virtual void setES(const edm::EventSetup& setup);
30 
31 
36  virtual bool compute(const DTLayer* layer,
37  const DTDigi& digi,
38  LocalPoint& leftPoint,
39  LocalPoint& rightPoint,
40  LocalError& error) const;
41 
42 
46  virtual bool compute(const DTLayer* layer,
47  const DTRecHit1D& recHit1D,
48  const float& angle,
49  DTRecHit1D& newHit1D) const;
50 
51 
57  virtual bool compute(const DTLayer* layer,
58  const DTRecHit1D& recHit1D,
59  const float& angle,
60  const GlobalPoint& globPos,
61  DTRecHit1D& newHit1D) const;
62 
63 
64  private:
65 
66  // Do the actual work.
67  virtual bool compute(const DTLayer* layer,
68  const DTWireId& wireId,
69  const float digiTime,
70  const GlobalPoint& globPos,
71  LocalPoint& leftPoint,
72  LocalPoint& rightPoint,
73  LocalError& error,
74  int step) const;
75 
76  // Interface to the method which does the actual work suited for 2nd and 3rd steps
77  virtual bool compute(const DTLayer* layer,
78  const DTWireId& wireId,
79  const float digiTime,
80  const GlobalPoint& globPos,
81  DTRecHit1D& newHit1D,
82  int step) const;
83 
84 
85  // The Drift Velocity (cm/ns)
86  static float vDrift;
87  // // The Drift Velocity (cm/ns) for MB1 Wheel1 (non fluxed chamber) 21-Dec-2006 SL
88  // static float vDriftMB1W1;
89 
90  // The resolution on the Hits (cm)
91  static float hitResolution;
92 
93  // Times below MinTime (ns) are considered as coming from previous BXs.
94  static float minTime;
95 
96  // Times above MaxTime (ns) are considered as coming from following BXs
97  static float maxTime;
98 
99  // Switch on/off the verbosity
100  static bool debug;
101 };
102 #endif
103 
104 
list step
Definition: launcher.py:15
static float minTime
virtual void setES(const edm::EventSetup &setup)
Pass the Event Setup to the algo at each event.
static float maxTime
static float hitResolution
Definition: DTDigi.h:19
DTLinearDriftAlgo(const edm::ParameterSet &config)
Constructor.
virtual bool compute(const DTLayer *layer, const DTDigi &digi, LocalPoint &leftPoint, LocalPoint &rightPoint, LocalError &error) const
virtual ~DTLinearDriftAlgo()
Destructor.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11