Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VHitsCollection Class Reference

#include <G4VHitsCollection.hh>

Inheritance diagram for G4VHitsCollection:
Collaboration diagram for G4VHitsCollection:

Public Member Functions

 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
 
 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
 
 G4VHitsCollection ()
 
 G4VHitsCollection (G4String detName, G4String colNam)
 
virtual ~G4VHitsCollection ()
 
G4int operator== (const G4VHitsCollection &right) const
 
virtual void DrawAllHits ()
 
virtual void PrintAllHits ()
 
G4StringGetName ()
 
G4StringGetSDname ()
 
void SetColID (G4int i)
 
G4int GetColID () const
 
virtual G4VHitGetHit (size_t) const
 
virtual size_t GetSize () const
 

Protected Attributes

G4String collectionName
 
G4String SDname
 
G4int colID
 

Detailed Description

Definition at line 49 of file G4VHitsCollection.hh.

Constructor & Destructor Documentation

G4VHitsCollection::G4VHitsCollection ( )

Definition at line 34 of file G4VHitsCollection.cc.

35 {
36  collectionName = "Unknown";
37  SDname = "Unknown";
38  colID = -1;
39 }
G4VHitsCollection::G4VHitsCollection ( G4String  detName,
G4String  colNam 
)

Definition at line 41 of file G4VHitsCollection.cc.

42 {
43  collectionName = colNam;
44  SDname = detName;
45  colID = -1;
46 }
G4VHitsCollection::~G4VHitsCollection ( )
virtual

Definition at line 48 of file G4VHitsCollection.cc.

49 { ; }
G4VHitsCollection::G4VHitsCollection ( )
G4VHitsCollection::G4VHitsCollection ( G4String  detName,
G4String  colNam 
)
virtual G4VHitsCollection::~G4VHitsCollection ( )
virtual
G4VHitsCollection::G4VHitsCollection ( )
G4VHitsCollection::G4VHitsCollection ( G4String  detName,
G4String  colNam 
)
virtual G4VHitsCollection::~G4VHitsCollection ( )
virtual

Member Function Documentation

void G4VHitsCollection::DrawAllHits ( )
virtual
G4int G4VHitsCollection::GetColID ( ) const
inline

Definition at line 71 of file G4VHitsCollection.hh.

72  { return colID; }

Here is the caller graph for this function:

virtual G4VHit* G4VHitsCollection::GetHit ( size_t  ) const
inlinevirtual
virtual G4VHit* G4VHitsCollection::GetHit ( size_t  ) const
inlinevirtual
virtual G4VHit* G4VHitsCollection::GetHit ( size_t  ) const
inlinevirtual
G4String& G4VHitsCollection::GetName ( void  )
inline

Definition at line 65 of file G4VHitsCollection.hh.

66  { return collectionName; }
G4String G4VHitsCollection::GetName ( void  )
inline

Definition at line 76 of file G4VHitsCollection.hh.

77  { return collectionName; }

Here is the caller graph for this function:

G4String G4VHitsCollection::GetName ( void  )
inline

Definition at line 78 of file G4VHitsCollection.hh.

79  { return collectionName; }
G4String& G4VHitsCollection::GetSDname ( )
inline

Definition at line 67 of file G4VHitsCollection.hh.

68  { return SDname; }
G4String G4VHitsCollection::GetSDname ( )
inline

Definition at line 78 of file G4VHitsCollection.hh.

79  { return SDname; }

Here is the caller graph for this function:

G4String G4VHitsCollection::GetSDname ( )
inline

Definition at line 80 of file G4VHitsCollection.hh.

81  { return SDname; }
virtual size_t G4VHitsCollection::GetSize ( ) const
inlinevirtual
virtual size_t G4VHitsCollection::GetSize ( ) const
inlinevirtual

Reimplemented in G4THitsMap< T >, G4THitsMap< G4Colour >, G4THitsMap< G4double >, G4THitsCollection< T >, G4TAtomicHitsCollection< T >, G4TAtomicHitsMap< T >, G4THitsCollection< T >, and G4THitsCollection< T >.

Definition at line 86 of file G4VHitsCollection.hh.

86 { return 0; };

Here is the caller graph for this function:

virtual size_t G4VHitsCollection::GetSize ( ) const
inlinevirtual
G4int G4VHitsCollection::operator== ( const G4VHitsCollection right) const
G4int G4VHitsCollection::operator== ( const G4VHitsCollection right) const
G4int G4VHitsCollection::operator== ( const G4VHitsCollection right) const

Definition at line 51 of file G4VHitsCollection.cc.

52 {
53  return ((collectionName==right.collectionName)
54  &&(SDname==right.SDname));
55 }
void G4VHitsCollection::SetColID ( G4int  i)
inline

Definition at line 69 of file G4VHitsCollection.hh.

70  { colID = i; }

Here is the caller graph for this function:

Member Data Documentation

G4int G4VHitsCollection::colID
protected

Definition at line 62 of file G4VHitsCollection.hh.

G4String G4VHitsCollection::collectionName
protected

Definition at line 63 of file G4VHitsCollection.hh.

G4String G4VHitsCollection::SDname
protected

Definition at line 68 of file G4VHitsCollection.hh.


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