src/BDSSamplerHit.cc

00001 /* BDSIM code.    Version 1.0
00002    Author: Grahame A. Blair, Royal Holloway, Univ. of London.
00003    Last modified 24.7.2002
00004    Copyright (c) 2002 by G.A.Blair.  ALL RIGHTS RESERVED. 
00005 
00006    Modified 22.03.05 by J.C.Carter, Royal Holloway, Univ. of London.
00007    Changed Samplers to account for plane and cylinder types (GABs code)
00008 */
00009 
00010 #include "BDSSamplerHit.hh"
00011 #include "G4ios.hh"
00012 
00013 G4Allocator<BDSSamplerHit> BDSSamplerHitAllocator;
00014 
00015 BDSSamplerHit::BDSSamplerHit(G4String aName,
00016                              G4double init_mom,
00017                              G4double init_x, G4double init_xPrime,
00018                              G4double init_y, G4double init_yPrime,
00019                              G4double init_z, G4double init_zPrime,
00020                              G4double init_t,
00021                              G4double mom,
00022                              G4double x, G4double xPrime,
00023                              G4double y, G4double yPrime,
00024                              G4double z, G4double zPrime,
00025                              G4double t,
00026                              G4double s,
00027                              G4double weight,
00028                              G4int PDGtype, G4int nEvent,
00029                              G4int ParentID, G4int TrackID)
00030   :itsName(aName),
00031    itsInit_Mom(init_mom),
00032    itsInit_X(init_x), itsInit_XPrime(init_xPrime),
00033    itsInit_Y(init_y), itsInit_YPrime(init_yPrime),
00034    itsInit_Z(init_z), itsInit_ZPrime(init_zPrime),
00035    itsInit_T(init_t),
00036    itsMom(mom),
00037    itsX(x), itsXPrime(xPrime),
00038    itsY(y), itsYPrime(yPrime),
00039    itsZ(z), itsZPrime(zPrime),
00040    itsGlobalX(0.0), itsGlobalXPrime(0.0),
00041    itsGlobalY(0.0), itsGlobalYPrime(0.0),
00042    itsGlobalZ(0.0), itsGlobalZPrime(0.0),
00043    itsT(t),
00044    itsS(s),
00045    itsWeight(weight),
00046    itsPDGtype(PDGtype),
00047    itsEventNo(nEvent),
00048    itsParentID(ParentID),
00049    itsTrackID(TrackID)
00050   {;}
00051 
00052 BDSSamplerHit::~BDSSamplerHit()
00053 {;}

Generated on 27 Aug 2013 for BDSIM by  doxygen 1.4.7