/*****************************************************************************
 * Project: RooFit                                                           *
 * Package: RooFitCore                                                       *
 * @(#)root/roofitcore:$Id: RooAbsMCStudyModule.cxx 20879 2007-11-19 11:22:56Z rdm $
 * 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)             *
 *****************************************************************************/

// -- CLASS DESCRIPTION [MISC] --
// RooAbsMCStudyModule is a base class for add-on modules to RooMCStudy that
// can perform additional calculations on each generate+fit cycle managed
// by RooMCStudy
//
// This class can insert code to be executed before each generation step,
// between the generation and fitting step and after the fitting step.
// Any summary output variables declared in the RooDataSet exported through
// summaryData() is merged with the 'master' summary dataset in RooMCStudy
//
// Look at RooDLLSignificanceMCStudyModule for an example of an implementation
//

#include "RooFit.h"
#include "RooAbsMCStudyModule.h"

ClassImp(RooAbsMCStudyModule)
  ;


RooAbsMCStudyModule::RooAbsMCStudyModule(const char* name, const char* title) : TNamed(name,title), _mcs(0) 
{
} 


RooAbsMCStudyModule::RooAbsMCStudyModule(const RooAbsMCStudyModule& other) : TNamed(other), _mcs(other._mcs)
{
} 


Bool_t RooAbsMCStudyModule::doInitializeInstance(RooMCStudy& study) { 
  _mcs = &study ; 
  return initializeInstance() ; 
}  


Last update: Thu Jan 17 08:43:36 2008

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.