CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FastPixelCPE.h
Go to the documentation of this file.
1 #ifndef FastSimulation_TrackingRecHitProducer_FastPixelCPE_H
2 #define FastSimulation_TrackingRecHitProducer_FastPixelCPE_H
3 
4 //Header files
8 
9 #include <map>
10 
11 #if 0
12 #endif
13 
15 {
16  public:
18 
19  //Standard method used
20  //LocalValues is typedef for std::pair<LocalPoint,LocalError>
22  const GeomDetUnit & det) const;
23 
24  //Put information into the map.
25  void enterLocalParameters(unsigned int id, std::pair<int,int> &row_col, std::pair<LocalPoint,LocalError> pos_err_info) const;
26 
27  //Clear the map.
28  void clearParameters() const {
29  pos_err_map.clear();
30  }
31 
32  private:
33  //Map used to store clusters distinctly.
34  mutable std::map<std::pair<unsigned int, std::pair<int,int> >, std::pair<LocalPoint, LocalError> > pos_err_map;
35 };
36 
37 #endif
38 
39 
40 
41 
std::map< std::pair< unsigned int, std::pair< int, int > >, std::pair< LocalPoint, LocalError > > pos_err_map
Definition: FastPixelCPE.h:34
void clearParameters() const
Definition: FastPixelCPE.h:28
std::pair< LocalPoint, LocalError > LocalValues
Pixel cluster – collection of neighboring pixels above threshold.
PixelClusterParameterEstimator::LocalValues localParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const
The constructor.
Definition: FastPixelCPE.cc:21
void enterLocalParameters(unsigned int id, std::pair< int, int > &row_col, std::pair< LocalPoint, LocalError > pos_err_info) const
Definition: FastPixelCPE.cc:33