test
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 305 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().

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