MCBooster  1.0.1
Tool to generate MC phase space samples in parallel.
Generate.h File Reference

Implements the struct Events and the class PhaseSpace. More...

#include <vector>
#include <string>
#include <map>
#include <omp.h>
#include <iostream>
#include <ostream>
#include <algorithm>
#include <time.h>
#include <stdio.h>
#include <mcbooster/Config.h>
#include <mcbooster/Vector3R.h>
#include <mcbooster/Vector4R.h>
#include <mcbooster/GTypes.h>
#include <mcbooster/GContainers.h>
#include <mcbooster/functors/DecayMother.h>
#include <mcbooster/functors/DecayMothers.h>
#include <mcbooster/functors/RandGen.h>
#include <mcbooster/functors/FlagAcceptReject.h>
#include <mcbooster/functors/IsAccepted.h>
#include <mcbooster/strided_iterator.h>
#include <thrust/copy.h>
#include <thrust/device_vector.h>
#include <thrust/host_vector.h>
#include <thrust/transform.h>
#include <thrust/iterator/zip_iterator.h>
#include <thrust/iterator/counting_iterator.h>
#include <thrust/sequence.h>
#include <thrust/for_each.h>
#include <thrust/tuple.h>
#include <thrust/extrema.h>
#include <thrust/count.h>
#include <thrust/fill.h>
#include <thrust/sort.h>
#include <thrust/system/omp/execution_policy.h>
+ Include dependency graph for Generate.h:

Go to the source code of this file.

Classes

struct  MCBooster::Events
 Events is a container struct to hold all the information corresponding the generated events. More...
 
class  MCBooster::PhaseSpace
 Implementation of the event generator. More...
 

Namespaces

 MCBooster
 

Macros

#define TIMER   CLOCK_REALTIME
 
#define CUDA_CHECK_RETURN(value)
 

Functions

timespec MCBooster::time_diff (timespec start, timespec end)
 Function to calculate time intervals in seconds. More...
 

Macro Definition Documentation

#define CUDA_CHECK_RETURN (   value)
Value:
{ \
cudaError_t _m_cudaStat = value; \
if (_m_cudaStat != cudaSuccess) { \
fprintf(stderr, "Error %s at line %d in file %s\n", \
cudaGetErrorString(_m_cudaStat), __LINE__, __FILE__); \
exit(1); \
} }

Definition at line 78 of file Generate.h.

Referenced by MCBooster::PhaseSpace::Export(), and MCBooster::PhaseSpace::ExportUnweighted().

#define TIMER   CLOCK_REALTIME

Definition at line 76 of file Generate.h.

Referenced by MCBooster::PhaseSpace::Generate().