Revision Logging

All processors must register their revision number in the run header parameters of the datasets processed by them. This makes it easy to find out which data need to be re-processed in case a bug is found in a processor.

To do that make sure to include something like

void MyProcessor::processRunHeader( LCRunHeader* run ) {

    run->parameters().setValue( _processorName + "_revision", "$Rev$" );

    // additional code might follow here

}
in the processRunHeader method of your processor.

In addition to that line of code you have to enable the "Rev" keyword substitution for the corresponding source file myprocessor.cc by executing the command

svn propset svn:keywords Rev myprocessor.cc
You can verify that the file properties are set correctly by using
svn proplist --verbose myprocessor.cc
afterwards.

-- PeterWienemann - 18 Apr 2007

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2007-04-18 - PeterWienemann
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ILCTPC 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