PhotonStatSummarizer.h File Reference

#include "Summarizer.h"
#include "DatabaseInterface/DbiResultPtr.h"
#include "PulserCalibration/PulserDrift.h"
#include "PulserCalibration/PulserDriftPin.h"
#include "PulserCalibration/PulserXScale.h"
#include "PulserCalibration/PulserPinScale.h"
#include "Plex/PlexPinDiodeId.h"
#include "Plex/PlexHandle.h"
#include "Configurable/CfgPromptConfigurable.h"
#include "Calibrator/ValueErr.h"
#include "TTree.h"
#include "TFile.h"

Go to the source code of this file.

Classes

class  SpotDrift
class  PmtDrift
class  DetectorDrift
class  PhotonStatSummarizer

Functions

bool operator< (const SpotDrift &lhs, const SpotDrift &rhs)

Function Documentation

bool operator< ( const SpotDrift lhs,
const SpotDrift rhs 
)

Definition at line 29 of file PhotonStatSummarizer.cxx.

00030 {
00031   // return true if lhs is better than rhs.
00032   if((lhs.bad>0) != (rhs.bad>0)){
00033     if(rhs.bad>0) return true;
00034     else          return false;
00035   }
00036   return (lhs.gain.GetError() < rhs.gain.GetError());
00037 }


Generated on 8 Jul 2019 for loon by  doxygen 1.6.1