Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:20

0001 #include "SProcessHits_EPH.h"
0002 
0003 int main()
0004 {
0005     SProcessHits_EPH* eph = new SProcessHits_EPH ;
0006 
0007     for(int i=0 ; i < 1000000 ; i++) eph->add( EPH::SAVENORM, i % 2 == 0 ? true : false );
0008 
0009     eph->EndOfEvent_Simulate_merged_count = 10000 ;
0010     eph->EndOfEvent_Simulate_savehit_count = 20000 ;
0011 
0012     std::cout << eph->desc() ;
0013 
0014     NP* meta = eph->get_meta_array();
0015     meta->save("$FOLD/eph.npy");
0016 
0017     return 0 ;
0018 }