ATLAS Offline Software
List of all members
PileUpToolBase Class Reference

#include <PileUpToolBase.h>

Inherits extends< AthAlgTool, IPileUpTool >.

Inherited by AFP_PileUpTool, ALFA_PileUpTool, BCM_DigitizationTool, CscDigitizationTool, HGTD_DigitizationTool, HGTD_SmearedDigitizationTool [virtual], LArPileUpTool, LUCID_PileUpTool, MdtDigitizationTool, MergeCalibHitsTool, MergeGenericMuonSimHitCollTool, MergeHijingParsTool, MergeMcEventCollTool, MergeTrackRecordCollTool, MergeTruthJetsTool, MergeTruthParticlesTool, MM_DigitizationTool, MuonR4::MuonDigitizationTool, NewMergeMcEventCollTool, PixelDigitizationTool, PixelFastDigitizationTool [virtual], RpcDigitizationTool, SCT_FastDigitizationTool [virtual], SimpleMergeMcEventCollTool, SiSmearedDigitizationTool [virtual], sTgcDigitizationTool, TestPileUpTool, TgcDigitizationTool, TileHitVecToCntTool, TRTDigitizationTool, TRTFastDigitizationTool, and ZDC_PileUpTool.

Collaboration diagram for PileUpToolBase:

structors and AlgTool implementation

Gaudi::Property< int > m_firstXing
 
Gaudi::Property< int > m_lastXing
 
Gaudi::Property< int > m_vetoPileUpTruthLinks
 
bool m_filterPassed {true}
 
 PileUpToolBase (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual StatusCode initialize () override
 
virtual bool toProcess (int bunchXing) const override
 the method this base class helps implementing More...
 
virtual StatusCode processAllSubEvents (const EventContext &) override
 
virtual StatusCode processBunchXing (int, SubEventIterator, SubEventIterator) override
 
virtual bool filterPassed () const override
 dummy implementation of passing filter More...
 
virtual void resetFilter () override
 dummy implementation of filter reset More...
 
virtual StatusCode processAllSubEvents (const EventContext &ctx)=0
 dummy implementation to allow compilation while all Digitization packages are migrated to use this new interface. More...
 

Detailed Description

Definition at line 18 of file PileUpToolBase.h.

Constructor & Destructor Documentation

◆ PileUpToolBase()

PileUpToolBase::PileUpToolBase ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Definition at line 7 of file PileUpToolBase.cxx.

10  : base_class(type, name, parent)
11 {
12 }

Member Function Documentation

◆ filterPassed()

virtual bool PileUpToolBase::filterPassed ( ) const
inlineoverridevirtual

dummy implementation of passing filter

Definition at line 49 of file PileUpToolBase.h.

49 { return m_filterPassed; }

◆ initialize()

virtual StatusCode PileUpToolBase::initialize ( )
inlineoverridevirtual

◆ processAllSubEvents() [1/2]

virtual StatusCode PileUpToolBase::processAllSubEvents ( const EventContext &  )
inlineoverridevirtual

◆ processAllSubEvents() [2/2]

virtual StatusCode IPileUpTool::processAllSubEvents

dummy implementation to allow compilation while all Digitization packages are migrated to use this new interface.

◆ processBunchXing()

virtual StatusCode PileUpToolBase::processBunchXing ( int  ,
SubEventIterator  ,
SubEventIterator   
)
inlineoverridevirtual

◆ resetFilter()

virtual void PileUpToolBase::resetFilter ( )
inlineoverridevirtual

dummy implementation of filter reset

Reimplemented in MergeTruthJetsTool.

Definition at line 51 of file PileUpToolBase.h.

51 { m_filterPassed=true; }

◆ toProcess()

virtual bool PileUpToolBase::toProcess ( int  bunchXing) const
inlineoverridevirtual

the method this base class helps implementing

Reimplemented in MergeHijingParsTool, and MergeTrackRecordCollTool.

Definition at line 32 of file PileUpToolBase.h.

32  {
33  //closed interval [m_firstXing,m_lastXing]
34  return !((m_firstXing > bunchXing) || (bunchXing > m_lastXing));
35  }

Member Data Documentation

◆ m_filterPassed

bool PileUpToolBase::m_filterPassed {true}
protected

Definition at line 60 of file PileUpToolBase.h.

◆ m_firstXing

Gaudi::Property<int> PileUpToolBase::m_firstXing
protected
Initial value:
{this, "FirstXing", -999,
"First bunch-crossing in which det is live"}

Definition at line 54 of file PileUpToolBase.h.

◆ m_lastXing

Gaudi::Property<int> PileUpToolBase::m_lastXing
protected
Initial value:
{this, "LastXing", 999,
"Last bunch-crossing in which det is live"}

Definition at line 56 of file PileUpToolBase.h.

◆ m_vetoPileUpTruthLinks

Gaudi::Property<int> PileUpToolBase::m_vetoPileUpTruthLinks
protected
Initial value:
{this, "VetoPileUpTruthLinks", true,
"Ignore links to suppressed pile-up truth"}

Definition at line 58 of file PileUpToolBase.h.


The documentation for this class was generated from the following files:
PileUpToolBase::m_filterPassed
bool m_filterPassed
Definition: PileUpToolBase.h:60
PileUpToolBase::m_lastXing
Gaudi::Property< int > m_lastXing
Definition: PileUpToolBase.h:56
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
PileUpToolBase::m_firstXing
Gaudi::Property< int > m_firstXing
Definition: PileUpToolBase.h:54