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 
12 #include <ext/hash_map>
13 class StripTopology;
14 
16 {
17 public:
18 
20 
22  const MagneticField&,
23  const TrackerGeometry&,
24  const SiStripLorentzAngle&,
25  const SiStripConfObject&,
26  const SiStripLatency&);
28 
29  protected:
30 
31  const bool peakMode_;
35  std::vector<double> shift;
36  std::vector<double> xtalk1;
37  std::vector<double> xtalk2;
38 
39  struct Param {
40  Param() : topology(0) {}
44  int nstrips;
46  float coveredStrips(const LocalVector&, const LocalPoint&) const;
47  };
48  Param const & param(const GeomDetUnit& det) const {
49  return m_Params[det.index()-m_off];
50  }
51 
52 private:
53 
54  void fillParams();
55  typedef std::vector<Param> Params;
57  unsigned int m_off;
58 
59 };
60 #endif
StripCPE(edm::ParameterSet &conf, const MagneticField &, const TrackerGeometry &, const SiStripLorentzAngle &, const SiStripConfObject &, const SiStripLatency &)
Definition: StripCPE.cc:11
const bool peakMode_
Definition: StripCPE.h:31
Params m_Params
Definition: StripCPE.h:56
std::vector< double > xtalk2
Definition: StripCPE.h:37
std::vector< Param > Params
Definition: StripCPE.h:55
float pitch_rel_err2
Definition: StripCPE.h:43
float thickness
Definition: StripCPE.h:43
void fillParams()
Definition: StripCPE.cc:99
StripTopology const * topology
Definition: StripCPE.h:41
std::pair< LocalPoint, LocalError > LocalValues
const TrackerGeometry & geom_
Definition: StripCPE.h:32
unsigned int m_off
Definition: StripCPE.h:57
const SiStripLorentzAngle & LorentzAngleMap_
Definition: StripCPE.h:34
std::vector< double > xtalk1
Definition: StripCPE.h:36
SiStripDetId::ModuleGeometry moduleGeom
Definition: StripCPE.h:45
StripClusterParameterEstimator::LocalValues localParameters(const SiStripCluster &cl, const GeomDetUnit &) const
Definition: StripCPE.cc:67
const MagneticField & magfield_
Definition: StripCPE.h:33
std::vector< double > shift
Definition: StripCPE.h:35
int index() const
Definition: GeomDet.h:92
float coveredStrips(const LocalVector &, const LocalPoint &) const
Definition: StripCPE.cc:78
tuple conf
Definition: dbtoconf.py:185
float cl
Definition: Combine.cc:71
LocalVector driftDirection(const StripGeomDetUnit *det) const
Definition: StripCPE.cc:85
float maxLength
Definition: StripCPE.h:43
Param const & param(const GeomDetUnit &det) const
Definition: StripCPE.h:48
LocalVector drift
Definition: StripCPE.h:42