using namespace std;
#include "hhypcontfact.h"
#include "hruntimedb.h"
#include "hparset.h"
#include "hparamlist.h"
#include "hcontfact.h"
#include "hhyprecpar.h"
#include <iostream>
#include <iomanip>
ClassImp(HHypContFact)
static HHypContFact gHHypContFact;
HHypContFact::HHypContFact()
{
fName = "HypContFact";
fTitle = "Factory for parameter containers in libHyp";
setAllContainers();
HRuntimeDb::instance()->addContFactory(this);
}
void HHypContFact::setAllContainers()
{
HContainer *cm = new HContainer("HypRecPar",
"Hyp parameters",
"HypRecProductionCuts");
cm->addContext("HypRecSharpCuts");
cm->addContext("HypRecWideCuts");
containers->Add(cm);
}
HParSet *HHypContFact::createContainer(HContainer * c)
{
const Char_t *name = c->GetName();
if (strcmp(name, "HypRecPar") == 0)
return new HHypRecPar(c->getConcatName().Data(), c->GetTitle(),
c->getContext());
return 0;
}
Last change: Sat May 22 12:57:42 2010
Last generated: 2010-05-22 12:57
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.