CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_3_3/src/RecoTracker/TkMSParametrization/src/MSLayer.cc File Reference

#include "RecoTracker/TkMSParametrization/interface/MSLayer.h"
#include "TrackingTools/DetLayers/interface/DetLayer.h"
#include "TrackingTools/DetLayers/interface/BarrelDetLayer.h"
#include "TrackingTools/DetLayers/interface/ForwardDetLayer.h"
#include "RecoTracker/TkMSParametrization/interface/MSLayersKeeper.h"
#include <iostream>

Go to the source code of this file.

Functions

ostream & operator<< (ostream &s, const MSLayer &l)
ostream & operator<< (ostream &s, const MSLayer::DataX0 &d)
template<class T >
T sqr (T t)

Function Documentation

ostream& operator<< ( ostream &  s,
const MSLayer l 
)

Definition at line 15 of file MSLayer.cc.

References MSLayer::face(), MSLayer::position(), MSLayer::range(), alignCSCRings::s, and MSLayer::theX0Data.

{
  s <<" face: "<<l.face() 
    <<" pos:"<<l.position()<<", "
    <<" range:"<<l.range()<<", "
    <<l.theX0Data;
  return s;
}
ostream& operator<< ( ostream &  s,
const MSLayer::DataX0 d 
)

Definition at line 24 of file MSLayer.cc.

References MSLayer::DataX0::allLayers, MSLayer::DataX0::hasX0, alignCSCRings::s, MSLayer::DataX0::sumX0D, and MSLayer::DataX0::x0.

{
  if (d.hasX0)  s << "x0="<<d.x0 <<" sumX0D="<<d.sumX0D;  
  else if (d.allLayers)  s << "x0 by MSLayersKeeper"; 
  else  s <<"empty DataX0"; 
  return s; 
}
template<class T >
T sqr ( T  t)

Definition at line 12 of file MSLayer.cc.

References lumiQTWidget::t.

{return t*t;}