BoxEventFinder

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.
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2013-04-15 - ChristianGrefe
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CLIC All webs login

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