CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixelCPETemplateReco.h
Go to the documentation of this file.
1 #ifndef RecoLocalTracker_SiPixelRecHits_PixelCPETemplateReco_H
2 #define RecoLocalTracker_SiPixelRecHits_PixelCPETemplateReco_H
3 
5 
6 // Already in the base class
7 //#include "Geometry/CommonDetUnit/interface/GeomDetType.h"
8 //#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
9 //#include "Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h"
10 //#include "Geometry/CommonDetAlgo/interface/MeasurementPoint.h"
11 //#include "Geometry/CommonDetAlgo/interface/MeasurementError.h"
12 //#include "Geometry/Surface/interface/GloballyPositioned.h"
13 //#include "FWCore/ParameterSet/interface/ParameterSet.h"
14 
15 
16 #ifndef SI_PIXEL_TEMPLATE_STANDALONE
18 #else
19 #include "SiPixelTemplate.h"
20 #endif
21 
22 #include <utility>
23 #include <vector>
24 
25 
26 #if 0
27 
31 #endif
32 
33 class MagneticField;
35 {
36  public:
37  // PixelCPETemplateReco( const DetUnit& det );
40 
41  // We only need to implement measurementPosition, since localPosition() from
42  // PixelCPEBase will call it and do the transformation
43  // Gavril : put it back
44  LocalPoint localPosition (const SiPixelCluster& cluster, const GeomDetUnit & det) const;
45 
46  // However, we do need to implement localError().
47  LocalError localError (const SiPixelCluster& cl, const GeomDetUnit & det) const;
48 
50 
51  // &&& Do we need to overload measurementError() ?
52 
53  protected:
54  //--- These functions are no longer needed, yet they are declared
55  //--- pure virtual in the base class.
56  float xpos( const SiPixelCluster& ) const { return -999000.0; } // &&& should abort
57  float ypos( const SiPixelCluster& ) const { return -999000.0; } // &&& should abort
58 
59  private:
60  // Template storage
62  //---------------------------
63  // [Morris, 6/25/08]
64  // Cache the template ID number
65  mutable int templID_; // in general this will change in time and via DetID
66 
67  // The result of PixelTemplateReco2D
68  mutable float templXrec_ ;
69  mutable float templYrec_ ;
70  mutable float templSigmaX_ ;
71  mutable float templSigmaY_ ;
72  // Add new information produced by SiPixelTemplateReco::PixelTempReco2D &&&
73  // These can only be accessed if we change silicon pixel data formats and add them to the rechit
74  mutable float templProbX_ ;
75  mutable float templProbY_ ;
76 
77  mutable float templProbQ_;
78 
79  mutable int templQbin_ ;
80 
81  mutable int speed_ ;
82 
83  mutable int ierr;
84 
85  mutable bool UseClusterSplitter_;
86 
87  mutable bool DoCosmics_;
88 
89  mutable bool LoadTemplatesFromDB_;
90 
91 };
92 
93 #endif
94 
95 
96 
97 
float xpos(const SiPixelCluster &) const
float ypos(const SiPixelCluster &) const
LocalError localError(const SiPixelCluster &cl, const GeomDetUnit &det) const
MeasurementPoint measurementPosition(const SiPixelCluster &, const GeomDetUnit &det) const
LocalPoint localPosition(const SiPixelCluster &cluster, const GeomDetUnit &det) const
tuple conf
Definition: dbtoconf.py:185
PixelCPETemplateReco(edm::ParameterSet const &conf, const MagneticField *, const SiPixelLorentzAngle *, const SiPixelTemplateDBObject *)
Pixel cluster – collection of neighboring pixels above threshold.