Import Geant4 10.5.1 source tree
This commit is contained in:
@@ -44,6 +44,6 @@ G4DigiCollection::G4DigiCollection(G4String detName,G4String colNam)
|
||||
G4DigiCollection::~G4DigiCollection()
|
||||
{ if (!aDCAllocator_G4MT_TLS_()) aDCAllocator_G4MT_TLS_() = new G4Allocator<G4DigiCollection> ;;}
|
||||
|
||||
G4int G4DigiCollection::operator==(const G4DigiCollection &right) const
|
||||
G4bool G4DigiCollection::operator==(const G4DigiCollection &right) const
|
||||
{ if (!aDCAllocator_G4MT_TLS_()) aDCAllocator_G4MT_TLS_() = new G4Allocator<G4DigiCollection> ; return (collectionName==right.collectionName); }
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ G4VDigi::G4VDigi()
|
||||
G4VDigi::~G4VDigi()
|
||||
{;}
|
||||
|
||||
G4int G4VDigi::operator==(const G4VDigi &right) const
|
||||
G4bool G4VDigi::operator==(const G4VDigi &right) const
|
||||
{ return (this==&right); }
|
||||
|
||||
void G4VDigi::Draw()
|
||||
|
||||
@@ -45,7 +45,7 @@ G4VDigiCollection::G4VDigiCollection(G4String DMnam,G4String colNam)
|
||||
G4VDigiCollection::~G4VDigiCollection()
|
||||
{ ; }
|
||||
|
||||
G4int G4VDigiCollection::operator==(const G4VDigiCollection &right) const
|
||||
G4bool G4VDigiCollection::operator==(const G4VDigiCollection &right) const
|
||||
{
|
||||
return ((collectionName==right.collectionName)
|
||||
&&(DMname==right.DMname));
|
||||
|
||||
Reference in New Issue
Block a user