Day5, 10/04/2011

From New IAC Wiki
Revision as of 21:03, 4 October 2011 by Shaproma (talk | contribs)
Jump to navigation Jump to search

go back

  • gedit src/ExN02SteppingVerbose.cc
  • void ExN02SteppingVerbose::TrackingStarted() print first step
  • ExN02SteppingVerbose::~ExN02SteppingVerbose()

ExN02SteppingVerbose::ExN02SteppingVerbose() {

 outfile.open("sigmaR.txt");   //added 10/4/11

}

//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......

ExN02SteppingVerbose::~ExN02SteppingVerbose() {

 outfile.close();    //added 10/4/11

}


  • gedit include/ExN02SteppingVerbose.hh

class ExN02SteppingVerbose : public G4SteppingVerbose {

public:
  
 ExN02SteppingVerbose();
~ExN02SteppingVerbose();
 void StepInfo();
 void TrackingStarted();
private:   //added 10/4/11
 std::ofstream outfile;

};