|
|
|
||||||||||||||||||||||||||
Then 'unsetenv CFG_DEFAULT_IMPL' and rerun Moose. Note that Moose is not validated in an analysis release. Please use the production releases found here:
# setup a new test release $ newrel -s $BFROOT/work/your_username_initial/your_username -t 14.3.2b my-14.3.2b $ cd my-14.3.2b # setup your path $ srtpath <enter> <enter> # setup the correct condition database $ cond14boot # checkout the workdir package $ addpkg workdir $ cd workdir $ gmake setup
Next, you must create a tcl "snippet" with your favorite options for each job you want to run. Here is an example mymoose.tcl:
# -------- mymoose.tcl: begin ----------- set ProdTclOnly true set RUNNUM 987655 set CONDALIAS Aug2001 set SimAppBkndInputCollection /store/SP/BkgTriggers/BkgTriggers_200108_V01 set SimAppBkndFirstEvent 1 set SimAppDigiMix true set SimAppKanDigiMix true set NEVENT 1000 set UDECAY PARENT/ProdDecayFiles/B0B0bar_generic.dec set MooseHBookFile myMoose.hbook set MooseOutputCollection /work/users/rahatlou/vanilla-14.3.2b/myMoose-collection mod talk KanEventOutput allowDirectoryCreation set true exit sourceFoundFile Moose/MooseProduction.tcl # -------- mymoose.tcl: end -----------As you can see the tcl snippet is quite simple, it just sets a few configuration parameters specific to a particular job you would like to run:
Moose with digi mixing disabled is not supported. Subsystem simulation algorithms use the background digi timestamp to match data taking conditions fully. Without this timestamp, a default of T-25 years is selected - however in many cases, the conditions corresponding to T-25 years are simply a default and will not resemble realistic detector conditions.
The location of the output collection is interpreted in the new event store and corresponds to a physical location. If you are not familiar with this, you should look at the documentation for KanUserAdmin.
You are now ready to run:
$ MooseApp mymoose.tcl
After the successful completion of your job you can check on your collection by using the KanUserAdmin and KanCollUtil utilities.
$ KanUserAdmin list /work/users/rahatlou/vanilla-14.3.2b/myMoose-collection /work/users/rahatlou/vanilla-14.3.2b/myMoose-collection $ KanCollUtil /work/users/rahatlou/vanilla-14.3.2b/myMoose-collection /work/users/rahatlou/vanilla-14.3.2b/myMoose-collection (1000 events)
See the section about utility programs for more details about inspecting the content of the output collection.
You can now use the output collection /work/users/rahatlou/vanilla-14.3.2b/myMoose-collection to run your analysis jobs.
$ grep ";#" ~/reco/cand14.4.2-14.4.1a/Moose/MooseProduction.tcl FwkCfgVar MooseVerbose ;# set the ErrLoggingLevel level FwkCfgVarRequire RUNNUM ;# runnumber used to initialize the random numbers FwkCfgVarRequire NEVENT ;# number of events to generate FwkCfgVarRequire CONDALIAS ;# data taking month, e.g. Nov2002These are release dependent. You can also use the web interface to the CVS repository to look up Moose/MooseProduction.tcl .