5 #include "boost/bind.hpp"
6 #include "boost/lambda/lambda.hpp"
17 : peakMode_(latency.singleReadOutMode() == 1),
20 LorentzAngleMap_(LorentzAngle)
22 typedef std::map<std::string,SiStripDetId::ModuleGeometry> map_t;
39 const unsigned size = max_element( modules.begin(),modules.end(),
46 for(map_t::const_iterator it=modules.begin(); it!=modules.end(); it++) {
49 shiftS(
"shift_" + it->first + modeS ),
50 xtalk1S(
"xtalk1_" + it->first + modeS ),
51 xtalk2S(
"xtalk2_" + it->first + modeS );
57 shift[it->second] = confObj.
get<
double>(shiftS);
58 xtalk1[it->second] = confObj.
get<
double>(xtalk1S);
59 xtalk2[it->second] = confObj.
get<
double>(xtalk2S);
90 float dir_x = -tanLorentzAnglePerTesla * lbfield.
y();
91 float dir_y = tanLorentzAnglePerTesla * lbfield.
x();
103 for (
auto i=
m_off;
i!=dus.size();++
i) {
106 assert(stripdet->
index()==int(i));
111 p.thickness = bounds.thickness();
114 p.nstrips =
p.topology->nstrips();
118 p.pitch_rel_err2 = (rtop)
StripCPE(edm::ParameterSet &conf, const MagneticField &, const TrackerGeometry &, const SiStripLorentzAngle &, const SiStripConfObject &, const SiStripLatency &)
Local3DVector LocalVector
std::vector< double > xtalk2
const float & getLorentzAngle(const uint32_t &) const
virtual GlobalVector inTesla(const GlobalPoint &gp) const =0
Field value ad specified global point, in Tesla.
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
StripTopology const * topology
LocalVector toLocal(const reco::Track::Vector &v, const Surface &s)
std::pair< LocalPoint, LocalError > LocalValues
const TrackerGeometry & geom_
const BoundPlane & specificSurface() const
Same as surface(), kept for backward compatibility.
uint32_t rawId() const
get the raw id
U second(std::pair< T, U > const &p)
const SiStripLorentzAngle & LorentzAngleMap_
virtual const DetUnitContainer & detUnits() const
Returm a vector of all GeomDetUnit.
std::vector< double > xtalk1
SiStripDetId::ModuleGeometry moduleGeom
unsigned int offsetDU(SubDetector sid) const
virtual const TopologyType & specificTopology() const
StripClusterParameterEstimator::LocalValues localParameters(const SiStripCluster &cl, const GeomDetUnit &) const
virtual const Topology & topology() const
Returns a reference to the strip proxy topology.
DetId geographicalId() const
The label of this GeomDet.
const MagneticField & magfield_
std::vector< double > shift
virtual MeasurementPoint measurementPosition(const LocalPoint &) const =0
float coveredStrips(const LocalVector &, const LocalPoint &) const
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
virtual StripGeomDetType & specificType() const
Detector identifier class for the strip tracker.
const Bounds & bounds() const
virtual float localPitch(const LocalPoint &) const
LocalVector driftDirection(const StripGeomDetUnit *det) const
valueType get(const std::string &name) const
virtual float stripLength() const
virtual LocalError localError(float strip, float stripErr2) const =0
const BoundPlane & surface() const
The nominal surface of the GeomDet.
Param const & param(const GeomDetUnit &det) const
virtual LocalPoint localPosition(float strip) const =0
float angularWidth() const
bool isParameter(const std::string &name) const
const PositionType & position() const
tuple size
Write out results.
Power< A, B >::type pow(const A &a, const B &b)