CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
StripCPEfromTrackAngle.h
Go to the documentation of this file.
1 #ifndef RecoLocalTracker_SiStripRecHitConverter_StripCPEfromTrackAngle_H
2 #define RecoLocalTracker_SiStripRecHitConverter_StripCPEfromTrackAngle_H
3 
5 
7 private:
9 
10  //Error parameterization, low cluster width function
11  float mLC_P[3];
12  float mHC_P[4][2];
13 
14  //High cluster width is broken down by sub-det
15  std::map<SiStripDetId::SubDetector, float> mHC_P0;
16  std::map<SiStripDetId::SubDetector, float> mHC_P1;
17 
18  //Set to true if we are using the old error parameterization
19  const bool useLegacyError;
20 
21  //Clusters with charge/path > this cut will use old error parameterization
22  // (overridden by useLegacyError; negative value disables the cut)
23  const float maxChgOneMIP;
24 
25  enum class Algo { legacy, mergeCK, chargeCK };
26 
28 
29 public:
33 
35  ALocalValues& retValues,
36  const GeomDetUnit& gd,
37  const LocalTrajectoryParameters& ltp) const override;
38 
40  AlgoParam const& ap) const override;
41 
43  const GeomDetUnit&,
44  const LocalTrajectoryParameters&) const override;
45 
46  float stripErrorSquared(const unsigned N, const float uProj, const SiStripDetId::SubDetector loc) const;
47  float legacyStripErrorSquared(const unsigned N, const float uProj) const;
48 
50  const MagneticField& mag,
51  const TrackerGeometry& geom,
52  const SiStripLorentzAngle& lorentz,
53  const SiStripBackPlaneCorrection& backPlaneCorrection,
54  const SiStripConfObject& confObj,
55  const SiStripLatency& latency);
56 };
57 #endif
float legacyStripErrorSquared(const unsigned N, const float uProj) const
std::pair< LocalPoint, LocalError > LocalValues
StripCPEfromTrackAngle(edm::ParameterSet &conf, const MagneticField &mag, const TrackerGeometry &geom, const SiStripLorentzAngle &lorentz, const SiStripBackPlaneCorrection &backPlaneCorrection, const SiStripConfObject &confObj, const SiStripLatency &latency)
std::map< SiStripDetId::SubDetector, float > mHC_P1
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
void localParameters(AClusters const &clusters, ALocalValues &retValues, const GeomDetUnit &gd, const LocalTrajectoryParameters &ltp) const override
tuple cl
Definition: haddnano.py:49
std::map< SiStripDetId::SubDetector, float > mHC_P0
StripClusterParameterEstimator::LocalValues localParameters(const SiStripCluster &cl, const GeomDetUnit &) const override
Definition: StripCPE.cc:62
#define N
Definition: blowfish.cc:9
DynArray< SiStripCluster const * > AClusters
Definition: fakeMenu.h:6
float stripErrorSquared(const unsigned N, const float uProj, const SiStripDetId::SubDetector loc) const