SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Workbook Home Introduction Account Setup QuickTour Packages Modules Unwrap page!
Event Information Tcl Commands Editing Compile and Link Run the Job Debugging
Check this page with the
W3C Validator
(More checks...)
Parameters Tcl Files Find Data Batch Analysis ROOT Tutorial
Step 5: Add your module to the Framework                   Go to Step 6

For BetaMiniUser ONLY: Modify AppUserBuildBase.cc


In AppUserBuildBase.cc, copy the syntax for one of BetaMiniUser's modules (here I use MyMiniAnalysis):



#include "BetaMiniUser/MyMiniAnalysis.hh"
#include "BetaMiniUser/MyNeuAnalysis.hh"

  void AppUserBuildBase(AppUserBuild* theBuild, AppFramework* theFramework)
{  

...

  //Analysis modules
  theBuild->add(new MyMiniAnalysis("MyMiniAnalysis", "MyMiniAnalysis"));
  theBuild->add(new MyNeuAnalysis("MyNeuAnalysis", "MyNeuAnalysis"));

...

}


For most other packages: Modify AppUserBuild.cc

(In this example, package = NonCharm3BodyUser.)

In AppUserBuildBase.cc, copy the syntax for one of NonCharm3BodyUser's modules (here I use TauPi0Maker):



#include "NonCharm3BodyUser/TauPi0Maker.hh"
#include "NonCharm3BodyUser/MyNeuAnalysis.hh"

AppUserBuild::AppUserBuild( AppFramework* theFramework )
    : AppBuild( theFramework )
{

...

  add( new TauPi0Maker( "TauPi0Maker", "TauPi0Maker" ) );
  add( new MyNeuAnalysis( "MyNeuAnalysis", "MyNeuAnalysis" ) );

...

}

//--------------
// Destructor --
//--------------

AppUserBuild::~AppUserBuild( )
{
}

                                                                                          Go to Step 6