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 
49  protected:
50  //--- These functions are no longer needed, yet they are declared
51  //--- pure virtual in the base class.
52  float xpos( const SiPixelCluster& ) const { return -999000.0; } // &&& should abort
53  float ypos( const SiPixelCluster& ) const { return -999000.0; } // &&& should abort
54 
55  private:
56  // Template storage
58  //---------------------------
59  // [Morris, 6/25/08]
60  // Cache the template ID number
61  mutable int templID_; // in general this will change in time and via DetID
62 
63  // The result of PixelTemplateReco2D
64  mutable float templXrec_ ;
65  mutable float templYrec_ ;
66  mutable float templSigmaX_ ;
67  mutable float templSigmaY_ ;
68  // Add new information produced by SiPixelTemplateReco::PixelTempReco2D &&&
69  // These can only be accessed if we change silicon pixel data formats and add them to the rechit
70  mutable float templProbX_ ;
71  mutable float templProbY_ ;
72 
73  mutable float templProbQ_;
74 
75  mutable int templQbin_ ;
76 
77  mutable int speed_ ;
78 
79  mutable int ierr;
80 
81  mutable bool UseClusterSplitter_;
82 
83  mutable bool DoCosmics_;
84 
85  mutable bool LoadTemplatesFromDB_;
86 
87 };
88 
89 #endif
90 
91 
92 
93 
float xpos(const SiPixelCluster &) const
float ypos(const SiPixelCluster &) const
LocalError localError(const SiPixelCluster &cl, 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.