Ignore:
Timestamp:
Nov 5, 2010, 3:45:55 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/digits_hits/detector/include/G4VPrimitiveScorer.hh

    r1337 r1340  
    2525//
    2626//
    27 // $Id: G4VPrimitiveScorer.hh,v 1.3 2007/08/28 07:51:45 asaim Exp $
    28 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     27// $Id: G4VPrimitiveScorer.hh,v 1.6 2010/07/22 07:36:50 taso Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030
     
    4646// used either as a sensitive detector or to be registered to
    4747// G4MultiFunctionalDetector to define multiple functionalities.
     48//
     49//
    4850
    4951class G4VPrimitiveScorer
     
    7880      // These methods are invoked by G4SDManager through G4MultiFunctionalDetector.
    7981
     82       virtual void SetUnit(const G4String& unit)=0;
     83       G4String GetUnit() const { return unitName;}
     84       G4double  GetUnitValue() const { return unitValue;}
     85
     86  protected:
     87     void CheckAndSetUnit(const G4String& unit,const G4String& category);
     88
    8089  protected:
    8190      G4String primitiveName;
     
    8493      G4int verboseLevel;
    8594      G4int indexDepth;
     95      G4String unitName;
     96      G4double unitValue;
    8697
    8798  public: // with description
Note: See TracChangeset for help on using the changeset viewer.