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/interface/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

◆ operator<<()

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(), cms::cuda::stream, 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()
311  << 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()
317  << std::endl
318  // << "numberOfWiresPerGroup " << lg.theNumberOfWiresPerGroup << std::endl
319  // << "numberOfWiresInLastGroup " << lg.theNumberOfWiresInLastGroup << std::endl
320  // << "wireOffset " << lg.theWireOffset << std::endl
321  // << "whereStripsMeet " << lg.whereStripsMeet << std::endl;
322  << "hBottomEdge " << lg.hBottomEdge << std::endl
323  << "hTopEdge " << lg.hTopEdge << std::endl
324  << "apothem " << lg.apothem << std::endl
325  << "length (should be 2xapothem) " << lg.length() << std::endl
326  << "thickness " << lg.thickness() << std::endl;
327  return stream;
328 }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
float stripPitch() const
int numberOfStrips() const
int numberOfWireGroups() const
float length() const override
int numberOfWires() const
float wirePitch() const
float thickness() const override
float wireAngle() const