13 #ifndef SIMB_EVTTIMEFNALBEAM_H 14 #define SIMB_EVTTIMEFNALBEAM_H 42 virtual double TimeOffset(std::vector<double> bi);
79 #endif //SIMB_EVTTIMEFNALBEAM_H virtual ~EvtTimeFNALBeam()
void SetBucketTimeSigma(double val)
void SetBatchIntensities(std::vector< double > bi)
int GetNFilledBucketsPerBatch() const
double fGlobalOffset
always displaced by this (in ns)
double GetBucketTimeSigma() const
configurable FNAL Beam time distribution
EvtTimeFNALBeam(const std::string &config)
void SetNBucketsPerBatch(int ival)
double fBucketTimeSigma
how wide is distribution in bucket
interface for event time distribution
void SetGlobalOffset(double val)
void SetNFilledBucketsPerBatch(int ival)
int GetNBucketsPerBatch() const
virtual void PrintConfig(bool verbose=true)
provide a means of printing the configuration
void CalculateCPDF(std::vector< double > batchi)
virtual void Config(const std::string &config)
double GetTimeBetweenBuckets() const
int fNFilledBucketsPerBatch
virtual double TimeOffset()
double GetGlobalOffset() const
std::vector< int > fDisallowedBatchMask
disallow individual batches
double fTimeBetweenBuckets
time between buckets
Physics generators for neutrinos, cosmic rays, and others.
std::vector< double > fCummulativeBatchPDF
summed prob for batches
void SetDisallowedBatchMask(std::vector< int > disallow)
void SetTimeBetweenBuckets(double val)
specific methods for this variant