ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4THitsVector< _Tp > Class Template Reference

#include <geant4/tree/geant4-10.6-release/source/digits_hits/hits/include/G4THitsVector.hh>

+ Inheritance diagram for G4THitsVector< _Tp >:
+ Collaboration diagram for G4THitsVector< _Tp >:

Public Types

typedef G4VTHitsVector< _Tp,
std::vector< _Tp * > > 
parent_type
 
- Public Types inherited from G4VTHitsVector< _Tp, std::vector< _Tp * > >
typedef G4VTHitsVector< _Tp,
std::vector< _Tp * > > 
this_type
 
typedef _Tp value_type
 
typedef std::vector< _Tp * > vector_type
 
typedef vector_type::iterator iterator
 
typedef vector_type::const_iterator const_iterator
 
typedef std::vector< _Tp * >
::value_type 
store_type
 
typedef std::pair< G4int,
store_type
pair_t
 
typedef std::map< G4int,
store_type
map_t
 
typedef std::unordered_map
< G4int, store_type
uomap_t
 
typedef std::multimap< G4int,
store_type
mmap_t
 
typedef
std::unordered_multimap< G4int,
store_type
uommap_t
 

Public Member Functions

 G4THitsVector (G4int init_size=0)
 
 G4THitsVector (G4String detName, G4String colName, G4int init_size=0)
 
- Public Member Functions inherited from G4VTHitsVector< _Tp, std::vector< _Tp * > >
 G4VTHitsVector (G4int init_size=0)
 
 G4VTHitsVector (G4String detName, G4String colNam, G4int init_size=0)
 
virtual ~G4VTHitsVector ()
 
G4bool operator== (const this_type &rhs) const
 
virtual void DrawAllHits ()
 
virtual void PrintAllHits ()
 
std::vector< _Tp * > * GetContainer () const
 
std::vector< _Tp * >::size_type size ()
 
std::vector< _Tp * >::size_type GetIndex (iterator itr)
 
std::vector< _Tp * >::size_type GetIndex (const_iterator itr) const
 
_Tp * GetObject (G4int idx) const
 
_Tp * GetObject (iterator itr) const
 
const _Tp * GetObject (const_iterator itr) 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::vector< _Tp * > * GetVector () const
 
std::size_t entries () const
 
void clear ()
 
virtual G4VHitGetHit (std::size_t) const
 
virtual std::size_t GetSize () const
 
map_tGetMap () const
 
store_type allocate () const
 
store_type allocate () const
 
store_type allocate () const
 
store_type allocate () const
 
store_type null () const
 
store_type null () const
 
this_typeoperator+= (const G4VTHitsVector< U, VectorU_t > &right) const
 
this_typeoperator+= (const G4VTHitsVector< U, VectorU_t > &right) const
 
this_typeoperator+= (const G4VTHitsMap< U, MapU_t > &right) const
 
this_typeoperator+= (const G4VTHitsMap< U, MapU_t > &right) const
 
std::size_t add (const G4int &key, U *&aHit) const
 
std::size_t add (const G4int &key, U *&aHit) const
 
std::size_t add (const G4int &key, U &aHit) const
 
std::size_t add (const G4int &key, U &aHit) const
 
std::size_t set (const G4int &key, U *&aHit) const
 
std::size_t set (const G4int &key, U *&aHit) const
 
std::size_t set (const G4int &key, U &aHit) const
 
std::size_t set (const G4int &key, U &aHit) const
 
_Tp * at (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
 
 G4HitsCollection ()
 
 G4HitsCollection (G4String detName, G4String colNam)
 
virtual ~G4HitsCollection ()
 
G4bool operator== (const G4HitsCollection &right) const
 
 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
 
G4String GetName ()
 
G4String GetSDname ()
 
virtual G4VHitGetHit (size_t) const
 
 G4VHitsCollection ()
 
 G4VHitsCollection (G4String detName, G4String colNam)
 
virtual ~G4VHitsCollection ()
 
G4bool operator== (const G4VHitsCollection &right) const
 
G4String GetName ()
 
G4String GetSDname ()
 
virtual G4VHitGetHit (size_t) const
 
 G4VHitsCollection ()
 
 G4VHitsCollection (G4String detName, G4String colNam)
 
virtual ~G4VHitsCollection ()
 
G4bool operator== (const G4VHitsCollection &right) const
 
const G4StringGetName () const
 
const G4StringGetSDname () const
 
void SetColID (G4int i)
 
G4int GetColID () const
 
virtual G4VHitGetHit (size_t) const
 

Additional Inherited Members

- Protected Member Functions inherited from G4VTHitsVector< _Tp, std::vector< _Tp * > >
vector_typeGetVector (const G4int &key) const
 
void resize (vector_type *&theHitsVector, const G4int &key) const
 
void resize (vector_type *&theHitsVector, const G4int &key) const
 
void _assign (vector_type *&theHitsVector, const G4int &key, _Tp &val) const
 
void _assign (vector_type *&theHitsVector, const G4int &key, _Tp *&val) const
 
void _assign (vector_type *&theHitsVector, const G4int &key, _Tp &val) const
 
void _assign (vector_type *&theHitsVector, const G4int &key, _Tp *&val) const
 
void _add (vector_type *&theHitsVector, const G4int &key, _Tp &val) const
 
void _add (vector_type *&theHitsVector, const G4int &key, _Tp *&val) const
 
void _add (vector_type *&theHitsVector, const G4int &key, V &val) const
 
void _add (vector_type *&theHitsVector, const G4int &key, V *&val) const
 
void _add (vector_type *&theHitsVector, const G4int &key, _Tp &val) const
 
void _add (vector_type *&theHitsVector, const G4int &key, _Tp *&val) const
 
void _add (vector_type *&theHitsVector, const G4int &key, V &val) const
 
void _add (vector_type *&theHitsVector, const G4int &key, V *&val) const
 
_Tp & get (U &val) const
 
void delete_contents (vector_type *&theHitsVector) const
 
void delete_contents (vector_type *&) const
 
_Tp & get_reference (U &val) const
 
_Tp & get_reference (U &val) const
 
- Protected Attributes inherited from G4HitsCollection
voidtheCollection
 

Detailed Description

template<typename _Tp>
class G4THitsVector< _Tp >

Definition at line 684 of file G4THitsVector.hh.

View newest version in sPHENIX GitHub at line 684 of file G4THitsVector.hh

Member Typedef Documentation

template<typename _Tp >
typedef G4VTHitsVector<_Tp, std::vector<_Tp*> > G4THitsVector< _Tp >::parent_type

Definition at line 687 of file G4THitsVector.hh.

View newest version in sPHENIX GitHub at line 687 of file G4THitsVector.hh

Constructor & Destructor Documentation

template<typename _Tp >
G4THitsVector< _Tp >::G4THitsVector ( G4int  init_size = 0)
inline

Definition at line 690 of file G4THitsVector.hh.

View newest version in sPHENIX GitHub at line 690 of file G4THitsVector.hh

template<typename _Tp >
G4THitsVector< _Tp >::G4THitsVector ( G4String  detName,
G4String  colName,
G4int  init_size = 0 
)
inline

Definition at line 691 of file G4THitsVector.hh.

View newest version in sPHENIX GitHub at line 691 of file G4THitsVector.hh


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