CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 "CLHEP/Units/GlobalSystemOfUnits.h"
#include <algorithm>
#include <iostream>
#include <cmath>

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 304 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().

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