File indexing completed on 2026-04-10 07:50:27
0001 #include "OPTICKS_LOG.hh"
0002
0003 #include "U4Scintillation_Debug.hh"
0004 #include "U4Cerenkov_Debug.hh"
0005 #include "U4Hit_Debug.hh"
0006 #include "U4Debug.hh"
0007
0008 int main(int argc, char** argv)
0009 {
0010 OPTICKS_LOG(argc, argv);
0011
0012 U4Scintillation_Debug s ;
0013 U4Cerenkov_Debug c ;
0014 U4Hit_Debug h ;
0015
0016 int eventID = 0 ;
0017
0018 s.fill(1.);
0019 c.fill(1.) ;
0020
0021
0022 h.label = {1,2,3,{0,0,0,0}} ;
0023 h.add();
0024 h.add();
0025
0026
0027 c.fill(2.);
0028
0029 s.add();
0030 s.add();
0031 s.add();
0032 s.add();
0033
0034 c.add();
0035 c.add();
0036
0037 U4Debug::Save(eventID);
0038
0039
0040 s.add();
0041 s.add();
0042
0043 c.add();
0044
0045 h.add();
0046
0047 eventID += 1 ;
0048 U4Debug::Save(eventID);
0049
0050 return 0 ;
0051 }