Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: LXePMTSD.cc 73915 2013-09-17 07:32:26Z gcosmo $
|
||||
//
|
||||
/// \file optical/LXe/src/LXePMTSD.cc
|
||||
/// \brief Implementation of the LXePMTSD class
|
||||
//
|
||||
@@ -57,6 +59,17 @@ LXePMTSD::~LXePMTSD() {}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void LXePMTSD::SetPmtPositions(const std::vector<G4ThreeVector>& positions)
|
||||
{
|
||||
for (G4int i=0; i<G4int(positions.size()); ++i) {
|
||||
if(fPMTPositionsX)fPMTPositionsX->push_back(positions[i].x());
|
||||
if(fPMTPositionsY)fPMTPositionsY->push_back(positions[i].y());
|
||||
if(fPMTPositionsZ)fPMTPositionsZ->push_back(positions[i].z());
|
||||
}
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void LXePMTSD::Initialize(G4HCofThisEvent* hitsCE){
|
||||
fPMTHitCollection = new LXePMTHitsCollection
|
||||
(SensitiveDetectorName,collectionName[0]);
|
||||
|
||||
Reference in New Issue
Block a user