hep-mc  0.8
Public Member Functions | List of all members
hep::projector< T > Class Template Reference

Detailed Description

template<typename T>
class hep::projector< T >

Interface for generating differential distributions.

Examples:
checkpoints.cpp, checkpoints2.cpp, distributions_example.cpp, and two_dimensional_distribution.cpp.

Public Member Functions

 projector (projector< T > const &)=delete
 
 projector (projector< T > &&)=delete
 
projectoroperator= (projector< T > const &)=delete
 
projectoroperator= (projector< T > &&)=delete
 
 ~projector ()=default
 
void add (std::size_t index, T x, T value)
 
void add (std::size_t index, T x, T y, T value)
 

Constructor & Destructor Documentation

◆ projector() [1/2]

template<typename T>
hep::projector< T >::projector ( projector< T > const &  )
delete

This class has no copy constructor.

◆ projector() [2/2]

template<typename T>
hep::projector< T >::projector ( projector< T > &&  )
delete

This class has no move constructor.

◆ ~projector()

template<typename T>
hep::projector< T >::~projector ( )
default

Destructor.

Member Function Documentation

◆ add() [1/2]

template<typename T>
void hep::projector< T >::add ( std::size_t  index,
x,
value 
)

Adds the integrand denoted by value to the one-dimensional distribution with the corresponding index to the bin which is located at the point specified by x.

◆ add() [2/2]

template<typename T>
void hep::projector< T >::add ( std::size_t  index,
x,
y,
value 
)

Adds the integrand denoted by value to the two-dimensional distribution with the corresponding index to the bin which is located at the point specified by x and y.

◆ operator=() [1/2]

template<typename T>
projector& hep::projector< T >::operator= ( projector< T > const &  )
delete

This class has no assignment operator.

◆ operator=() [2/2]

template<typename T>
projector& hep::projector< T >::operator= ( projector< T > &&  )
delete

This class has no move assignment operator.