Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: MyCalorimeterHitsCollection.cc,v 2.1 1998/07/12 02:37:12 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
|
||||
#include "MyCalorimeterHitsCollection.hh"
|
||||
|
||||
MyCalorimeterHitsCollection::MyCalorimeterHitsCollection()
|
||||
{}
|
||||
|
||||
MyCalorimeterHitsCollection::MyCalorimeterHitsCollection(G4String aName,
|
||||
G4VSensitiveDetector * theSD)
|
||||
:G4VHitsCollection(aName,theSD)
|
||||
{}
|
||||
|
||||
MyCalorimeterHitsCollection::~MyCalorimeterHitsCollection()
|
||||
{}
|
||||
|
||||
void MyCalorimeterHitsCollection::DrawAllHits()
|
||||
{
|
||||
G4int n_hit = theCollection.entries();
|
||||
for(G4int i=0;i<n_hit;i++)
|
||||
{ theCollection[i].Draw(); }
|
||||
}
|
||||
|
||||
void MyCalorimeterHitsCollection::PrintAllHits()
|
||||
{
|
||||
G4int n_hit = theCollection.entries();
|
||||
for(G4int i=0;i<n_hit;i++)
|
||||
{ theCollection[i].Print(); }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user