Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4THitsUnorderedMultiMap< _Tp > Class Template Reference

#include <G4THitsMap.hh>

+ Inheritance diagram for G4THitsUnorderedMultiMap< _Tp >:

Public Types

typedef G4VTHitsMap< _Tp, std::unordered_multimap< G4int, _Tp * > > parent_type
 
- Public Types inherited from G4VTHitsMap< _Tp, std::unordered_multimap< G4int, _Tp * > >
typedef G4VTHitsMap< _Tp, std::unordered_multimap< G4int, _Tp * > > this_type
 
typedef _Tp value_type
 
typedef std::unordered_multimap< G4int, _Tp * > map_type
 
typedef map_type::iterator iterator
 
typedef map_type::const_iterator const_iterator
 

Public Member Functions

 G4THitsUnorderedMultiMap ()
 
 G4THitsUnorderedMultiMap (G4String detName, G4String colName)
 
- Public Member Functions inherited from G4VTHitsMap< _Tp, std::unordered_multimap< G4int, _Tp * > >
 G4VTHitsMap ()
 
 G4VTHitsMap (G4String detName, G4String colNam)
 
virtual ~G4VTHitsMap ()
 
G4bool operator== (const G4VTHitsMap< _Tp, std::unordered_multimap< G4int, _Tp * > > &right) const
 
this_typeoperator+= (const G4VTHitsMap< U, MapU_t > &right) const
 
virtual void DrawAllHits ()
 
virtual void PrintAllHits ()
 
std::unordered_multimap< G4int, _Tp * > * GetContainer () const
 
Map_t::size_type size ()
 
Map_t::size_type GetIndex (iterator itr)
 
Map_t::size_type GetIndex (const_iterator itr) const
 
_Tp * GetObject (G4int idx) const
 
_Tp * GetObject (G4int idx) const
 
_Tp * GetObject (iterator itr) const
 
const _Tp * GetObject (const_iterator itr) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
std::unordered_multimap< G4int, _Tp * > * GetMap () const
 
size_t entries () const
 
void clear ()
 
virtual G4VHitGetHit (size_t) const
 
virtual size_t GetSize () const
 
size_t add (const G4int &key, U *&aHit) const
 
size_t add (const G4int &key, U *&aHit) const
 
size_t add (const G4int &key, U *&aHit) const
 
size_t add (const G4int &key, U &aHit) const
 
size_t add (const G4int &key, U &aHit) const
 
size_t add (const G4int &key, U &aHit) const
 
size_t add (const G4int &key, U &aHit) const
 
size_t set (const G4int &key, U *&aHit) const
 
size_t set (const G4int &key, U *&aHit) const
 
size_t set (const G4int &key, U *&aHit) const
 
size_t set (const G4int &key, U *&aHit) const
 
size_t set (const G4int &key, U &aHit) const
 
size_t set (const G4int &key, U &aHit) const
 
size_t set (const G4int &key, U &aHit) const
 
size_t set (const G4int &key, U &aHit) const
 
_Tp * operator[] (G4int key) const
 
_Tp * operator[] (G4int key) const
 
- Public Member Functions inherited from G4HitsCollection
 G4HitsCollection ()
 
 G4HitsCollection (G4String detName, G4String colNam)
 
virtual ~G4HitsCollection ()
 
G4bool operator== (const G4HitsCollection &right) const
 
- Public Member Functions inherited from G4VHitsCollection
 G4VHitsCollection ()
 
 G4VHitsCollection (G4String detName, G4String colNam)
 
virtual ~G4VHitsCollection ()
 
G4bool operator== (const G4VHitsCollection &right) const
 
virtual void DrawAllHits ()
 
virtual void PrintAllHits ()
 
const G4StringGetName () const
 
const G4StringGetSDname () const
 
void SetColID (G4int i)
 
G4int GetColID () const
 
virtual G4VHitGetHit (size_t) const
 
virtual size_t GetSize () const
 

Additional Inherited Members

- Protected Attributes inherited from G4HitsCollection
void * theCollection
 
- Protected Attributes inherited from G4VHitsCollection
G4String collectionName
 
G4String SDname
 
G4int colID
 

Detailed Description

template<typename _Tp>
class G4THitsUnorderedMultiMap< _Tp >

Definition at line 644 of file G4THitsMap.hh.

Member Typedef Documentation

◆ parent_type

template<typename _Tp >
typedef G4VTHitsMap<_Tp, std::unordered_multimap<G4int, _Tp*> > G4THitsUnorderedMultiMap< _Tp >::parent_type

Definition at line 648 of file G4THitsMap.hh.

Constructor & Destructor Documentation

◆ G4THitsUnorderedMultiMap() [1/2]

template<typename _Tp >
G4THitsUnorderedMultiMap< _Tp >::G4THitsUnorderedMultiMap ( )
inline

Definition at line 651 of file G4THitsMap.hh.

652 : parent_type()
653 {}
G4VTHitsMap< _Tp, std::unordered_multimap< G4int, _Tp * > > parent_type
Definition: G4THitsMap.hh:648

◆ G4THitsUnorderedMultiMap() [2/2]

template<typename _Tp >
G4THitsUnorderedMultiMap< _Tp >::G4THitsUnorderedMultiMap ( G4String  detName,
G4String  colName 
)
inline

Definition at line 654 of file G4THitsMap.hh.

655 : parent_type(detName, colName)
656 {}

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