CMS 3D CMS Logo

Functions
CSCLayerGeometry.cc File Reference
#include <Geometry/CSCGeometry/interface/CSCGeometry.h>
#include <Geometry/CSCGeometry/interface/CSCLayerGeometry.h>
#include <Geometry/CSCGeometry/src/CSCUngangedStripTopology.h>
#include <Geometry/CSCGeometry/src/CSCGangedStripTopology.h>
#include <Geometry/CSCGeometry/src/CSCWireGroupPackage.h>
#include <FWCore/MessageLogger/interface/MessageLogger.h>
#include "DataFormats/Math/interface/GeantUnits.h"
#include <algorithm>
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &stream, const CSCLayerGeometry &lg)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const CSCLayerGeometry lg 
)

Output operator for members of class.

Definition at line 308 of file CSCLayerGeometry.cc.

References CSCLayerGeometry::apothem, CSCLayerGeometry::hBottomEdge, CSCLayerGeometry::hTopEdge, TrapezoidalPlaneBounds::length(), CSCLayerGeometry::numberOfStrips(), CSCLayerGeometry::numberOfWireGroups(), CSCLayerGeometry::numberOfWires(), CSCLayerGeometry::stripPitch(), TrapezoidalPlaneBounds::thickness(), CSCLayerGeometry::wireAngle(), and CSCLayerGeometry::wirePitch().

308  {
309  stream << "LayerGeometry " << std::endl
310  << "------------- " << std::endl
311  << "numberOfStrips " << lg.numberOfStrips() << std::endl
312  << "numberOfWires " << lg.numberOfWires() << std::endl
313  << "numberOfWireGroups " << lg.numberOfWireGroups() << std::endl
314  << "wireAngle (rad) " << lg.wireAngle() << std::endl
315  // << "wireAngle (deg) " << lg.theWireAngle << std::endl
316  // << "sin(wireAngle) " << lg.theWireSin << std::endl
317  // << "cos(wireAngle) " << lg.theWireCos << std::endl
318  << "wirePitch " << lg.wirePitch() << std::endl
319  << "stripPitch " << lg.stripPitch() << std::endl
320  // << "numberOfWiresPerGroup " << lg.theNumberOfWiresPerGroup << std::endl
321  // << "numberOfWiresInLastGroup " << lg.theNumberOfWiresInLastGroup << std::endl
322  // << "wireOffset " << lg.theWireOffset << std::endl
323  // << "whereStripsMeet " << lg.whereStripsMeet << std::endl;
324  << "hBottomEdge " << lg.hBottomEdge << std::endl
325  << "hTopEdge " << lg.hTopEdge << std::endl
326  << "apothem " << lg.apothem << std::endl
327  << "length (should be 2xapothem) " << lg.length() << std::endl
328  << "thickness " << lg.thickness() << std::endl;
329  return stream;
330 }
float length() const override
int numberOfStrips() const
float stripPitch() const
int numberOfWireGroups() const
float wireAngle() const
int numberOfWires() const
float thickness() const override
float wirePitch() const