How to run the Boxfinder Processor
<marlin xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ilcsoft.desy.de/marlin/marlin.xsd">
<execute>
<!--<processor name="ProgressProcessor" />-->
<processor name="BoxFinder"/>
<!--<processor name="OutputProcessor"/> -->
</execute>
<global>
<parameter name="LCIOInputFiles">
dhcLcio-Run660052.slcio
</parameter>
<!-- limit the number of processed records (run+evt): -->
<parameter name="MaxRecordNumber" value="-1" />
<parameter name="SkipNEvents" value="0" />
<parameter name="SupressCheck" value="false" />
<parameter name="GearXMLFile"> </parameter>
<parameter name="Verbosity" options="DEBUG0-4,MESSAGE0-4,WARNING0-4,ERROR0-4,SILENT"> MESSAGE </parameter>
<parameter name="RandomSeed" value="1234567890" />
</global>
<processor name="ProgressProcessor" type="DhcalProgressProcessor">
<parameter name="Interval" value="10000" />
</processor>
<processor name="BoxFinder" type="BoxEventFinder">
<parameter name="CaloHitCollections">DhcHits DhcTailCatcherHits</parameter>
<parameter name="ClusterCollection">NNClusters</parameter>
<parameter name="SkipBoxEvents" value="true" />
<parameter name="Verbosity" > MESSAGE </parameter>
</processor>
<processor name="OutputProcessor" type="LCIOOutputProcessor">
<!--Writes the current event to the specified LCIO outputfile. Needs to be the last ActiveProcessor.-->
<!-- name of output file -->
<parameter name="LCIOOutputFile" type="string"> test.slcio </parameter>
<!--write mode for output file: WRITE_APPEND or WRITE_NEW-->
<parameter name="LCIOWriteMode" type="string"> WRITE_NEW </parameter>
</processor>
</marlin>
The processor puts into each event a parameter with the name "hasBox", with a value of either 0 or 1.
Additionally, the "SkipBoxEvents" parameter can be set to true, in which case this event is not further processed and processing continues with the next event.