Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id$
|
||||
// $Id: FCALPrimaryGeneratorAction.hh 68716 2013-04-05 09:13:43Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -38,36 +38,37 @@
|
||||
|
||||
class G4ParticleGun;
|
||||
class G4Event;
|
||||
class FCALTestbeamSetup;
|
||||
|
||||
class G4DataVector;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
class FCALPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
|
||||
{
|
||||
public:
|
||||
FCALPrimaryGeneratorAction();
|
||||
~FCALPrimaryGeneratorAction();
|
||||
|
||||
public:
|
||||
void GeneratePrimaries(G4Event*);
|
||||
// void SetRndmFlag(G4String val) { rndmFlag = val;}
|
||||
|
||||
private:
|
||||
G4ParticleGun* particleGun; //pointer a to G4 service class
|
||||
|
||||
public:
|
||||
FCALPrimaryGeneratorAction();
|
||||
~FCALPrimaryGeneratorAction();
|
||||
|
||||
private:
|
||||
G4int Ievent;
|
||||
G4double* X;
|
||||
G4double* Y;
|
||||
G4double* Z;
|
||||
G4double* Cos_X;
|
||||
G4double* Cos_Y;
|
||||
G4double* Cos_Z;
|
||||
|
||||
G4int Nevent;
|
||||
public:
|
||||
void GeneratePrimaries(G4Event*);
|
||||
void SetVerbosity(G4int ver){fVerbosity = ver;};
|
||||
|
||||
private:
|
||||
void ReadKinematicFromFile(G4double energy);
|
||||
|
||||
G4ParticleGun* particleGun; //pointer a to G4 service class
|
||||
|
||||
G4DataVector* fX;
|
||||
G4DataVector* fY;
|
||||
G4DataVector* fZ;
|
||||
G4DataVector* fCosX;
|
||||
G4DataVector* fCosY;
|
||||
G4DataVector* fCosZ;
|
||||
|
||||
G4bool isFileRead;
|
||||
G4int fVerbosity;
|
||||
|
||||
size_t nEvent;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user