Fork me on GitHub

Changes between Version 13 and Version 14 of WorkBook/ModuleSystem


Ignore:
Timestamp:
Dec 16, 2014, 11:51:21 PM (10 years ago)
Author:
Pavel Demin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkBook/ModuleSystem

    v13 v14  
    11== Module System ==
    22
    3 Delphes' module system is inspired by the 'Folders and Tasks' chapter from the ROOT Users Guide and it's based on the {{{TTask}}} and {{{TFolder}}} classes.
     3Delphes module system is inspired by the [http://root.cern.ch/download/doc/ROOTUsersGuideHTML/ch10.html Folders and Tasks chapter] from the ROOT Users Guide and it's based on the [http://root.cern.ch/root/html/TTask.html TTask] and [http://root.cern.ch/root/html/TFolder.html TFolder] classes.
    44
    5 http://root.cern.ch/download/doc/ROOTUsersGuideHTML/ch10.html
     5All Delphes modules consume and produce [http://root.cern.ch/root/html/TObjArray.html TObjArrays] of [wiki:WorkBook/Candidate Candidates].
    66
    7 http://root.cern.ch/root/html/TTask.html
     7Every Delphes module has a corresponding {{{TFolder}}} that is used to store {{{TObjArrays}}} produced by this module. Any Delphes module can access {{{TObjArrays}}} produced by other Delphes module using {{{ImportArray("ModuleInstanceName/arrayName")}}} method.
    88
    9 http://root.cern.ch/root/html/TFolder.html
    10 
    11 All Delphes' modules consume and produce {{{TObjArrays}}} of {{{Candidates}}}.
    12 
    13 http://root.cern.ch/root/html/TObjArray.html
    14 
    15 http://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook/Candidate
    16 
    17 Every Delphes' module has a corresponding {{{TFolder}}} that is used to store {{{TObjArrays}}} produced by this module. Any Delphes' module can access {{{TObjArrays}}} produced by other Delphes' module using {{{ImportArray("ModuleInstanceName/arrayName")}}} method.
    18 
    19 The contents of all Delphes' {{{TFolders}}} and {{{TObjArrays}}} is browsable. All the modules are accessible from the {{{"/Delphes/Delphes"}}} folder and all the {{{TObjArrays}}} are accessible from the {{{"/Delphes/Export"}}} folder.
     9The contents of all Delphes {{{TFolders}}} and {{{TObjArrays}}} is browsable. All the modules are accessible from the {{{"/Delphes/Delphes"}}} folder and all the {{{TObjArrays}}} are accessible from the {{{"/Delphes/Export"}}} folder.
    2010
    2111[[Image(delphes_folders_v5.png)]]
    2212
    23 Additional classes {{{ExRootTask}}} and {{{DelphesModule}}} has been developed to provide frequently used services for Delphes. All Delphes' modules inherit from {{{DelphesModule}}}.
     13Additional classes {{{ExRootTask}}} and {{{DelphesModule}}} has been developed to provide frequently used services for Delphes. All Delphes modules inherit from {{{DelphesModule}}}.
    2414
    2515Here is an example of a module declaration: