CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
MSLayer.h File Reference
#include "TrackingTools/DetLayers/interface/DetLayer.h"
#include "RecoTracker/TkMSParametrization/interface/PixelRecoPointRZ.h"
#include "RecoTracker/TkMSParametrization/interface/PixelRecoLineRZ.h"
#include "RecoTracker/TkMSParametrization/interface/PixelRecoRange.h"
#include <iosfwd>
#include "FWCore/Utilities/interface/GCC11Compatibility.h"

Go to the source code of this file.

Classes

struct  MSLayer::DataX0
 
class  MSLayer
 

Functions

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

Function Documentation

std::ostream& operator<< ( std::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.

16 {
17  s <<" face: "<<l.face()
18  <<" pos:"<<l.position()<<", "
19  <<" range:"<<l.range()<<", "
20  <<l.theX0Data;
21  return s;
22 }
const Range & range() const
Definition: MSLayer.h:45
const GeomDetEnumerators::Location & face() const
Definition: MSLayer.h:47
float position() const
Definition: MSLayer.h:48
DataX0 theX0Data
Definition: MSLayer.h:72
std::ostream& operator<< ( std::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.

25 {
26  if (d.hasX0) s << "x0="<<d.x0 <<" sumX0D="<<d.sumX0D;
27  else if (d.allLayers) s << "x0 by MSLayersKeeper";
28  else s <<"empty DataX0";
29  return s;
30 }
const MSLayersKeeper * allLayers
Definition: MSLayer.h:28
float sumX0D
Definition: MSLayer.h:27