CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FastStripCPE.h
Go to the documentation of this file.
1 #ifndef FastSimulation_TrackingRecHitProducer_FastStripCPE_H
2 #define FastSimulation_TrackingRecHitProducer_FastStripCPE_H
3 
8 
9 #include <ext/hash_map>
10 #include <map>
11 
12 
14 {
15  public:
17 
18  //Standard method used
19  //LocalValues is typedef for std::pair<LocalPoint,LocalError>
21  return localParameters(cl);
22  };
24 
25  //Put information into the map.
26  void enterLocalParameters(uint32_t id, uint16_t firstStrip, std::pair<LocalPoint,LocalError> pos_err_info) const;
27 
28  //Clear the map.
29  void clearParameters() const {
30  pos_err_map.clear();
31  }
32 
34 
35  private:
36  mutable std::map<std::pair<uint32_t, uint16_t>,std::pair<LocalPoint, LocalError> > pos_err_map;
37 
38 };
39 
40 #endif
41 
42 
43 
44 
std::pair< LocalPoint, LocalError > LocalValues
StripClusterParameterEstimator::LocalValues localParameters(const SiStripCluster &cl, const GeomDetUnit &det) const
Definition: FastStripCPE.h:20
void clearParameters() const
Definition: FastStripCPE.h:29
void enterLocalParameters(uint32_t id, uint16_t firstStrip, std::pair< LocalPoint, LocalError > pos_err_info) const
Definition: FastStripCPE.cc:8
LocalVector driftDirection(const StripGeomDetUnit *det) const
Definition: FastStripCPE.cc:25
std::map< std::pair< uint32_t, uint16_t >, std::pair< LocalPoint, LocalError > > pos_err_map
Definition: FastStripCPE.h:36