#include <MuonDDDNumbering.h>
Public Member Functions | |
MuonBaseNumber | geoHistoryToBaseNumber (const DDGeoHistory &history) |
MuonDDDNumbering (const MuonDDDConstants &muonConstants) | |
~MuonDDDNumbering () | |
Private Member Functions | |
int | getInt (const std::string &s, const DDLogicalPart &part) |
Private Attributes | |
int | theBasePart |
int | theLevelPart |
int | theStartCopyNo |
int | theSuperPart |
class to handle the conversion to MuonBaseNumber from tree of DDD GeoHistory;
in the xml muon constant section one has to define level, super and base constants (eg. 1000,100,1) and the start value of the copy numbers (0 or 1)
Definition at line 23 of file MuonDDDNumbering.h.
MuonDDDNumbering::MuonDDDNumbering | ( | const MuonDDDConstants & | muonConstants | ) |
Definition at line 9 of file MuonDDDNumbering.cc.
References gather_cfg::cout, MuonDDDConstants::getValue(), theBasePart, theLevelPart, theStartCopyNo, and theSuperPart.
|
inline |
Definition at line 27 of file MuonDDDNumbering.h.
MuonBaseNumber MuonDDDNumbering::geoHistoryToBaseNumber | ( | const DDGeoHistory & | history | ) |
Definition at line 45 of file MuonDDDNumbering.cc.
References MuonBaseNumber::addBase(), gather_cfg::cout, end, MuonBaseNumber::getBaseNo(), getInt(), MuonBaseNumber::getLevels(), MuonBaseNumber::getSuperNo(), i, pileupDistInMC::num, unpackBuffers-CaloStage2::offset, GlobalPosition_Frontier_DevDB_cff::tag, theLevelPart, theStartCopyNo, and theSuperPart.
Referenced by CSCGeometryParsFromDD::build(), DTGeometryBuilderFromDDD::buildChamber(), GEMGeometryBuilderFromDDD::buildGeometry(), GEMGeometryParsFromDD::buildGeometry(), ME0GeometryBuilderFromDDD::buildGeometry(), RPCGeometryBuilderFromDDD::buildGeometry(), RPCGeometryParsFromDD::buildGeometry(), DTGeometryParserFromDDD::buildLayer(), DTGeometryBuilderFromDDD::buildLayer(), DTGeometryBuilderFromDDD::buildSuperLayer(), DTGeometryParsFromDD::insertChamber(), DTGeometryParsFromDD::insertLayer(), and DTGeometryParsFromDD::insertSuperLayer().
|
private |
Definition at line 78 of file MuonDDDNumbering.cc.
References gather_cfg::cout, DDfetch(), DDValue::doubles(), DDBase< N, C >::name(), query::result, DDLogicalPart::specifics(), and groupFilesInBlocks::temp.
Referenced by geoHistoryToBaseNumber().
|
private |
Definition at line 37 of file MuonDDDNumbering.h.
Referenced by MuonDDDNumbering().
|
private |
Definition at line 35 of file MuonDDDNumbering.h.
Referenced by geoHistoryToBaseNumber(), and MuonDDDNumbering().
|
private |
Definition at line 38 of file MuonDDDNumbering.h.
Referenced by geoHistoryToBaseNumber(), and MuonDDDNumbering().
|
private |
Definition at line 36 of file MuonDDDNumbering.h.
Referenced by geoHistoryToBaseNumber(), and MuonDDDNumbering().