CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecHit1D.cc
Go to the documentation of this file.
1 
2 /*
3  * See header file for a description of this class.
4  *
5  * $Date: 2007/08/10 22:24:54 $
6  * $Revision: 1.3 $
7  * \author S. Lacaprara, G. Cerminara
8  */
9 
11 
12 // #include "DataFormats/GeometryCommonDetAlgo/interface/ErrorFrameTransformer.h"
13 
14 
15 
16 // Just the x
19  result[0] = localPosition().x();
20  return result;
21 }
22 
23 
24 
25 // local Error + AlignmentPositionError if this is set for the DetUnit
29  // FIXME: Remove this dependence from Geometry
30 // if ( det().alignmentPositionError()) {
31 // LocalError lape =
32 // ErrorFrameTransformer().transform( det().alignmentPositionError()->globalError(),
33 // det().surface());
34 // m[0][0] = le.xx()+lape.xx();
35 // } else {
36  m[0][0] = le.xx();
37 // }
38  return m;
39 }
40 
41 
42 
43 // Initialize the projection matrix
44 void RecHit1D::initialize() const {
46  theProjectionMatrix[0][3] = 1;
47 
48  isInitialized = true;
49 }
50 
51 
52 
53 bool RecHit1D::isInitialized(false);
54 
55 
56 
58 
float xx() const
Definition: LocalError.h:24
virtual LocalPoint localPosition() const =0
Local position.
void initialize() const
Definition: RecHit1D.cc:44
static AlgebraicMatrix theProjectionMatrix
Definition: RecHit1D.h:65
virtual LocalError localPositionError() const =0
Error on the local position.
CLHEP::HepMatrix AlgebraicMatrix
tuple result
Definition: query.py:137
virtual AlgebraicSymMatrix parametersError() const
Return just "(sigma_x)^2".
Definition: RecHit1D.cc:26
CLHEP::HepVector AlgebraicVector
CLHEP::HepSymMatrix AlgebraicSymMatrix
T x() const
Definition: PV3DBase.h:61
virtual AlgebraicVector parameters() const
Return just the x.
Definition: RecHit1D.cc:17
static bool isInitialized
Definition: RecHit1D.h:63
unsigned long long le
Definition: VDTMath.h:202