test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Phase2StripCPETrivial.cc
Go to the documentation of this file.
1 
3 
4 
6  float strippitch = 0.0090; // hardcoded dummy, a la 2S
7  float striplength = 5.; // hardcoded dummy, a la 2S
8  std::pair<float, float> barycenter = cluster.barycenter();
9  LocalPoint lp( barycenter.second * strippitch, striplength * (barycenter.first + 1/2), 0 );
10  LocalError le( strippitch / 12, 0, striplength / 12 );
11  return std::make_pair( lp, le );
12 }
13 
14 
15 // needed, otherwise linker misses some refs
std::pair< float, float > barycenter() const
#define TYPELOOKUP_DATA_REG(_dataclass_)
Definition: typelookup.h:96
LocalValues localParameters(const Phase2TrackerCluster1D &cluster, const GeomDetUnit &det) const