ROOT logo
/*****************************************************************************
 * Project: RooFit                                                           *
 * Package: RooFitCore                                                       *
 * @(#)root/roofitcore:$Name:  $:$Id: RooExtendedTerm.cxx 24269 2008-06-13 15:37:03Z wouter $
 * 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
// RooExtendedTerm is a p.d.f with no observables that only introduces
// an extended ML term for a given number of expected events term when an extended ML 
// is constructed.
// END_HTML
//

#include "RooFit.h"
#include "RooExtendedTerm.h"

ClassImp(RooExtendedTerm)
;


//_____________________________________________________________________________
RooExtendedTerm::RooExtendedTerm()
{
  // Constructor
}



//_____________________________________________________________________________
RooExtendedTerm::RooExtendedTerm(const char *name, const char *title, const RooAbsReal& n) :
  RooAbsPdf(name,title),
  _n("n","Nexpected",this,(RooAbsReal&)n)
{
  // Constructor. An ExtendedTerm has no observables, it only introduces an extended
  // ML term with the given number of expected events when an extended ML is constructed
  // from this p.d.f.
}



//_____________________________________________________________________________
RooExtendedTerm::RooExtendedTerm(const RooExtendedTerm& other, const char* name) :
  RooAbsPdf(other,name),
  _n("n",this,other._n)
{
  // Copy constructor
}



//_____________________________________________________________________________
RooExtendedTerm::~RooExtendedTerm() 
{
  // Destructor

}


//_____________________________________________________________________________
Double_t RooExtendedTerm::expectedEvents(const RooArgSet* /*nset*/) const 
{
  // Return number of expected events from associated event count variable
  return _n ;
}



 RooExtendedTerm.cxx:1
 RooExtendedTerm.cxx:2
 RooExtendedTerm.cxx:3
 RooExtendedTerm.cxx:4
 RooExtendedTerm.cxx:5
 RooExtendedTerm.cxx:6
 RooExtendedTerm.cxx:7
 RooExtendedTerm.cxx:8
 RooExtendedTerm.cxx:9
 RooExtendedTerm.cxx:10
 RooExtendedTerm.cxx:11
 RooExtendedTerm.cxx:12
 RooExtendedTerm.cxx:13
 RooExtendedTerm.cxx:14
 RooExtendedTerm.cxx:15
 RooExtendedTerm.cxx:16
 RooExtendedTerm.cxx:17
 RooExtendedTerm.cxx:18
 RooExtendedTerm.cxx:19
 RooExtendedTerm.cxx:20
 RooExtendedTerm.cxx:21
 RooExtendedTerm.cxx:22
 RooExtendedTerm.cxx:23
 RooExtendedTerm.cxx:24
 RooExtendedTerm.cxx:25
 RooExtendedTerm.cxx:26
 RooExtendedTerm.cxx:27
 RooExtendedTerm.cxx:28
 RooExtendedTerm.cxx:29
 RooExtendedTerm.cxx:30
 RooExtendedTerm.cxx:31
 RooExtendedTerm.cxx:32
 RooExtendedTerm.cxx:33
 RooExtendedTerm.cxx:34
 RooExtendedTerm.cxx:35
 RooExtendedTerm.cxx:36
 RooExtendedTerm.cxx:37
 RooExtendedTerm.cxx:38
 RooExtendedTerm.cxx:39
 RooExtendedTerm.cxx:40
 RooExtendedTerm.cxx:41
 RooExtendedTerm.cxx:42
 RooExtendedTerm.cxx:43
 RooExtendedTerm.cxx:44
 RooExtendedTerm.cxx:45
 RooExtendedTerm.cxx:46
 RooExtendedTerm.cxx:47
 RooExtendedTerm.cxx:48
 RooExtendedTerm.cxx:49
 RooExtendedTerm.cxx:50
 RooExtendedTerm.cxx:51
 RooExtendedTerm.cxx:52
 RooExtendedTerm.cxx:53
 RooExtendedTerm.cxx:54
 RooExtendedTerm.cxx:55
 RooExtendedTerm.cxx:56
 RooExtendedTerm.cxx:57
 RooExtendedTerm.cxx:58
 RooExtendedTerm.cxx:59
 RooExtendedTerm.cxx:60
 RooExtendedTerm.cxx:61
 RooExtendedTerm.cxx:62
 RooExtendedTerm.cxx:63
 RooExtendedTerm.cxx:64
 RooExtendedTerm.cxx:65
 RooExtendedTerm.cxx:66
 RooExtendedTerm.cxx:67
 RooExtendedTerm.cxx:68
 RooExtendedTerm.cxx:69
 RooExtendedTerm.cxx:70
 RooExtendedTerm.cxx:71
 RooExtendedTerm.cxx:72
 RooExtendedTerm.cxx:73
 RooExtendedTerm.cxx:74
 RooExtendedTerm.cxx:75
 RooExtendedTerm.cxx:76
 RooExtendedTerm.cxx:77
 RooExtendedTerm.cxx:78
 RooExtendedTerm.cxx:79