/*****************************************************************************
 * Project: RooFit                                                           *
 * Package: RooFitCore                                                       *
 * @(#)root/roofitcore:$Id$
 * Authors:                                                                  *
 *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
 *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
 *                                                                           *
 * Copyright (c) 2000-2005, Regents of the University of California          *
 *                          and Stanford University. All rights reserved.    *
 *                                                                           *
 * Redistribution and use in source and binary forms,                        *
 * with or without modification, are permitted according to the terms        *
 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
 *****************************************************************************/

//////////////////////////////////////////////////////////////////////////////
//
// BEGIN_HTML
// RooInt is a minimal implementation of a TObject holding a Int_t
// value.
// END_HTML
//

#include "RooFit.h"

#include "RooInt.h"
#include "RooInt.h"

using namespace std;

ClassImp(RooInt)
;



//_____________________________________________________________________________
Int_t RooInt::Compare(const TObject* other) const 
{
  // Facilitate sorting of RooInts in ROOT container classes
  // Return -1 or +1 if 'other' is a RooInt with value
  // greater or lesser than self. Return zero if other
  // object is not a RooInt

  const RooInt* otherD = dynamic_cast<const RooInt*>(other) ;
  if (!otherD) return 0 ;
  return (_value>otherD->_value) ? 1 : -1 ;
}
 RooInt.cxx:1
 RooInt.cxx:2
 RooInt.cxx:3
 RooInt.cxx:4
 RooInt.cxx:5
 RooInt.cxx:6
 RooInt.cxx:7
 RooInt.cxx:8
 RooInt.cxx:9
 RooInt.cxx:10
 RooInt.cxx:11
 RooInt.cxx:12
 RooInt.cxx:13
 RooInt.cxx:14
 RooInt.cxx:15
 RooInt.cxx:16
 RooInt.cxx:17
 RooInt.cxx:18
 RooInt.cxx:19
 RooInt.cxx:20
 RooInt.cxx:21
 RooInt.cxx:22
 RooInt.cxx:23
 RooInt.cxx:24
 RooInt.cxx:25
 RooInt.cxx:26
 RooInt.cxx:27
 RooInt.cxx:28
 RooInt.cxx:29
 RooInt.cxx:30
 RooInt.cxx:31
 RooInt.cxx:32
 RooInt.cxx:33
 RooInt.cxx:34
 RooInt.cxx:35
 RooInt.cxx:36
 RooInt.cxx:37
 RooInt.cxx:38
 RooInt.cxx:39
 RooInt.cxx:40
 RooInt.cxx:41
 RooInt.cxx:42
 RooInt.cxx:43
 RooInt.cxx:44
 RooInt.cxx:45
 RooInt.cxx:46
 RooInt.cxx:47
 RooInt.cxx:48