37     void init() 
override ;
    66     setDescription( 
"Simple processor to test the marlinmt application."    67       " Prints run and event number." ) ;
    73     log<MESSAGE>() << 
"TestProcessor::init()  " << 
name() << std::endl ;
    80    log<MESSAGE>() << 
" processRun() "    91     auto eventCounter = 
_nEvt.fetch_add(1) ;
    98     const bool calibrate = (eventCounter % 3 ) == 0 ;
   101       log<DEBUG>() << 
" This is the first event ! uid = " << evt->
uid() << std::endl ;
   106       log<MESSAGE>() << 
"processEvent()  ---CALIBRATING ------ "   107             << 
" in event uid " << evt->
uid()
   111     log<MESSAGE>() << 
" processing event uid " << evt->
uid() << std::endl ;
   113     log<MESSAGE>() << 
"(MESSAGE) local verbosity level: " << 
verbosity() << std::endl ;
   130     log<MESSAGE>() << 
" end() "   131          << 
" processed "     << 
_nEvt << 
" events in "   132          << 
_nRun << 
" runs " << std::endl
 static bool isFirstEvent(EventStore *event)
Whether the event is the first event to be processed. 
 
const std::string & name() const
Get the component name. 
 
void end() override
Called after data processing for clean up. 
 
std::size_t uid() const
Get the event unique id. 
 
void init() override
Called at the begin of the job before anything is read. 
 
void processEvent(EventStore *evt) override
Called for every event - the working horse. 
 
#define MARLINMT_DECLARE_PROCESSOR(Class)
 
void setDescription(const std::string &desc)
Set the component description. 
 
void processRunHeader(RunHeader *run) override
Called for every run. 
 
void printEndMessage() const
Test method for const. 
 
Simple processor for testing. 
 
const std::string & verbosity() const
Get the verbosity level. 
 
static void setReturnValue(const Processor *const proc, EventStore *event, bool value)
Set the processor return value. 
 
void printParameters() const
Print the component parameters.