Adding Examples to the EDAnalyzer Skeleton Code

Experts are encouraged to add examples of how to use their classes from within an EDAnalyzer. To add an example

  1. Check out from CVS FWCore/Skeletons
  2. Edit the files in FWCore/Skeletons/scripts/mkTemplates/EDAnalyzer
  3. Contact a CVS administrator for this package (look at the .admin/developers file) so you can commit your changes

To add a new example line to the file just prefix the line with @example_<label> where <label> is the label you wish physicists to use when requesting your example be added to their analyzer. E.g.,

@example_track #include "FWCore/ParameterSet/interface/InputTag.h"
or
@example_track    <use name=DataFormats/TrackReco>

If more than one example wishes to add the same line of code, then one can use multiple <label>s which are separated by an underscore, E.g.,

@example_track_muon  #include "FWCore/ParameterSet/interface/InputTag.h"

When using multiple labels, the order of the labels does not matter.

-- Main.chrjones - 10 Oct 2006

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2006-10-10 - ChrisDJones



 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback