2 #ifndef LBNEPrimaryGeneratorAction_h 3 #define LBNEPrimaryGeneratorAction_h 1 5 #include "G4VUserPrimaryGeneratorAction.hh" 6 #include "G4ParticleGun.hh" 7 #include "Randomize.hh" 8 #include "G4ThreeVector.hh"
void SetPolarAngleGeantino(double r)
G4double fBeamBetaFunctionY
void SetBeamBetaFunctionY(G4double t)
void SetBeamEmittanceX(G4double t)
void SetBeamOffsetY(G4double y)
G4bool OpenNtupleFLUKAASCII(G4String ntupleName)
G4ThreeVector fMomentumForMuGeantino
double GetBeamEmittanceY() const
void SetCorrectForAngle(G4bool aBool)
G4double fRadiusAnnularBeam
std::ifstream fFlukaASCII
G4bool fUseJustSigmaCoord
LBNEPrimaryGeneratorAction()
void SetBeamPhi(G4double phi)
void GenerateBeamFromInput(G4Event *anEvent)
void SetBeamSigmaX(G4double x)
double GetBeamSigmaX() const
double GetBetaFunctionvsBeamEnergy(double pz)
void SetYOriginForMuGeantinoScan(G4ThreeVector v)
double GetBeamSigmaY() const
void SetPtForMuGeantinoScan(G4ThreeVector v)
G4ThreeVector GetProtonOrigin()
void SetUseCourantSniderParams(G4bool t)
LBNERunManager * fRunManager
void SetBeamSigmaY(G4double y)
G4ThreeVector GetProtonMomentum()
void SetAngleForMuGeantinoScan(G4ThreeVector v)
~LBNEPrimaryGeneratorAction()
void SetBeamMaxValX(G4double x)
double GetBeamEmittanceX() const
void SetBeamMaxValY(G4double y)
G4ThreeVector GetMomentumForMuGeantinoScan() const
G4double fZOriginGeantino
void SetZOriginGeantino(double v)
G4ThreeVector GetParticlePosition()
G4bool fUseCourantSniderParams
TF1 * theModBesselFunc1rstKind
void SetBeamTheta(G4double theta)
double GetBeamBetaFunctionX() const
G4double fBeamBetaFunctionAt120
G4ThreeVector GetPtForMuGeantinoScan() const
G4double fPolarAngleGeantinoMin
G4double fPolarAngleGeantino
double GetBeamMaxValY() const
void SetBeamBetaFunctionX(G4double t)
void SetBeamEmittanceY(G4double t)
G4bool OpenNtuple(G4String ntupleName)
void SetPolarAngleGeantinoMin(double r)
G4double fBeamBetaFuncGenX
G4ThreeVector GetYOriginForMuGeantinoScan() const
void SetUseGeantino(bool t)
void SetMomentumForMuGeantinoScan(G4ThreeVector v)
bool GetUseChargedGeantino() const
G4ThreeVector fParticlePosition
G4ThreeVector fParticleMomentum
G4double fProtonMomentumMag
void GeneratePrimaries(G4Event *anEvent)
G4double fSigmaForAnnularbeam
bool GetUseGeantino() const
G4ParticleGun * fParticleGun
void SetUseMuonGeantino(bool t)
double GetBeamAngleTheta() const
G4double fBeamAlphaFunctionY
void Geantino(G4Event *anEvent)
G4ParticleGun * GetParticleGun()
G4bool GetUseCourantSniderParams()
void SetSigmaZOriginGeantino(double v)
G4ThreeVector fYOriginForMuGeantino
G4ThreeVector fPtForMuGeantino
G4double fBeamBetaFunctionX
G4ThreeVector GetParticleMomentum()
double GetBeamBetaFunctionY() const
G4bool GetUseJustSigmaCoord()
void SetRadiusAnnularBeam(G4double t)
G4double fBeamBetaFunctionAt80
void SetBeamOffsetX(G4double x)
G4bool fUseChargedGeantino
double GetBeamOffsetX() const
G4ThreeVector GetZOriginForMuGeantinoScan() const
void SetBeamOnTarget(G4bool aBool)
void SetProtonMomentum(G4double p)
double GetBeamOffsetY() const
void SetUseChargedGeantino(bool t)
G4ThreeVector fZOriginForMuGeantino
G4ThreeVector fProtonIntVertex
LBNEPrimaryMessenger * fPrimaryMessenger
size_t maxLengthForFlukaLine
G4ThreeVector GetProtonIntVertex()
G4ThreeVector fProtonOrigin
double GetBeamMaxValX() const
void SetZOriginForMuGeantinoScan(G4ThreeVector v)
G4ThreeVector GetAngleForMuGeantinoScan() const
bool GetUseMuonGeantino() const
G4double fBeamAlphaFunctionX
G4double fBeamBetaFunctionAt60
G4double fBeamBetaFuncGenY
void GenerateG4ProtonBeam(G4Event *anEvent)
G4double fSigmaZOriginGeantino
void GenerateFlukaPrimary(G4Event *anEvent)
double GetBeamOffsetZ() const
G4ThreeVector fProtonMomentum
void SetUseJustSigmaCoord(G4bool t)
G4ThreeVector fAngleForMuGeantino