CMS 3D CMS Logo

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"

Go to the source code of this file.

Functions

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


Function Documentation

ostream& operator<< ( ostream &  s,
const MSLayer::DataX0 d 
)

Definition at line 21 of file MSLayer.cc.

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

00022 {
00023   if (d.hasX0)  s << "x0="<<d.x0 <<" sumX0D="<<d.sumX0D;  
00024   else if (d.allLayers)  s << "x0 by MSLayersKeeper"; 
00025   else  s <<"empty DataX0"; 
00026   return s; 
00027 }

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

Definition at line 12 of file MSLayer.cc.

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

00013 {
00014   s <<" face: "<<l.face() 
00015     <<" pos:"<<l.position()<<", "
00016     <<" range:"<<l.range()<<", "
00017     <<l.theX0Data;
00018   return s;
00019 }

template<class T>
T sqr ( t  )  [inline]

Definition at line 9 of file MSLayer.cc.

00009 {return t*t;}


Generated on Tue Jun 9 17:55:40 2009 for CMSSW by  doxygen 1.5.4