Changeset 1755 for trunk/MagicSoft


Ignore:
Timestamp:
02/12/03 12:22:10 (22 years ago)
Author:
blanch
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx

    r1754 r1755  
    2121//
    2222// $RCSfile: camera.cxx,v $
    23 // $Revision: 1.54 $
     23// $Revision: 1.55 $
    2424// $Author: blanch $
    25 // $Date: 2003-02-12 11:55:01 $
     25// $Date: 2003-02-12 12:22:10 $
    2626//
    2727////////////////////////////////////////////////////////////////////////
     
    13001300
    13011301        ++nshow;
    1302         log(SIGNATURE, "Event %d(+%d)\n", nshow, ntshow);
     1302        if((nshow+ntshow)%100 == 1)
     1303          log(SIGNATURE, "Event %d(+%d)\n", nshow, ntshow);
    13031304       
    13041305        // get MCEventHeader
     
    15241525        }// end if(simulateNSB && nphe2NSB<=inumphe) ...
    15251526 
    1526         log(SIGNATURE, "End of this event: %d cphs(+%d). . .\n",
    1527             ncph, ntcph);
    1528 
     1527        inumphensb=0;
     1528        for (UInt_t ui=0;ui<camgeom.GetNumPixels();ui++){
     1529          inumphensb+=nsb_phepns[ui]*TOTAL_TRIGGER_TIME;
     1530        }
     1531
     1532        if ((nshow+ntshow)%100 == 1){
     1533          log(SIGNATURE, "End of this event: %d cphs(+%d). . .\n",
     1534              ncph, ntcph);
     1535
     1536          cout << "Total number of phes: " << inumphe<<" + ";
     1537          cout<<inumphensb<<endl;
     1538        }
    15291539        ntcph += ncph;
    15301540
     
    15471557        }
    15481558       
    1549         cout << "Total number of phes: " << inumphe<<" + ";
    1550         inumphensb=0;
    1551         for (UInt_t ui=0;ui<camgeom.GetNumPixels();ui++){
    1552           inumphensb+=nsb_phepns[ui]*TOTAL_TRIGGER_TIME;
    1553         }
    1554         cout<<inumphensb<<endl;
    1555 
    15561559        //++++++++++++++++++++++++++++++++++++++++++++++++++
    15571560        // at this point we have a camera full of
     
    42394242//
    42404243// $Log: not supported by cvs2svn $
     4244// Revision 1.54  2003/02/12 11:55:01  blanch
     4245// *** empty log message ***
     4246//
    42414247// Revision 1.53  2003/01/23 18:35:21  blanch
    42424248// *** empty log message ***
     
    44084414//
    44094415// $Log: not supported by cvs2svn $
     4416// Revision 1.54  2003/02/12 11:55:01  blanch
     4417// *** empty log message ***
     4418//
    44104419// Revision 1.53  2003/01/23 18:35:21  blanch
    44114420// *** empty log message ***
Note: See TracChangeset for help on using the changeset viewer.