AmpGen 2.1
Loading...
Searching...
No Matches
AmpGen::BinDT Class Reference

Detailed Description

Definition at line 32 of file BinDT.h.

Classes

class  Decision
 
class  EndNode
 
class  INode
 

Public Member Functions

template<class... ARGS>
 BinDT (const ARGS &... args)
 
template<class... ARGS>
 BinDT (const std::vector< double * > &addr, const ARGS &... args)
 
template<class... ARGS>
 BinDT (const EventList &events, const ARGS &... args)
 
template<class iterator_type, class... ARGS>
 BinDT (const iterator_type &begin, const iterator_type &end, const ARGS &... args)
 
 BinDT (const ArgumentPack &args)
 
 BinDT (const EventList &events, const ArgumentPack &args)
 
 BinDT ()=default
 
std::shared_ptr< INodetop ()
 
unsigned int getBinNumber (const Event &evt) const
 
unsigned int getBinNumber (const double *evt) const
 
unsigned int getBin (const Event &evt) const
 
unsigned int getBin (const double *evt) const
 
unsigned int size () const
 
void readFromStream (std::istream &stream)
 
void serialize (std::ofstream &output)
 
void serialize (const std::string &filename)
 
void setQueueOrdering (const std::vector< unsigned > &queueOrdering)
 
std::vector< std::shared_ptr< EndNode > > & nodes ()
 
const std::vector< std::shared_ptr< EndNode > > & const_nodes () const
 
std::vector< std::shared_ptr< EndNode > >::iterator begin ()
 
std::vector< std::shared_ptr< EndNode > >::iterator end ()
 
std::function< std::vector< double >(const Event &)> makeDefaultFunctors ()
 
void refreshQueue (const std::vector< double * > &, std::queue< unsigned > &, const unsigned &)
 
template<class iterator_type>
std::shared_ptr< INodemakeNodes (const iterator_type &begin, const iterator_type &end)
 
std::shared_ptr< INodemakeNodes (const std::vector< double * > &, std::queue< unsigned >, const unsigned &)
 
std::shared_ptr< INodemakeNodes (const std::vector< double * > &)
 
std::shared_ptr< INodemakeNodes (const std::vector< double * > &, const std::vector< double * > &)
 
std::shared_ptr< INodemakeNodes (std::vector< double * >, std::vector< double * >, std::queue< unsigned >, const unsigned &)
 
void setFunctor (const std::function< std::vector< double >(const Event &)> &functors)
 

Constructor & Destructor Documentation

◆ BinDT() [1/7]

template<class... ARGS>
AmpGen::BinDT::BinDT ( const ARGS &... args)
inline

Definition at line 84 of file BinDT.h.

◆ BinDT() [2/7]

template<class... ARGS>
AmpGen::BinDT::BinDT ( const std::vector< double * > & addr,
const ARGS &... args )
inline

Definition at line 88 of file BinDT.h.

◆ BinDT() [3/7]

template<class... ARGS>
AmpGen::BinDT::BinDT ( const EventList & events,
const ARGS &... args )
inline

Definition at line 92 of file BinDT.h.

◆ BinDT() [4/7]

template<class iterator_type, class... ARGS>
AmpGen::BinDT::BinDT ( const iterator_type & begin,
const iterator_type & end,
const ARGS &... args )
inline

Definition at line 97 of file BinDT.h.

◆ BinDT() [5/7]

AmpGen::BinDT::BinDT ( const ArgumentPack & args)
explicit

◆ BinDT() [6/7]

AmpGen::BinDT::BinDT ( const EventList & events,
const ArgumentPack & args )

◆ BinDT() [7/7]

AmpGen::BinDT::BinDT ( )
default

Member Function Documentation

◆ begin()

std::vector< std::shared_ptr< EndNode > >::iterator AmpGen::BinDT::begin ( )
inline

Definition at line 118 of file BinDT.h.

◆ const_nodes()

const std::vector< std::shared_ptr< EndNode > > & AmpGen::BinDT::const_nodes ( ) const
inline

Definition at line 117 of file BinDT.h.

◆ end()

std::vector< std::shared_ptr< EndNode > >::iterator AmpGen::BinDT::end ( )
inline

Definition at line 119 of file BinDT.h.

◆ getBin() [1/2]

unsigned int AmpGen::BinDT::getBin ( const double * evt) const

◆ getBin() [2/2]

unsigned int AmpGen::BinDT::getBin ( const Event & evt) const

◆ getBinNumber() [1/2]

unsigned int AmpGen::BinDT::getBinNumber ( const double * evt) const

◆ getBinNumber() [2/2]

unsigned int AmpGen::BinDT::getBinNumber ( const Event & evt) const

◆ makeDefaultFunctors()

std::function< std::vector< double >(const Event &)> AmpGen::BinDT::makeDefaultFunctors ( )

◆ makeNodes() [1/5]

template<class iterator_type>
std::shared_ptr< INode > AmpGen::BinDT::makeNodes ( const iterator_type & begin,
const iterator_type & end )
inline

Definition at line 124 of file BinDT.h.

◆ makeNodes() [2/5]

std::shared_ptr< INode > AmpGen::BinDT::makeNodes ( const std::vector< double * > & )

◆ makeNodes() [3/5]

std::shared_ptr< INode > AmpGen::BinDT::makeNodes ( const std::vector< double * > & ,
const std::vector< double * > &  )

◆ makeNodes() [4/5]

std::shared_ptr< INode > AmpGen::BinDT::makeNodes ( const std::vector< double * > & ,
std::queue< unsigned > ,
const unsigned &  )

◆ makeNodes() [5/5]

std::shared_ptr< INode > AmpGen::BinDT::makeNodes ( std::vector< double * > ,
std::vector< double * > ,
std::queue< unsigned > ,
const unsigned &  )

◆ nodes()

std::vector< std::shared_ptr< EndNode > > & AmpGen::BinDT::nodes ( )
inline

Definition at line 116 of file BinDT.h.

◆ readFromStream()

void AmpGen::BinDT::readFromStream ( std::istream & stream)

◆ refreshQueue()

void AmpGen::BinDT::refreshQueue ( const std::vector< double * > & ,
std::queue< unsigned > & ,
const unsigned &  )

◆ serialize() [1/2]

void AmpGen::BinDT::serialize ( const std::string & filename)

◆ serialize() [2/2]

void AmpGen::BinDT::serialize ( std::ofstream & output)

◆ setFunctor()

void AmpGen::BinDT::setFunctor ( const std::function< std::vector< double >(const Event &)> & functors)
inline

Definition at line 142 of file BinDT.h.

◆ setQueueOrdering()

void AmpGen::BinDT::setQueueOrdering ( const std::vector< unsigned > & queueOrdering)
inline

Definition at line 115 of file BinDT.h.

◆ size()

unsigned int AmpGen::BinDT::size ( ) const

◆ top()

std::shared_ptr< INode > AmpGen::BinDT::top ( )
inline

Definition at line 106 of file BinDT.h.


The documentation for this class was generated from the following file: