MINT2
Public Member Functions | Private Member Functions | Private Attributes | List of all members
DalitzSet< T > Class Template Reference

#include <DalitzSet.h>

Inheritance diagram for DalitzSet< T >:
MINT::PolymorphMap< DalitzCoordSet, MINT::counted_ptr< T > >

Public Member Functions

 DalitzSet ()
 
 DalitzSet (const DalitzSet< T > &other)
 
const std::string & name () const
 
virtual ~DalitzSet ()
 
- Public Member Functions inherited from MINT::PolymorphMap< DalitzCoordSet, MINT::counted_ptr< T > >
 PolymorphMap ()
 
 PolymorphMap (const PolymorphMap &other)
 
 PolymorphMap (const typename std::map< DalitzCoordSet, MINT::counted_ptr< T > > &other)
 
virtual ~PolymorphMap ()
 
std::map< DalitzCoordSet, MINT::counted_ptr< T > > & theMap ()
 
const std::map< DalitzCoordSet, MINT::counted_ptr< T > > & theMap () const
 
MINT::counted_ptr< T > & operator[] (const DalitzCoordSet &k)
 
const MINT::counted_ptr< T > & operator[] (const DalitzCoordSet &k) const
 
std::map< DalitzCoordSet, MINT::counted_ptr< T > >::iterator begin ()
 
std::map< DalitzCoordSet, MINT::counted_ptr< T > >::const_iterator begin () const
 
std::map< DalitzCoordSet, MINT::counted_ptr< T > >::iterator end ()
 
std::map< DalitzCoordSet, MINT::counted_ptr< T > >::const_iterator end () const
 
std::map< DalitzCoordSet, MINT::counted_ptr< T > >::iterator find (const DalitzCoordSet &c)
 
std::map< DalitzCoordSet, MINT::counted_ptr< T > >::const_iterator find (const DalitzCoordSet &c) const
 
void insert (typename std::map< DalitzCoordSet, MINT::counted_ptr< T > >::const_iterator first, typename std::map< DalitzCoordSet, MINT::counted_ptr< T > >::const_iterator last)
 
unsigned int size () const
 
bool empty () const
 
PolymorphMap< DalitzCoordSet, MINT::counted_ptr< T > > & operator= (const PolymorphMap &other)
 
void clear ()
 
void resize (unsigned int N)
 
void resize (unsigned int N, const MINT::counted_ptr< T > &c)
 
 operator const typename std::map< DalitzCoordSet, MINT::counted_ptr< T > > & () const
 
 operator typename std::map< DalitzCoordSet, MINT::counted_ptr< T > > & ()
 
bool operator== (const MINT::PolymorphMap< DalitzCoordSet, MINT::counted_ptr< T > > &v2) const
 
bool operator!= (const MINT::PolymorphMap< DalitzCoordSet, MINT::counted_ptr< T > > &v2) const
 
bool operator< (const MINT::PolymorphMap< DalitzCoordSet, MINT::counted_ptr< T > > &v2) const
 
bool operator> (const MINT::PolymorphMap< DalitzCoordSet, MINT::counted_ptr< T > > &v2) const
 

Private Member Functions

void makeEmptyContainer (const DalitzEventPattern &pat)
 
const std::string & makeName ()
 

Private Attributes

std::string _name
 

Additional Inherited Members

- Protected Attributes inherited from MINT::PolymorphMap< DalitzCoordSet, MINT::counted_ptr< T > >
std::map< DalitzCoordSet, MINT::counted_ptr< T > > _map
 

Detailed Description

template<typename T>
class DalitzSet< T >

Definition at line 16 of file DalitzSet.h.

Constructor & Destructor Documentation

◆ DalitzSet() [1/2]

template<typename T>
DalitzSet< T >::DalitzSet ( )
inline

Definition at line 36 of file DalitzSet.h.

36 { makeName();}
const std::string & makeName()
Definition: DalitzSet.h:30

◆ DalitzSet() [2/2]

template<typename T>
DalitzSet< T >::DalitzSet ( const DalitzSet< T > &  other)
inline

Definition at line 37 of file DalitzSet.h.

39  {
40  makeName();
41  }
const std::string & makeName()
Definition: DalitzSet.h:30

◆ ~DalitzSet()

template<typename T>
virtual DalitzSet< T >::~DalitzSet ( )
inlinevirtual

Definition at line 62 of file DalitzSet.h.

62 {}

Member Function Documentation

◆ makeEmptyContainer()

template<typename T>
void DalitzSet< T >::makeEmptyContainer ( const DalitzEventPattern pat)
inlineprivate

Definition at line 18 of file DalitzSet.h.

18  {
19  int nDaughters = pat.numDaughters();
20  AllPossibleSij sijList(nDaughters);
21 
22  for(namedVMap::const_iterator it = sijList.begin();
23  it != sijList.end(); it++){
24  (*this)[it->second] = MINT::counted_ptr<T>(0);
25  }
26 
27  return;
28  }

◆ makeName()

template<typename T>
const std::string& DalitzSet< T >::makeName ( )
inlineprivate

Definition at line 30 of file DalitzSet.h.

30  {
31  _name = "DalitzSetOfSomething";
32  return _name;
33  }
std::string _name
Definition: DalitzSet.h:17

◆ name()

template<typename T>
const std::string& DalitzSet< T >::name ( ) const
inline

Definition at line 60 of file DalitzSet.h.

60 {return _name;}
std::string _name
Definition: DalitzSet.h:17

Member Data Documentation

◆ _name

template<typename T>
std::string DalitzSet< T >::_name
private

Definition at line 17 of file DalitzSet.h.


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