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

◆ operator<<()

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

Output operator for members of class.

Definition at line 304 of file CSCLayerGeometry.cc.

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 }

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

CSCLayerGeometry::stripPitch
float stripPitch() const
Definition: CSCLayerGeometry.h:162
CSCLayerGeometry::numberOfWires
int numberOfWires() const
Definition: CSCLayerGeometry.h:71
TrapezoidalPlaneBounds::thickness
float thickness() const override
Definition: TrapezoidalPlaneBounds.h:33
cms::cuda::stream
cudaStream_t stream
Definition: HistoContainer.h:57
CSCLayerGeometry::hTopEdge
float hTopEdge
Definition: CSCLayerGeometry.h:311
CSCLayerGeometry::wirePitch
float wirePitch() const
Definition: CSCLayerGeometry.h:139
CSCLayerGeometry::wireAngle
float wireAngle() const
Definition: CSCLayerGeometry.h:134
CSCLayerGeometry::hBottomEdge
float hBottomEdge
Definition: CSCLayerGeometry.h:310
TrapezoidalPlaneBounds::length
float length() const override
Definition: TrapezoidalPlaneBounds.h:27
CSCLayerGeometry::apothem
float apothem
Definition: CSCLayerGeometry.h:312
CSCLayerGeometry::numberOfStrips
int numberOfStrips() const
Definition: CSCLayerGeometry.h:66
CSCLayerGeometry::numberOfWireGroups
int numberOfWireGroups() const
Definition: CSCLayerGeometry.h:76