The Gaudi Framework
master (181af51f)
Loading...
Searching...
No Matches
PartPropAlg.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 2023-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#pragma once
12
13
#include <
Gaudi/Algorithm.h
>
14
15
#include <
Gaudi/Interfaces/IParticlePropertySvc.h
>
16
#include <
Gaudi/ParticleID.h
>
17
#include <
Gaudi/ParticleProperty.h
>
18
19
namespace
Gaudi
{
20
namespace
TestSuite
{
26
class
PartPropAlg
:
public
Gaudi::Algorithm
{
27
28
public
:
29
PartPropAlg
(
const
std::string&
name
,
ISvcLocator
* pSvcLocator );
30
StatusCode
initialize
()
override
;
31
StatusCode
execute
(
const
EventContext
& ctx )
const override
;
32
StatusCode
finalize
()
override
;
33
34
const
Gaudi::Interfaces::IParticlePropertySvc
*
ppSvc
()
const
;
35
36
private
:
37
// the pointer to new particle property service
38
mutable
SmartIF<Gaudi::Interfaces::IParticlePropertySvc>
m_ppSvc
;
// new part.property.svc
39
};
40
}
// namespace TestSuite
41
}
// namespace Gaudi
ParticleProperty.h
Algorithm.h
IParticlePropertySvc.h
ParticleID.h
EventContext
This class represents an entry point to all the event specific data.
Definition
EventContext.h:34
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition
Algorithm.h:87
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition
Algorithm.cpp:529
Gaudi::Interfaces::IParticlePropertySvc
The abstract interface to Particle Property Service.
Definition
IParticlePropertySvc.h:29
Gaudi::TestSuite::PartPropAlg::finalize
StatusCode finalize() override
Definition
PartPropAlg.cpp:26
Gaudi::TestSuite::PartPropAlg::m_ppSvc
SmartIF< Gaudi::Interfaces::IParticlePropertySvc > m_ppSvc
Definition
PartPropAlg.h:38
Gaudi::TestSuite::PartPropAlg::initialize
StatusCode initialize() override
Definition
PartPropAlg.cpp:18
Gaudi::TestSuite::PartPropAlg::ppSvc
const Gaudi::Interfaces::IParticlePropertySvc * ppSvc() const
Definition
PartPropAlg.cpp:33
Gaudi::TestSuite::PartPropAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
PartPropAlg.cpp:44
Gaudi::TestSuite::PartPropAlg::PartPropAlg
PartPropAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
PartPropAlg.cpp:15
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition
ISvcLocator.h:42
SmartIF
Small smart pointer class with automatic reference counting for IInterface.
Definition
SmartIF.h:28
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
Gaudi::TestSuite
Definition
ConditionAccessorHolder.h:21
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition
__init__.py:1
GaudiTestSuite
src
PartProp
PartPropAlg.h
Generated on Wed Oct 8 2025 09:53:38 for The Gaudi Framework by
1.13.1