#include <CSCGeometryBuilder.h>
Public Member Functions | |
void | build (std::shared_ptr< CSCGeometry > theGeometry, const RecoIdealGeometry &rig, const CSCRecoDigiParameters &cscpars) |
Build the geometry. More... | |
CSCGeometryBuilder () | |
Constructor. More... | |
virtual | ~CSCGeometryBuilder () |
Destructor. More... | |
Private Member Functions | |
void | buildChamber (std::shared_ptr< CSCGeometry > theGeometry, CSCDetId chamberId, const std::vector< float > &fpar, const std::vector< float > &fupar, const std::vector< float > >ran, const std::vector< float > &grmat, const CSCWireGroupPackage &wg) |
Build one CSC chamber, and its component layers, and add them to the geometry. More... | |
Private Attributes | |
const std::string | myName |
Build the CSCGeometry from the DDD description.
Definition at line 22 of file CSCGeometryBuilder.h.
CSCGeometryBuilder::CSCGeometryBuilder | ( | ) |
|
virtual |
void CSCGeometryBuilder::build | ( | std::shared_ptr< CSCGeometry > | theGeometry, |
const RecoIdealGeometry & | rig, | ||
const CSCRecoDigiParameters & | cscpars | ||
) |
Build the geometry.
Definition at line 19 of file CSCGeometryBuilder.cc.
References CSCWireGroupPackage::alignmentPinToFirstWire, buildChamber(), CSCWireGroupPackage::consecutiveGroups, fwrapper::cs, RecoIdealGeometry::detIds(), i, createfilelist::int, CSCWireGroupPackage::lengthOfWirePlane, LogTrace, myName, CSCWireGroupPackage::narrowWidthOfWirePlane, CSCWireGroupPackage::numberOfGroups, CSCRecoDigiParameters::pChamberType, CSCRecoDigiParameters::pfupars, CSCRecoDigiParameters::pUserParOffset, CSCRecoDigiParameters::pUserParSize, CSCDetId::ring(), RecoIdealGeometry::rotEnd(), RecoIdealGeometry::rotStart(), RecoIdealGeometry::shapeEnd(), RecoIdealGeometry::shapeStart(), CSCDetId::station(), RecoIdealGeometry::tranEnd(), RecoIdealGeometry::tranStart(), CSCChamberSpecs::whatChamberType(), CSCWireGroupPackage::wideWidthOfWirePlane, CSCWireGroupPackage::wiresInEachGroup, and CSCWireGroupPackage::wireSpacing.
Referenced by CSCGeometryBuilderFromDDD::build(), PCLTrackerAlProducer::createGeometries(), and CSCGeometryESModule::initCSCGeometry_().
|
private |
Build one CSC chamber, and its component layers, and add them to the geometry.
Definition at line 119 of file CSCGeometryBuilder.cc.
References Surface::bounds(), Plane::build(), relativeConstraints::chamber, CSCDetId::chamber(), CSCDetId::endcap(), CSCChamberSpecs::evenLayerGeometry(), relativeConstraints::geom, j, CSCDetId::layer(), LogTrace, myName, CSCChamberSpecs::oddLayerGeometry(), TrapezoidalPlaneBounds::parameters(), CSCDetId::ring(), TkRotation< T >::rotateAxes(), CSCDetId::station(), GeomDet::surface(), Bounds::thickness(), and CSCChamberSpecs::whatChamberType().
Referenced by build().
|
private |
Definition at line 49 of file CSCGeometryBuilder.h.
Referenced by build(), and buildChamber().