]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TGeant4/TG4SDServices.h
Cosmetic
[u/mrichter/AliRoot.git] / TGeant4 / TG4SDServices.h
index fe15686d7f9f285d972eb320ac667614f41e7103..8e27e6336560bbcd148acfd776027017757e113d 100644 (file)
 
 #include <Rtypes.h>
 
+class TG4VSensitiveDetector;
+
 class G4LogicalVolume;
+class G4VSensitiveDetector;
 
 class TG4SDServices
 {
   public:
     TG4SDServices();
+    // --> protected
+    // TG4SDServices(const TG4SDServices& right);
     virtual ~TG4SDServices();
 
     // static methods
     static TG4SDServices* Instance();
 
+    // methods
+    void PrintStatistics(G4bool open, G4bool close) const;
+
     // get methods
+          // volume IDs conversions
     G4int GetVolumeID(const G4String& volumeName) const;
     G4int GetVolumeID(G4LogicalVolume* volume) const;
-    G4String GetVolumeName(G4int volumeId) const;
+    G4String         GetVolumeName(G4int volumeId) const;
     G4LogicalVolume* GetLogicalVolume(G4int volumeId) const;   
+    G4int            GetMediumId(G4int volumeId) const; 
+          // SDs
     Int_t NofSensitiveDetectors() const; 
-    G4int GetMediumId(G4int volumeId) const;    
+    TG4VSensitiveDetector* GetSensitiveDetector(G4VSensitiveDetector* sd) const;  
 
   protected:
+    TG4SDServices(const TG4SDServices& right);
+
+    // operators
+    TG4SDServices& operator=(const TG4SDServices& right);
+  
     // static data members
     static TG4SDServices* fgInstance;   //this instance
 };