CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
StripCPE.h
Go to the documentation of this file.
1 #ifndef RecoLocalTracker_SiStripRecHitConverter_StripCPE_H
2 #define RecoLocalTracker_SiStripRecHitConverter_StripCPE_H
3 
5 
13 #include <ext/hash_map>
14 class StripTopology;
15 
17 {
18 public:
19 
21 
23  const MagneticField&,
24  const TrackerGeometry&,
25  const SiStripLorentzAngle&,
27  const SiStripConfObject&,
28  const SiStripLatency&);
30 
31  protected:
32 
33  const bool peakMode_;
38  std::vector<float> xtalk1;
39  std::vector<float> xtalk2;
40 
41  struct Param {
42  Param() : topology(0) {}
46  int nstrips;
49  float coveredStrips(const LocalVector&, const LocalPoint&) const;
50  };
51  Param const & param(const GeomDetUnit& det) const {
52  return m_Params[det.index()-m_off];
53  }
54 
55 private:
56 
57  void fillParams();
58  typedef std::vector<Param> Params;
60  unsigned int m_off;
61 
62 };
63 #endif
const bool peakMode_
Definition: StripCPE.h:33
Params m_Params
Definition: StripCPE.h:59
std::vector< Param > Params
Definition: StripCPE.h:58
StripCPE(edm::ParameterSet &conf, const MagneticField &, const TrackerGeometry &, const SiStripLorentzAngle &, const SiStripBackPlaneCorrection &, const SiStripConfObject &, const SiStripLatency &)
Definition: StripCPE.cc:11
float pitch_rel_err2
Definition: StripCPE.h:45
float thickness
Definition: StripCPE.h:45
void fillParams()
Definition: StripCPE.cc:95
StripTopology const * topology
Definition: StripCPE.h:43
const TrackerGeometry & geom_
Definition: StripCPE.h:34
float backplanecorrection
Definition: StripCPE.h:47
unsigned int m_off
Definition: StripCPE.h:60
const SiStripLorentzAngle & LorentzAngleMap_
Definition: StripCPE.h:36
std::vector< float > xtalk1
Definition: StripCPE.h:38
SiStripDetId::ModuleGeometry moduleGeom
Definition: StripCPE.h:48
StripClusterParameterEstimator::LocalValues localParameters(const SiStripCluster &cl, const GeomDetUnit &) const
Definition: StripCPE.cc:65
const MagneticField & magfield_
Definition: StripCPE.h:35
int index() const
Definition: GeomDet.h:92
float coveredStrips(const LocalVector &, const LocalPoint &) const
Definition: StripCPE.cc:76
tuple conf
Definition: dbtoconf.py:185
const SiStripBackPlaneCorrection & BackPlaneCorrectionMap_
Definition: StripCPE.h:37
LocalVector driftDirection(const StripGeomDetUnit *det) const
Definition: StripCPE.cc:81
std::pair< LocalPoint, LocalError > LocalValues
std::vector< float > xtalk2
Definition: StripCPE.h:39
float maxLength
Definition: StripCPE.h:45
Param const & param(const GeomDetUnit &det) const
Definition: StripCPE.h:51
LocalVector drift
Definition: StripCPE.h:44