30 #include "EventAction.hh"
33 #include "PrimaryGeneratorAction.hh"
34 #include "HistoManager.hh"
43 :detector(det), primary(prim)
87 kFiber = 1000*kLayer + iFiber;
98 Run* run =
static_cast<Run*
>(
114 std::map<G4int,G4double>::iterator
it;
116 G4int kFiber = it->first;
117 G4int iFiber = kFiber%1000;
119 analysisManager->
FillH1(5,iFiber+0.5,Evis);
136 G4String fileName = name +
".fibers.ascii";
139 std::ios::fmtflags mode = File.flags();
140 File.setf( std::ios::scientific, std::ios::floatfield );
153 File << ekin <<
" " << direction <<
" " << position <<
G4endl;
159 std::map<G4int,G4double>::iterator
it;
161 G4int kFiber = it->first;
163 File <<
" " << std::setw(7) << kFiber <<
" "<< std::setw(10) << Evis
170 File.setf(mode,std::ios::floatfield);
171 File.precision(prec);