Changes between Version 13 and Version 14 of WorkBook/ModuleSystem
- Timestamp:
- Dec 16, 2014, 11:51:21 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WorkBook/ModuleSystem
v13 v14 1 1 == Module System == 2 2 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.3 Delphes 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. 4 4 5 http://root.cern.ch/download/doc/ROOTUsersGuideHTML/ch10.html 5 All Delphes modules consume and produce [http://root.cern.ch/root/html/TObjArray.html TObjArrays] of [wiki:WorkBook/Candidate Candidates]. 6 6 7 http://root.cern.ch/root/html/TTask.html 7 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. 8 8 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. 9 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. 20 10 21 11 [[Image(delphes_folders_v5.png)]] 22 12 23 Additional classes {{{ExRootTask}}} and {{{DelphesModule}}} has been developed to provide frequently used services for Delphes. All Delphes 'modules inherit from {{{DelphesModule}}}.13 Additional classes {{{ExRootTask}}} and {{{DelphesModule}}} has been developed to provide frequently used services for Delphes. All Delphes modules inherit from {{{DelphesModule}}}. 24 14 25 15 Here is an example of a module declaration: