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  struct ClusterParamTemplate : ClusterParam
38  {
39  ClusterParamTemplate(const SiPixelCluster & cl) : ClusterParam(cl){}
40  // The result of PixelTemplateReco2D
41  float templXrec_ ;
42  float templYrec_ ;
43  float templSigmaX_ ;
44  float templSigmaY_ ;
45  // Add new information produced by SiPixelTemplateReco::PixelTempReco2D &&&
46  // These can only be accessed if we change silicon pixel data formats and add them to the rechit
47  float templProbX_ ;
48  float templProbY_ ;
49 
50  float templProbQ_;
51 
52  int templQbin_ ;
53 
54  int ierr;
55 
56  };
57 
58  // PixelCPETemplateReco( const DetUnit& det );
61 
63 
64  private:
66 
67  // We only need to implement measurementPosition, since localPosition() from
68  // PixelCPEBase will call it and do the transformation
69  // Gavril : put it back
70  LocalPoint localPosition (DetParam const & theDetParam, ClusterParam & theClusterParam) const;
71 
72  // However, we do need to implement localError().
73  LocalError localError (DetParam const & theDetParam, ClusterParam & theClusterParam) const;
74 
75  // Template storage
76  std::vector< SiPixelTemplateStore > thePixelTemp_;
77 
78  int speed_ ;
79 
81 
82  //bool DoCosmics_;
83  //bool LoadTemplatesFromDB_;
84 
85 };
86 
87 #endif
88 
89 
90 
91 
LocalError localError(DetParam const &theDetParam, ClusterParam &theClusterParam) const
std::vector< SiPixelTemplateStore > thePixelTemp_
PixelCPETemplateReco(edm::ParameterSet const &conf, const MagneticField *, const TrackerGeometry &, const TrackerTopology &, const SiPixelLorentzAngle *, const SiPixelTemplateDBObject *)
tuple conf
Definition: dbtoconf.py:185
ClusterParam * createClusterParam(const SiPixelCluster &cl) const
Pixel cluster – collection of neighboring pixels above threshold.
LocalPoint localPosition(DetParam const &theDetParam, ClusterParam &theClusterParam) const