  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
   10 #include "GaudiKernel/MsgStream.h" 
   33 void MTStraightLine::init(
const double  r_a_x1, 
const double  r_b_x1, 
const double  r_a_x2, 
const double  r_b_x2, 
const double  r_a_x1_err,
 
   34                           const double  r_b_x1_err, 
const double  r_a_x2_err, 
const double  r_b_x2_err) {
 
   56         log << MSG::WARNING << 
"Class MTStraightLine, method b_x1: b_x1 not uniquely defined." << 
endmsg;
 
   77         log << MSG::WARNING << 
"Class MTStraightLine, method b_x2: b_x2 not uniquely defined." << 
endmsg;
 
  111     if (
n.dot(
n) == 0.0) {
 
  114         return std::sqrt(
d.dot(
d) - (
u.unit().dot(
d)) * (
u.unit().dot(
d)));
 
  117     return (
d.dot(
n.unit()));
 
  
MuonCalibSegment::MdtHitVec MdtHitVec
 
double a_x1() const
get the slope of the straight line in the x1-x3 plane
 
singleton-like access to IMessageSvc via open function and helper
 
void setChi2(double chi2)
Cache the chi2.
 
unsigned int m_numTrkHits
 
Amg::Vector3D m_direction
 
Amg::Vector3D positionError() const
get the error on the position vector of the straight line
 
double a_x2() const
get the slope of the straight line in the x2-x3 plane
 
Amg::Vector3D directionVector() const
get the direction vector of the straight line
 
double b_x1_error() const
get the error on the intercept of the straight line in the x1-x3 plane
 
double b_x1() const
get the intercept of the straight line in the x1-x3 plane
 
@ u
Enums for curvilinear frames.
 
IMessageSvc * getMessageSvc(bool quiet=false)
 
Amg::Vector3D m_direction_error
 
double a_x2_error() const
get the error on the slope of the straight line in the x2-x3 plane
 
double chi2PerDegreesOfFreedom() const
Return chi2 / number of TrackHits - 2.
 
double a_x1_error() const
get the error on the slope of the straight line in the x1-x3 plane
 
unsigned int numberOfTrackHits() const
 
Amg::Vector3D directionError() const
get the error on the direction vector of the straight line
 
double chi2(TH1 *h0, TH1 *h1)
 
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
 
double b_x2() const
get the intercept of the straight line in the x2-x3 plane
 
def dot(G, fn, nodesToHighlight=[])
 
Amg::Vector3D m_position_error
 
double signDistFrom(const MTStraightLine &h) const
get the signed distance of two lines (if both are parallel, dist>0)
 
void setUsedHits(const MdtHitVec &hits)
 
Eigen::Matrix< double, 3, 1 > Vector3D
 
double distFromLine(const Amg::Vector3D &point) const
get the distance of point point from straight line
 
double b_x2_error() const
get the slope of the intercept of the straight line in the x2-x3 plane
 
const MdtHitVec & trackHits() const
 
Amg::Vector3D positionVector() const
get the position vector of the straight line
 
void setNumberOfTrackHits(unsigned int n_hits)
cache the number of track hits
 
Amg::Vector3D pointOnLine(const double lambda) const
get the point on the line for the given scale factor lambda, point=position_vector+lambda*direction_v...