/[PAMELA software]/PamCut/MiscCuts/AbsTimeCut/AbsTimeCut.cpp
ViewVC logotype

Diff of /PamCut/MiscCuts/AbsTimeCut/AbsTimeCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pam-fi, Fri May 29 15:49:29 2009 UTC revision 1.2 by pam-fi, Fri Jun 5 13:14:06 2009 UTC
# Line 5  Line 5 
5   *      Author: Nicola Mori   *      Author: Nicola Mori
6   */   */
7    
8  /*! @file AbsTimeCut.h The AbsTimeCut class implementation file */  /*! @file AbsTimeCut.cpp The AbsTimeCut class implementation file */
9    
10  #include "AbsTimeCut.h"  #include "AbsTimeCut.h"
11    
# Line 17  int AbsTimeCut::Check(PamLevel2 *event) Line 17  int AbsTimeCut::Check(PamLevel2 *event)
17    unsigned int date = _time.GetDate(kFALSE) - 20000000;    unsigned int date = _time.GetDate(kFALSE) - 20000000;
18    unsigned int time = _time.GetTime(kFALSE);    unsigned int time = _time.GetTime(kFALSE);
19    
   cout << date << "  " << time << endl;  
   
20    if (date < _initDate)    if (date < _initDate)
21      return ABSTIMECUT_TOOEARLY;      return ABSTIMECUT_TOOEARLY;
22    if (date == _initDate && time < _initTime)    if (date == _initDate && time < _initTime)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23