void setupSortVar(Gaudi::Details::PropertyBase &)
This internal method will realize if a user sets the 'SortVariable' property.
StringProperty m_inCollKey
Input container name.
ParticleSortingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode initialize() override
Athena algorithm's initalize hook.
StringProperty m_outCollKey
The name of the output container (with SG::VIEW_ELEMENTS) with the sorted copy of input objects.
virtual StatusCode execute() override
Athena algorithm's execute hook.
bool m_setSortVar
This boolean is true if the user sets the 'SortVariable' property.
ServiceHandle< Gaudi::Interfaces::IOptionsSvc > m_jos
The job options service (will be used to forward this algs properties to the private tool)
BooleanProperty m_sortDescending
Define if the container should be sorted in a descending order (default=true)
bool m_setOutCollKey
This boolean is true if the user sets the 'OutputContainer' property.
unsigned long m_nEventsProcessed
Internal event counter.
StringProperty m_sortVar
Define by what parameter to sort (default: 'pt')
void setupSortDescending(Gaudi::Details::PropertyBase &)
This internal method will realize if a user sets the 'SortDeceding' property.
bool m_setInCollKey
This boolean is true if the user sets the 'InputContainer' property.
void setupInputContainer(Gaudi::Details::PropertyBase &)
This internal method will realize if a user sets the 'InputContainer' property.
ToolHandle< DerivationFramework::IAugmentationTool > m_tool
The ToolHandle to the private ParticleSortingTool.
bool m_setSortDescending
This boolean is true if the user sets the 'SortDescending' property.
void setupOutputContainer(Gaudi::Details::PropertyBase &)
This internal method will realize if a user sets the 'OutputContainer' property.
virtual StatusCode finalize() override
Athena algorithm's finalize hook.
virtual ~ParticleSortingAlg()
Destructor: