51 fPMTPositionsX(nullptr),fPMTPositionsY(nullptr),fPMTPositionsZ(nullptr)
64 for (
G4int i=0; i<
G4int(positions.size()); ++i) {
77 static G4int hitCID = -1;
115 hit=(*fPMTHitCollection)[i];
120 if (hit ==
nullptr) {
virtual G4int GetCollectionID(G4int i)
static G4bool GetSphereOn()
const G4VTouchable * GetTouchable() const
void SetPmtPositions(const std::vector< G4ThreeVector > &positions)
void SetPMTNumber(G4int n)
virtual void Initialize(G4HCofThisEvent *)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
G4String SensitiveDetectorName
G4ParticleDefinition * GetDefinition() const
G4DataVector * fPMTPositionsY
G4THitsCollection< LXePMTHit > LXePMTHitsCollection
void insert(G4String str)
G4bool ProcessHits_constStep(const G4Step *, G4TouchableHistory *)
G4DataVector * fPMTPositionsZ
G4Track * GetTrack() const
static G4OpticalPhoton * OpticalPhotonDefinition()
G4StepPoint * GetPostStepPoint() const
Definition of the LXeDetectorConstruction class.
G4DataVector * fPMTPositionsX
virtual void EndOfEvent(G4HCofThisEvent *)
LXePMTHitsCollection * fPMTHitCollection
void SetPMTPhysVol(G4VPhysicalVolume *physVol)
G4CollectionNameVector collectionName
virtual G4int GetReplicaNumber(G4int depth=0) const
Definition of the LXePMTSD class.
G4VUserTrackInformation * GetUserInformation() const
void SetPMTPos(G4double x, G4double y, G4double z)
Definition of the LXePMTHit class.
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *)