00001
00002
00003
00004
00005
00006
00007 #include "BDSEnergyCounterHit.hh"
00008 #include "G4ios.hh"
00009
00010 G4Allocator<BDSEnergyCounterHit> BDSEnergyCounterHitAllocator;
00011
00012 BDSEnergyCounterHit:: BDSEnergyCounterHit(G4int nCopy, G4double Energy, G4double x, G4double y, G4double z, G4String name, G4int partID, G4double weight, G4bool precisionRegion):
00013 itsEnergy(Energy*weight), itsEnergyWeightedX(x*Energy*weight), itsEnergyWeightedY(y*Energy*weight), itsEnergyWeightedZ(z*Energy*weight),
00014 itsX(x), itsY(y), itsZ(z),
00015 itsWeight(weight),
00016 itsCopyNumber(nCopy),
00017 itsPartID(partID),
00018 itsName(name),
00019 itsPrecisionRegion(precisionRegion)
00020 {
00021
00022
00023
00024
00025
00026
00027
00028 }
00029
00030 BDSEnergyCounterHit::~BDSEnergyCounterHit()
00031 {;}