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 
42 private:
43  // We only need to implement measurementPosition, since localPosition() from
44  // PixelCPEBase will call it and do the transformation
45  // Gavril : put it back
46  LocalPoint localPosition (const SiPixelCluster& cluster) const;
47 
48  // However, we do need to implement localError().
49  LocalError localError (const SiPixelCluster& cl) const;
50 
51  private:
52  // Template storage
54  //---------------------------
55  // [Morris, 6/25/08]
56  // Cache the template ID number
57  mutable int templID_; // in general this will change in time and via DetID
58 
59  // The result of PixelTemplateReco2D
60  mutable float templXrec_ ;
61  mutable float templYrec_ ;
62  mutable float templSigmaX_ ;
63  mutable float templSigmaY_ ;
64  // Add new information produced by SiPixelTemplateReco::PixelTempReco2D &&&
65  // These can only be accessed if we change silicon pixel data formats and add them to the rechit
66  mutable float templProbX_ ;
67  mutable float templProbY_ ;
68 
69  mutable float templProbQ_;
70 
71  mutable int templQbin_ ;
72 
73  mutable int speed_ ;
74 
75  mutable int ierr;
76 
77  mutable bool UseClusterSplitter_;
78 
79  mutable bool DoCosmics_;
80 
81  mutable bool LoadTemplatesFromDB_;
82 
83 };
84 
85 #endif
86 
87 
88 
89 
LocalError localError(const SiPixelCluster &cl) 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.
LocalPoint localPosition(const SiPixelCluster &cluster) const