#include <PPSDiamondOrganization.h>
Definition at line 11 of file PPSDiamondOrganization.h.
◆ PPSDiamondOrganization()
PPSDiamondOrganization::PPSDiamondOrganization |
( |
| ) |
|
◆ ~PPSDiamondOrganization()
PPSDiamondOrganization::~PPSDiamondOrganization |
( |
| ) |
|
|
overridedefault |
◆ unitID()
uint32_t PPSDiamondOrganization::unitID |
( |
const G4Step * |
aStep | ) |
|
|
overridevirtual |
Implements PPSVDetectorOrganization.
Definition at line 20 of file PPSDiamondOrganization.cc.
21 G4VPhysicalVolume* physVol;
22 const G4VTouchable* touch = aStep->GetPreStepPoint()->GetTouchable();
24 for (
int ii = 0;
ii < touch->GetHistoryDepth();
ii++) {
25 physVol = touch->GetVolume(
ii);
27 if (physVol->GetName() ==
"CTPPS_Diamond_Segment" || physVol->GetName() ==
"CTPPS_UFSD_Segment") {
30 LogDebug(
"PPSSimDiamond") <<
"\n---------------------CTPPS_Diamond_Segment-------------------------------------"
31 "------------------------------";
32 LogDebug(
"PPSSimDiamond") <<
"\t\t\t\t\tDetector name " << physVol->GetName()
33 <<
" copynumber= " << physVol->GetCopyNo();
37 else if (physVol->GetName() ==
"Primary_Vacuum") {
38 int cpy_no = physVol->GetCopyNo();
43 LogDebug(
"PPSSimDiamond") <<
"Diamond"
44 <<
"physVol =" << physVol->GetName() <<
", level=" <<
ii
45 <<
", physVol->GetCopyNo()=" << physVol->GetCopyNo() << std::endl;
References cuy::ii, LogDebug, DetId::rawId(), theArm_, theDetector_, thePlane_, theRoman_pot_, and theStation_.
◆ theArm_
unsigned int PPSDiamondOrganization::theArm_ |
|
private |
◆ theDetector_
unsigned int PPSDiamondOrganization::theDetector_ |
|
private |
◆ thePlane_
unsigned int PPSDiamondOrganization::thePlane_ |
|
private |
◆ theRoman_pot_
unsigned int PPSDiamondOrganization::theRoman_pot_ |
|
private |
◆ theStation_
unsigned int PPSDiamondOrganization::theStation_ |
|
private |