ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Public Types | |
typedef G4atomic< T > | value_type |
typedef value_type * | mapped_type |
typedef std::map< G4int, mapped_type > | container_type |
typedef container_type::iterator | iterator |
typedef container_type::const_iterator | const_iterator |
Private Attributes | |
container_type * | theCollection |
G4Mutex | fMutex |
Additional Inherited Members | |
Protected Attributes inherited from G4VHitsCollection | |
G4String | collectionName |
G4String | SDname |
G4int | colID |
This is an implementation of G4THitsMap<T> where the underlying type is G4atomic<T>, not just T. A static assert is provided to ensure that T is fundamental. This class should be used in lieu of G4THitsMap<T> when memory is a concern. Atomics are thread-safe and generally faster that mutexes (as long as the STL implementation is lock-free) but the synchronization does not come without a cost. If performance is the primary concern, use G4THitsMap<T> in thread-local instances.
Definition at line 72 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 72 of file G4TAtomicHitsMap.hh
typedef container_type::const_iterator G4TAtomicHitsMap< T >::const_iterator |
Definition at line 83 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 83 of file G4TAtomicHitsMap.hh
typedef std::map<G4int, mapped_type> G4TAtomicHitsMap< T >::container_type |
Definition at line 81 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 81 of file G4TAtomicHitsMap.hh
typedef container_type::iterator G4TAtomicHitsMap< T >::iterator |
Definition at line 82 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 82 of file G4TAtomicHitsMap.hh
typedef value_type* G4TAtomicHitsMap< T >::mapped_type |
Definition at line 80 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 80 of file G4TAtomicHitsMap.hh
typedef G4atomic<T> G4TAtomicHitsMap< T >::value_type |
Definition at line 76 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 76 of file G4TAtomicHitsMap.hh
G4TAtomicHitsMap< T >::G4TAtomicHitsMap | ( | ) |
Definition at line 156 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 156 of file G4TAtomicHitsMap.hh
G4TAtomicHitsMap< T >::G4TAtomicHitsMap | ( | G4String | detName, |
G4String | colNam | ||
) |
Definition at line 161 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 161 of file G4TAtomicHitsMap.hh
|
virtual |
Definition at line 168 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 168 of file G4TAtomicHitsMap.hh
|
inline |
Definition at line 223 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 223 of file G4TAtomicHitsMap.hh
|
inline |
Definition at line 238 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 238 of file G4TAtomicHitsMap.hh
|
inline |
Definition at line 136 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 136 of file G4TAtomicHitsMap.hh
Referenced by TSRunAction::EndOfRunAction().
|
inline |
Definition at line 139 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 139 of file G4TAtomicHitsMap.hh
|
inline |
Definition at line 142 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 142 of file G4TAtomicHitsMap.hh
|
inline |
Definition at line 143 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 143 of file G4TAtomicHitsMap.hh
|
inline |
Definition at line 294 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 294 of file G4TAtomicHitsMap.hh
|
virtual |
Reimplemented from G4VHitsCollection.
Definition at line 283 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 283 of file G4TAtomicHitsMap.hh
|
inline |
Definition at line 137 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 137 of file G4TAtomicHitsMap.hh
Referenced by TSRunAction::EndOfRunAction().
|
inline |
Definition at line 140 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 140 of file G4TAtomicHitsMap.hh
|
inline |
Definition at line 119 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 119 of file G4TAtomicHitsMap.hh
|
inline |
Definition at line 145 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 145 of file G4TAtomicHitsMap.hh
|
inline |
Definition at line 146 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 146 of file G4TAtomicHitsMap.hh
|
inlinevirtual |
Reimplemented from G4VHitsCollection.
Definition at line 127 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 127 of file G4TAtomicHitsMap.hh
|
inline |
Definition at line 108 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 108 of file G4TAtomicHitsMap.hh
Referenced by G4TAtomicHitsMap< T >::operator+=().
|
inlinevirtual |
Reimplemented from G4VHitsCollection.
Definition at line 128 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 128 of file G4TAtomicHitsMap.hh
G4TAtomicHitsMap< T > & G4TAtomicHitsMap< T >::operator+= | ( | const G4TAtomicHitsMap< T > & | right | ) | const |
Definition at line 184 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 184 of file G4TAtomicHitsMap.hh
References G4TAtomicHitsMap< T >::GetMap().
G4TAtomicHitsMap< T > & G4TAtomicHitsMap< T >::operator+= | ( | const G4THitsMap< T > & | right | ) | const |
Definition at line 194 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 194 of file G4TAtomicHitsMap.hh
References G4VTHitsMap< _Tp, std::map< G4int, _Tp * > >::GetMap().
G4bool G4TAtomicHitsMap< T >::operator== | ( | const G4TAtomicHitsMap< T > & | right | ) | const |
Definition at line 177 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 177 of file G4TAtomicHitsMap.hh
References G4VHitsCollection::collectionName.
|
inline |
Definition at line 204 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 204 of file G4TAtomicHitsMap.hh
|
virtual |
Reimplemented from G4VHitsCollection.
Definition at line 287 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 287 of file G4TAtomicHitsMap.hh
|
inline |
Definition at line 256 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 256 of file G4TAtomicHitsMap.hh
|
inline |
Definition at line 268 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 268 of file G4TAtomicHitsMap.hh
|
inlinevirtual |
Definition at line 133 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 133 of file G4TAtomicHitsMap.hh
Referenced by TSRunAction::EndOfRunAction().
|
mutableprivate |
Definition at line 150 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 150 of file G4TAtomicHitsMap.hh
|
private |
Definition at line 149 of file G4TAtomicHitsMap.hh.
View newest version in sPHENIX GitHub at line 149 of file G4TAtomicHitsMap.hh
Referenced by G4TAtomicHitsMap< G4double >::begin(), G4TAtomicHitsMap< G4double >::cbegin(), G4TAtomicHitsMap< G4double >::cend(), G4TAtomicHitsMap< G4double >::end(), G4TAtomicHitsMap< G4double >::entries(), G4TAtomicHitsMap< G4double >::find(), G4TAtomicHitsMap< G4double >::GetMap(), G4TAtomicHitsMap< G4double >::GetSize(), and G4TAtomicHitsMap< G4double >::size().