CMS 3D CMS Logo

Functions
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 "MSLayersKeeper.h"
#include "FWCore/Utilities/interface/Likely.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

◆ operator<<() [1/2]

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

Definition at line 18 of file MSLayer.cc.

18  {
19  s << " face: " << l.face() << " pos:" << l.position() << ", "
20  << " range:" << l.range() << ", " << l.theX0Data;
21  return s;
22 }

References cmsLHEtoEOSManager::l, and alignCSCRings::s.

◆ operator<<() [2/2]

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

Definition at line 24 of file MSLayer.cc.

24  {
25  if (d.hasX0)
26  s << "x0=" << d.x0 << " sumX0D=" << d.sumX0D;
27  else if (d.allLayers)
28  s << "x0 by MSLayersKeeper";
29  else
30  s << "empty DataX0";
31  return s;
32 }

References ztail::d, and alignCSCRings::s.

◆ sqr()

template<class T >
T sqr ( T  t)

Definition at line 13 of file MSLayer.cc.

13  {
14  return t * t;
15 }

References OrderedSet::t.

Referenced by MSLayer::distance2().

alignCSCRings.s
s
Definition: alignCSCRings.py:92
OrderedSet.t
t
Definition: OrderedSet.py:90
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:193
ztail.d
d
Definition: ztail.py:151