4 // See the class description in the header file.
6 #include "TG4VSensitiveDetector.h"
8 #include "TG4StepManager.h"
10 G4int TG4VSensitiveDetector::fgSDCounter = 0;
12 TG4VSensitiveDetector::TG4VSensitiveDetector(G4String sdName)
13 : G4VSensitiveDetector(sdName)
19 TG4VSensitiveDetector::TG4VSensitiveDetector(G4String sdName, G4int id)
20 : G4VSensitiveDetector(sdName),
27 TG4VSensitiveDetector::TG4VSensitiveDetector(
28 const TG4VSensitiveDetector& right)
29 : G4VSensitiveDetector(right)
37 TG4VSensitiveDetector::TG4VSensitiveDetector()
38 : G4VSensitiveDetector("")
43 TG4VSensitiveDetector::~TG4VSensitiveDetector() {
49 TG4VSensitiveDetector& TG4VSensitiveDetector::operator=(
50 const TG4VSensitiveDetector &right)
52 // check assignement to self
53 if (this == &right) return *this;
55 // base class assignement
56 TG4VSensitiveDetector::operator=(right);