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
9 
10 #include <map>
11 #include <memory>
12 
14 {
15  public:
17 
18  //Standard method used
19  //LocalValues is typedef for std::pair<LocalPoint,LocalError>
21  const GeomDetUnit & det) const;
22 
23  //Put information into the map.
24  void enterLocalParameters(unsigned int id, std::pair<int,int> &row_col, const std::pair<LocalPoint,LocalError>& pos_err_info);
25 
26  //Clear the map.
27  void clearParameters() const {
28  pos_err_map.clear();
29  }
30 
31  std::unique_ptr<ClusterParameterEstimator<SiPixelCluster>> clone() const;
32 
33  private:
34  //Map used to store clusters distinctly.
35  mutable std::map<std::pair<unsigned int, std::pair<int,int> >, std::pair<LocalPoint, LocalError> > pos_err_map;
36 };
37 
38 #endif
39 
40 
41 
42 
std::map< std::pair< unsigned int, std::pair< int, int > >, std::pair< LocalPoint, LocalError > > pos_err_map
Definition: FastPixelCPE.h:35
void clearParameters() const
Definition: FastPixelCPE.h:27
std::pair< LocalPoint, LocalError > LocalValues
std::unique_ptr< ClusterParameterEstimator< SiPixelCluster > > clone() const
Definition: FastPixelCPE.cc:39
Pixel cluster – collection of neighboring pixels above threshold.
void enterLocalParameters(unsigned int id, std::pair< int, int > &row_col, const std::pair< LocalPoint, LocalError > &pos_err_info)
Definition: FastPixelCPE.cc:34
PixelClusterParameterEstimator::LocalValues localParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const
The constructor.
Definition: FastPixelCPE.cc:22