Ignore:
Timestamp:
Sep 25, 2007, 12:24:08 PM (17 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • snovis/trunk/source/G4Lab/HitsCollectionAccessor.h

    r233 r288  
    1111class G4LogicalVolume;
    1212class G4Colour;
     13class G4RunManager;
    1314
    1415namespace Slash {namespace Core {class ISession;}}
     
    3031  virtual void visualize(Slash::Data::IAccessor::Data,void*);
    3132public:
    32   HitsCollectionAccessor(Slash::Core::ISession&,const std::string& = "");
     33  HitsCollectionAccessor(Slash::Core::ISession&,G4RunManager*,
     34                         const std::string& = "");
    3335  virtual ~HitsCollectionAccessor();
    3436  const std::string& HCName() const;
     
    3739  static G4Transform3D* hitTransform3D(const G4VHit&);
    3840  static bool hitColor(const G4VHit&,G4Colour&);
    39   static G4VHitsCollection* getCollection(Slash::Core::IWriter&,const std::string&);
     41protected:
     42  G4VHitsCollection* getCollection(Slash::Core::IWriter&,const std::string&);
    4043private:
    4144  std::string fType;
     45  G4RunManager* fRunManager;
    4246  std::map<G4String,G4AttDef>* fAttDefs;
    4347  std::string fHC;
Note: See TracChangeset for help on using the changeset viewer.