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
StripClusterParameterEstimator::LocalValues StripCPEfromTrackAngle::localParameters ( const SiStripCluster cluster,
const GeomDetUnit det,
const LocalTrajectoryParameters ltp 
) const [virtual]

Reimplemented from ClusterParameterEstimator< SiStripCluster >.

Definition at line 6 of file StripCPEfromTrackAngle.cc.

References localParameters().

                                                                                                                    {
  return localParameters(cluster,ltp);
}
float StripCPEfromTrackAngle::stripErrorSquared ( const unsigned  N,
const float  uProj 
) const [inline, private]

Definition at line 32 of file StripCPEfromTrackAngle.cc.

References funct::exp().

Referenced by localParameters().

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