CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/SimG4Core/Application/interface/CustomUIsession.h

Go to the documentation of this file.
00001 #ifndef SimG4Core_CustomUIsession_H
00002 #define SimG4Core_CustomUIsession_H 
00003 
00004 #include "G4UIsession.hh"
00005 #include "G4UImanager.hh"
00006 
00007 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00008 
00009 class CustomUIsession : public G4UIsession
00010 {
00011 
00012  public:
00013 
00014   CustomUIsession();
00015   ~CustomUIsession();
00016 
00017   G4int ReceiveG4cout(G4String coutString);
00018   G4int ReceiveG4cerr(G4String cerrString);
00019 
00020  protected:
00021 
00022   G4UImanager* UI;
00023 
00024 };
00025 
00026 #endif