Changeset 3999 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
05/06/04 15:33:39 (21 years ago)
Author:
jlopez
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/mifae/library/MFHVNotNominal.cc

    r3986 r3999  
    4545#include <stdlib.h>
    4646
     47#include <TMath.h>
     48
    4749#include "MLog.h"
    4850#include "MLogManip.h"
     
    190192      Double_t hv = (*fHV)[idx];
    191193      Double_t nominal = fHVNominal[idx];
    192       Double_t dev = 2.*abs(nominal-hv)/(nominal+hv);
     194      Double_t dev = 2.*TMath::Abs(nominal-hv)/(nominal+hv);
    193195     
    194196      if (dev > fMaxHVDeviation)
Note: See TracChangeset for help on using the changeset viewer.