#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.
References DetId::rawId(), theArm_, theDetector_, thePlane_, theRoman_pot_, and theStation_.
21 const G4VTouchable* touch = aStep->GetPreStepPoint()->GetTouchable();
22 G4VPhysicalVolume* physVol = touch->GetVolume(0);
23 int coNum = physVol->GetCopyNo();
24 edm::LogVerbatim(
"PPSSimDiamond") <<
" %%%% PhysVol: " << physVol->GetName() <<
" coNum=" << coNum;
28 G4VPhysicalVolume* physVolVac = touch->GetVolume(3);
29 if (
nullptr == physVolVac) {
30 edm::LogError(
"PPSSimDiamond") <<
"Physical volume Primary_Vacuum not found for " << physVol->GetName()
31 <<
"; cannot determine CTPPSDiamondDetId.";
33 int cpy_no = physVolVac->GetCopyNo();
Log< level::Info, true > LogVerbatim
unsigned int theRoman_pot_
Log< level::Error, false > LogError
unsigned int theDetector_
constexpr uint32_t rawId() const
get the raw id
Detector ID class for CTPPS Timing Diamond detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bit...
◆ 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 |