Ignore:
Timestamp:
03/13/00 09:27:12 (25 years ago)
Author:
harald
Message:
some small changes to get out the timestamp of the event.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/include-Classes/MRawEvt.cxx

    r371 r374  
    3737// ----------
    3838//
    39 // ULong_t   TimeStamp
     39// ULong_t   fTimeStamp
    4040//   
    4141// Time of the event.
     
    109109
    110110  EvtNo      = 0 ;
    111   TimeStamp  = 0 ;
     111  fTimeStamp  = 0 ;
    112112  EvtStatus  = 0 ;
    113113  Trig1st    = 0 ;
     
    141141  //
    142142  EvtNo      = 0 ;
    143   TimeStamp  = 0 ;
     143  fTimeStamp  = 0 ;
    144144  EvtStatus  = 0 ;
    145145  Trig1st    = 0 ;
     
    158158  // Prints out the data of one Pixel
    159159  cout << endl << "EventNumber      " << EvtNo          ;
    160   cout << endl << "Event Time Stamp " << TimeStamp      ;
     160  cout << endl << "Event Time Stamp " << fTimeStamp      ;
    161161  cout << endl << "Event Status     " << (int) EvtStatus      ;
    162162  cout << endl << "Trigger 1. Level " << Trig1st        ;
     
    177177
    178178  EvtNo      = uiN ;
    179   TimeStamp  = ulT ;
     179  fTimeStamp  = ulT ;
    180180
    181181  UChar_t   ucA[FADC_SLICES] ;
     
    189189}
    190190
    191 void MRawEvt::FillHeader ( UInt_t uiN, ULong_t ulT ) {
     191void MRawEvt::FillHeader ( UInt_t uiN, ULong_t ulT, UChar_t ucSta ) {
    192192   
    193193  EvtNo      = uiN ;
    194   TimeStamp  = ulT ;
    195  
    196   EvtStatus  = 0 ;
     194  fTimeStamp  = ulT ;
     195 
     196  EvtStatus  = ucSta ;
    197197  Trig1st    = 0 ;
    198198  MultPixel  = 0   ;
     
    225225
    226226  EvtNo      = uiN ;
    227   TimeStamp  = ulT ;
     227  fTimeStamp  = ulT ;
    228228
    229229  MultPixel = 0 ;
Note: See TracChangeset for help on using the changeset viewer.