![]() |
FairShip
|
#include <CosmicsGenerator.h>
Public Member Functions | |
| CosmicsGenerator ()=default | |
| ~CosmicsGenerator () override | |
| Bool_t | ReadEvent (FairPrimaryGenerator *) override |
| virtual Bool_t | Init (Bool_t largeMom) |
| Bool_t | Init (const char *inFile) override |
| Bool_t | Init (const char *inFile, int startEvent) override |
| virtual Bool_t | Init (const std::vector< std::string > &inFiles, int startNumber) |
| virtual Bool_t | Init (const std::vector< std::string > &inFiles) |
| Public Member Functions inherited from SHiP::Generator | |
| Generator ()=default | |
| ~Generator () override | |
| virtual void | UseExternalFile (std::string x, Int_t i) |
| virtual void | UseExternalFile (std::vector< std::string > &inFiles, Int_t i) |
| void | SetMaxTheta (Double_t thetaX, Double_t thetaY) |
| Int_t | nrOfGeoRejections () const |
| Long64_t | GetCounter (const std::string &name) const |
| void | SetCounter (const std::string &name, Long64_t value) |
| void | IncrementCounter (const std::string &name, Long64_t delta=1) |
Public Attributes | |
| double | z0 |
| double | yBox |
| double | xBox |
| double | zBox |
| double | xdist |
| double | zdist |
| double | minE |
| int | n_EVENTS |
Protected Member Functions | |
| void | GenerateDynamics () |
| Bool_t | DetectorBox () |
| Protected Member Functions inherited from SHiP::Generator | |
| bool | IsInVesselAcceptance (Double_t px, Double_t py, Double_t pz) const |
Protected Attributes | |
| double | P |
| double | px |
| double | py |
| double | pz |
| double | x |
| double | y |
| double | z |
| double | weighttest |
| double | weight |
| double | mass |
| double | FluxIntegral |
| double | theta |
| int | PID |
| int | nInside |
| int | nTest |
| Bool_t | high |
| Protected Attributes inherited from SHiP::Generator | |
| std::optional< std::string > | fextFile |
| Int_t | firstEvent = 0 |
| Double_t | fMaxThetaX = 0 |
| Double_t | fMaxThetaY = 0 |
| bool | fUseVesselAcceptance = false |
| Int_t | fnGeoRejects = 0 |
| std::unordered_map< std::string, int64_t > | fCounters |
Private Attributes | |
| Co3Rng * | fRandomEngine = nullptr |
Definition at line 48 of file CosmicsGenerator.h.
|
default |
constructor,destructor
|
inlineoverride |
Definition at line 52 of file CosmicsGenerator.h.
|
protected |
Definition at line 59 of file CosmicsGenerator.cxx.
|
protected |
Definition at line 73 of file CosmicsGenerator.cxx.
|
virtual |
Definition at line 91 of file CosmicsGenerator.cxx.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements SHiP::Generator.
Definition at line 72 of file CosmicsGenerator.h.
|
inlinevirtual |
public method ReadEvent
Reimplemented from SHiP::Generator.
Definition at line 33 of file Generator.h.
|
inlinevirtual |
public method ReadEvent
Reimplemented from SHiP::Generator.
Definition at line 27 of file Generator.h.
|
override |
Definition at line 172 of file CosmicsGenerator.cxx.
|
protected |
Definition at line 84 of file CosmicsGenerator.h.
|
private |
Definition at line 81 of file CosmicsGenerator.h.
|
protected |
Definition at line 86 of file CosmicsGenerator.h.
|
protected |
Definition at line 84 of file CosmicsGenerator.h.
| double CosmicsGenerator::minE |
Definition at line 77 of file CosmicsGenerator.h.
| int CosmicsGenerator::n_EVENTS |
Definition at line 78 of file CosmicsGenerator.h.
|
protected |
Definition at line 85 of file CosmicsGenerator.h.
|
protected |
Definition at line 85 of file CosmicsGenerator.h.
|
protected |
Definition at line 84 of file CosmicsGenerator.h.
|
protected |
Definition at line 85 of file CosmicsGenerator.h.
|
protected |
Definition at line 84 of file CosmicsGenerator.h.
|
protected |
Definition at line 84 of file CosmicsGenerator.h.
|
protected |
Definition at line 84 of file CosmicsGenerator.h.
|
protected |
Definition at line 84 of file CosmicsGenerator.h.
|
protected |
Definition at line 84 of file CosmicsGenerator.h.
|
protected |
Definition at line 84 of file CosmicsGenerator.h.
|
protected |
Definition at line 84 of file CosmicsGenerator.h.
| double CosmicsGenerator::xBox |
Definition at line 77 of file CosmicsGenerator.h.
| double CosmicsGenerator::xdist |
Definition at line 77 of file CosmicsGenerator.h.
|
protected |
Definition at line 84 of file CosmicsGenerator.h.
| double CosmicsGenerator::yBox |
Definition at line 77 of file CosmicsGenerator.h.
|
protected |
Definition at line 84 of file CosmicsGenerator.h.
| double CosmicsGenerator::z0 |
Definition at line 77 of file CosmicsGenerator.h.
| double CosmicsGenerator::zBox |
Definition at line 77 of file CosmicsGenerator.h.
| double CosmicsGenerator::zdist |
Definition at line 77 of file CosmicsGenerator.h.