Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4HitsCollection Class Reference

#include <G4THitsCollection.hh>

+ Inheritance diagram for G4HitsCollection:

Public Member Functions

 G4HitsCollection ()
 
 G4HitsCollection (G4String detName, G4String colNam)
 
virtual ~G4HitsCollection ()
 
G4int operator== (const G4HitsCollection &right) const
 
- Public Member Functions inherited from G4VHitsCollection
 G4VHitsCollection ()
 
 G4VHitsCollection (G4String detName, G4String colNam)
 
virtual ~G4VHitsCollection ()
 
G4int operator== (const G4VHitsCollection &right) const
 
virtual void DrawAllHits ()
 
virtual void PrintAllHits ()
 
G4String GetName ()
 
G4String GetSDname ()
 
virtual G4VHitGetHit (size_t) const
 
virtual size_t GetSize () const
 

Protected Attributes

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

Detailed Description

Definition at line 49 of file G4THitsCollection.hh.

Constructor & Destructor Documentation

◆ G4HitsCollection() [1/2]

G4HitsCollection::G4HitsCollection ( )

Definition at line 34 of file G4THitsCollection.cc.

34 : theCollection((void*)0)
35{;}

◆ G4HitsCollection() [2/2]

G4HitsCollection::G4HitsCollection ( G4String  detName,
G4String  colNam 
)

Definition at line 37 of file G4THitsCollection.cc.

38: G4VHitsCollection(detName,colNam), theCollection((void*)0)
39{;}

◆ ~G4HitsCollection()

G4HitsCollection::~G4HitsCollection ( )
virtual

Definition at line 41 of file G4THitsCollection.cc.

42{;}

Member Function Documentation

◆ operator==()

int G4HitsCollection::operator== ( const G4HitsCollection right) const

Definition at line 44 of file G4THitsCollection.cc.

45{ return (collectionName==right.collectionName); }

Member Data Documentation

◆ theCollection


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