#include <MuonG4Numbering.h>
Public Member Functions | |
MuonG4Numbering (const MuonGeometryConstants &muonConstants) | |
MuonBaseNumber | PhysicalVolumeToBaseNumber (const G4Step *aStep) |
~MuonG4Numbering () | |
Private Member Functions | |
const bool | copyNoRelevant (const int) |
const int | getCopyNoBaseNo (const int) |
const int | getCopyNoLevel (const int) |
const int | getCopyNoSuperNo (const int) |
Private Attributes | |
int | theBasePart |
int | theLevelPart |
int | theStartCopyNo |
int | theSuperPart |
class to handle the conversion to MuonBaseNumber from tree of G4 copy numbers extracted from G4VPhysicalVolume; needs DDD compatible format of G4 copy numbers; the format itself may in a later version also be defined by DDD constants
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)
Modification:
Definition at line 25 of file MuonG4Numbering.h.
MuonG4Numbering::MuonG4Numbering | ( | const MuonGeometryConstants & | muonConstants | ) |
Definition at line 14 of file MuonG4Numbering.cc.
References gather_cfg::cout, MuonGeometryConstants::getValue(), theBasePart, theLevelPart, theStartCopyNo, and theSuperPart.
|
inline |
Definition at line 28 of file MuonG4Numbering.h.
|
private |
Definition at line 73 of file MuonG4Numbering.cc.
References theLevelPart.
Referenced by PhysicalVolumeToBaseNumber().
|
private |
Definition at line 71 of file MuonG4Numbering.cc.
References theSuperPart.
Referenced by PhysicalVolumeToBaseNumber().
|
private |
Definition at line 67 of file MuonG4Numbering.cc.
References theLevelPart.
Referenced by PhysicalVolumeToBaseNumber().
|
private |
Definition at line 69 of file MuonG4Numbering.cc.
References theLevelPart, and theSuperPart.
Referenced by PhysicalVolumeToBaseNumber().
MuonBaseNumber MuonG4Numbering::PhysicalVolumeToBaseNumber | ( | const G4Step * | aStep | ) |
Definition at line 43 of file MuonG4Numbering.cc.
References copyNoRelevant(), getCopyNoBaseNo(), getCopyNoLevel(), getCopyNoSuperNo(), cuy::ii, EgammaValidation_cff::num, theLevelPart, theStartCopyNo, and theSuperPart.
Referenced by MuonSensitiveDetector::setDetUnitId(), and MuonRPCFrameRotation::transformPoint().
|
private |
Definition at line 40 of file MuonG4Numbering.h.
Referenced by MuonG4Numbering().
|
private |
Definition at line 38 of file MuonG4Numbering.h.
Referenced by copyNoRelevant(), getCopyNoLevel(), getCopyNoSuperNo(), MuonG4Numbering(), and PhysicalVolumeToBaseNumber().
|
private |
Definition at line 41 of file MuonG4Numbering.h.
Referenced by MuonG4Numbering(), and PhysicalVolumeToBaseNumber().
|
private |
Definition at line 39 of file MuonG4Numbering.h.
Referenced by getCopyNoBaseNo(), getCopyNoSuperNo(), MuonG4Numbering(), and PhysicalVolumeToBaseNumber().