fNRuns(0),
fRunNb(NULL),
fRunFirstPoint(NULL),
- fRunLastPoint(NULL)
+ fRunLastPoint(NULL),
+ fUseLHCClockPhase(kFALSE)
{
/*
* default constructor
fNRuns(nRuns),
fRunNb(new UInt_t[nRuns]),
fRunFirstPoint(new UInt_t[nRuns]),
- fRunLastPoint(new UInt_t[nRuns])
+ fRunLastPoint(new UInt_t[nRuns]),
+ fUseLHCClockPhase(kFALSE)
{
/*
* standard constructor
fNRuns(source.fNRuns),
fRunNb(new UInt_t[source.fNRuns]),
fRunFirstPoint(new UInt_t[source.fNRuns]),
- fRunLastPoint(new UInt_t[source.fNRuns])
+ fRunLastPoint(new UInt_t[source.fNRuns]),
+ fUseLHCClockPhase(source.fUseLHCClockPhase)
{
/*
* copy constructor
fRunLastPoint[i] = source.fRunLastPoint[i];
}
+ fUseLHCClockPhase = source.fUseLHCClockPhase;
+
return *this;
}
value += data[i];
npt++;
}
+ if (npt <= 0) return 0.;
value /= npt;
return value;