ATLAS Offline Software
Loading...
Searching...
No Matches
IPileUpTool Class Referenceabstract

#include <IPileUpTool.h>

Inheritance diagram for IPileUpTool:
Collaboration diagram for IPileUpTool:

Public Member Functions

virtual StatusCode prepareEvent (const EventContext &, unsigned int)
 called before the bunchXing loop
virtual StatusCode processBunchXing (int bunchXing, SubEventIterator bSubEvents, SubEventIterator eSubEvents)=0
 called for each active bunch-crossing (time in ns)
virtual bool toProcess (int bunchXing) const =0
 flags whether this tool is "live" for bunchXing (time in ns) implemented by default in PileUpToolBase as FirstXing<=bunchXing<=LastXing
virtual StatusCode mergeEvent (const EventContext &)
 called at the end of the bunchXing loop
virtual StatusCode processAllSubEvents (const EventContext &ctx)=0
 alternative interface which uses the PileUpMergeSvc to obtain all the required SubEvents.
virtual bool filterPassed () const =0
 flags whether the event should be removed or not
virtual void resetFilter ()=0
 reset the filter
 DeclareInterfaceID (IPileUpTool, 1, 0)
 Creates the InterfaceID and interfaceID() method.

Detailed Description

Definition at line 24 of file IPileUpTool.h.

Member Function Documentation

◆ DeclareInterfaceID()

IPileUpTool::DeclareInterfaceID ( IPileUpTool ,
1 ,
0  )

Creates the InterfaceID and interfaceID() method.

◆ filterPassed()

virtual bool IPileUpTool::filterPassed ( ) const
pure virtual

flags whether the event should be removed or not

◆ mergeEvent()

virtual StatusCode IPileUpTool::mergeEvent ( const EventContext & )
inlinevirtual

called at the end of the bunchXing loop

Reimplemented in HGTD_DigitizationTool, and TRTDigitizationTool.

Definition at line 36 of file IPileUpTool.h.

36{ return StatusCode::SUCCESS; }

◆ prepareEvent()

virtual StatusCode IPileUpTool::prepareEvent ( const EventContext & ,
unsigned int  )
inlinevirtual

called before the bunchXing loop

Reimplemented in HGTD_DigitizationTool, and TRTDigitizationTool.

Definition at line 27 of file IPileUpTool.h.

27{ return StatusCode::SUCCESS; }

◆ processAllSubEvents()

virtual StatusCode IPileUpTool::processAllSubEvents ( const EventContext & ctx)
pure virtual

alternative interface which uses the PileUpMergeSvc to obtain all the required SubEvents.

Implemented in HGTD_DigitizationTool, and TRTDigitizationTool.

◆ processBunchXing()

virtual StatusCode IPileUpTool::processBunchXing ( int bunchXing,
SubEventIterator bSubEvents,
SubEventIterator eSubEvents )
pure virtual

called for each active bunch-crossing (time in ns)

Implemented in HGTD_DigitizationTool, and TRTDigitizationTool.

◆ resetFilter()

virtual void IPileUpTool::resetFilter ( )
pure virtual

reset the filter

◆ toProcess()

virtual bool IPileUpTool::toProcess ( int bunchXing) const
pure virtual

flags whether this tool is "live" for bunchXing (time in ns) implemented by default in PileUpToolBase as FirstXing<=bunchXing<=LastXing


The documentation for this class was generated from the following file: