CMS 3D CMS Logo

Public Member Functions | Private Member Functions

StripCPEfromTrackAngle Class Reference

#include <StripCPEfromTrackAngle.h>

Inheritance diagram for StripCPEfromTrackAngle:
StripCPE StripClusterParameterEstimator ClusterParameterEstimator< SiStripCluster >

List of all members.

Public Member Functions

StripClusterParameterEstimator::LocalValues localParameters (const SiStripCluster &, const LocalTrajectoryParameters &) const
StripClusterParameterEstimator::LocalValues localParameters (const SiStripCluster &, const GeomDetUnit &, const LocalTrajectoryParameters &) const
 StripCPEfromTrackAngle (edm::ParameterSet &conf, const MagneticField &mag, const TrackerGeometry &geom, const SiStripLorentzAngle &lorentz, const SiStripConfObject &confObj, const SiStripLatency &latency)

Private Member Functions

float stripErrorSquared (const unsigned, const float) const

Detailed Description

Definition at line 6 of file StripCPEfromTrackAngle.h.


Constructor & Destructor Documentation

StripCPEfromTrackAngle::StripCPEfromTrackAngle ( edm::ParameterSet conf,
const MagneticField mag,
const TrackerGeometry geom,
const SiStripLorentzAngle lorentz,
const SiStripConfObject confObj,
const SiStripLatency latency 
) [inline]

Definition at line 17 of file StripCPEfromTrackAngle.h.

  : StripCPE(conf, mag, geom, lorentz, confObj, latency ) {}

Member Function Documentation

StripClusterParameterEstimator::LocalValues StripCPEfromTrackAngle::localParameters ( const SiStripCluster cluster,
const LocalTrajectoryParameters ltp 
) const

Definition at line 27 of file StripCPEfromTrackAngle.cc.

References Exception.

                                                                                            {

  throw cms::Exception("deprecatedMethod")<<"this method should never be called anymore";
  return std::make_pair(LocalPoint(),LocalError());
}
StripClusterParameterEstimator::LocalValues StripCPEfromTrackAngle::localParameters ( const SiStripCluster cluster,
const GeomDetUnit det,
const LocalTrajectoryParameters ltp 
) const [virtual]
float StripCPEfromTrackAngle::stripErrorSquared ( const unsigned  N,
const float  uProj 
) const [inline, private]

Definition at line 35 of file StripCPEfromTrackAngle.cc.

References funct::exp(), and f.

Referenced by localParameters().

{
  if( (float(N)-uProj) > 3.5f )  
    return float(N*N)/12.f;
  else {
    const float P1=-0.339f;
    const float P2=0.90f;
    const float P3=0.279f;
    const float uerr = P1*uProj*std::exp(-uProj*P2)+P3;
    return uerr*uerr;
  }
}