JSFSteerConf
class description - source file - inheritance tree
public:
JSFSteerConf(const char* name = "JSFSteerConf", const char* title = "JSF Configuration")
JSFSteerConf(const JSFSteerConf&)
virtual ~JSFSteerConf()
static TClass* Class()
void Initialize(TList* module)
virtual TClass* IsA() const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
Int_t fSize ! size of fClasses, fNames array
Int_t fNmodule Number of modules;
TString* fClasses [fNmodule] Names of module Clases
TString* fNames [fNmodule] Module names.
JLC Study Frame
Main class to control JLC Study
Three types of jobs are supported in this framework, a) Bases,
b) Read Bases data->Spring->Hadronize->QuickSim, c) read quick sim data.
Typical macro files are as follows.
a) Bases
{
// An example of Bases.
// Calculate cross section of e+e- --> gamma* --> f+f-
gROOT->Reset();
TFile file("bases.root","RECREATE"); // Output file.
bases = new LLbarBases();
bases->SetEcm(300.0); // Set ECM
bases->SetParton(1, 2.0/3.0 ); // Set Parton
bases->DoBases();
bases->Write();
file->Write();
}
To run in batch mode, do
jsf -q -b llbar.C
where llbar.C is the name of the macro file.
b) Spring->Hadronize->QuickSim
{
// An example to run Spring, Hadronizer, and QuickSim.
// In this example, LLbar event is created.
gROOT->Reset();
TFile file("jsf.root","RECREATE"); // Output file
jsf = new JSFSteer();
full = new JSFLCFULL();
spring = new LLbarSpring();
spring->ReadBases("bases.root");
hdr=new JSFHadronizer();
sim=new JSFQuickSim();
Int_t maxevt=10;
jsf->Initialize();
jsf->BeginRun(30); // Set Run Number
for(Int_t ev=1;ev<=maxevt;ev++){
printf(" start event %dn",ev);
jsf->Process(ev);
jsf->FillTree();
jsf->Clear();
}
jsf->Terminate();
file->Write();
}
c) Read QuickSim data.
{
// Example to read QuickSim data.
TFile f("jsf.root","READ");
jsf = new JSFSteer();
jsf->Initialize();
Int_t maxevt=3;
for(Int_t i=1;i<=maxevt;i++){
jsf->GetEvent(i);
if( !jsf->Process(i) ) break ;
printf(" read Run %d Event %dn",jsf->GetRunNumber(), jsf->GetEventNumber());
}
jsf->Terminate();
}
$Id: JSFSteer.cxx,v 1.29 2003/05/22 01:03:52 miyamoto Exp $
(Update)
6-Jan-2001 A.Miyamoto Use Root.3.00 IO functions
Class JSFSteerConf was modified.
JSFSteerConf(const char *name, const char*title)
: TNamed (name, title)
A class to save JSFSteer information;
class name, name, and title of defined modules are saved.
~JSFSteerConf()
void Initialize(TList *mlist)
Make fClasses and fNames from fModules list for output
void Streamer(TBuffer &R__b)
Stream an object of class JSFSteerConf.
void Streamer(TBuffer &R__b)
Stream an object of class JSFSteerConf.
Inline Functions
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void StreamerNVirtual(TBuffer& b)
JSFSteerConf JSFSteerConf(const JSFSteerConf&)
Last update: Tue Jan 20 15:53:55 2004
ROOT page - Home page - Class index - Top of the page
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.