Ignore:
Timestamp:
04/03/04 17:50:04 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationRelTimePix.cc

    r3635 r3638  
    3939//
    4040MCalibrationRelTimePix::MCalibrationRelTimePix(const char *name, const char *title)
     41    : fRelTimeFlags(0)
    4142{
    4243
     
    5556{
    5657
    57   SetExcluded  ( kFALSE );
    5858  SetValid     ( kFALSE );
    5959
     
    8282// Set the Excluded Bit from outside
    8383//
    84 void MCalibrationRelTimePix::SetExcluded(Bool_t b )
    85 {
    86     b ?  SETBIT(fFlags, kExcluded) : CLRBIT(fFlags, kExcluded);
    87 }
    88 
    89    
    90 // --------------------------------------------------------------------------
    91 //
    92 // Set the Excluded Bit from outside
    93 //
    9484void MCalibrationRelTimePix::SetValid(const Bool_t b )
    9585{
    96   b ?  SETBIT(fFlags, kValid) : CLRBIT(fFlags, kValid);
     86  b ?  SETBIT(fRelTimeFlags, kValid) : CLRBIT(fRelTimeFlags, kValid);
    9787}   
    9888
     
    10696
    10797
    108 Bool_t MCalibrationRelTimePix::IsExcluded()     const
    109 {
    110    return TESTBIT(fFlags,kExcluded); 
    111 }
    112 
    11398Bool_t MCalibrationRelTimePix::IsValid() const
    11499{
    115   return TESTBIT(fFlags, kValid);
     100  return TESTBIT(fRelTimeFlags, kValid);
    116101}
Note: See TracChangeset for help on using the changeset viewer.