The Gaudi Framework  master (d98a2936)
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 
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 
35 
36  private:
37  // the pointer to new particle property service
39  };
40  } // namespace TestSuite
41 } // namespace Gaudi
Gaudi::TestSuite::PartPropAlg::m_ppSvc
SmartIF< Gaudi::Interfaces::IParticlePropertySvc > m_ppSvc
Definition: PartPropAlg.h:38
Gaudi::TestSuite::PartPropAlg
an algorithm to test the particle property service
Definition: PartPropAlg.h:26
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:524
ISvcLocator
Definition: ISvcLocator.h:42
Gaudi::Interfaces::IParticlePropertySvc
Definition: IParticlePropertySvc.h:29
Gaudi::TestSuite::PartPropAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition: PartPropAlg.cpp:44
ParticleID.h
IParticlePropertySvc.h
GaudiPython.Pythonizations.ctx
ctx
Definition: Pythonizations.py:578
StatusCode
Definition: StatusCode.h:64
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:87
Algorithm.h
SmartIF< Gaudi::Interfaces::IParticlePropertySvc >
Gaudi::TestSuite::PartPropAlg::initialize
StatusCode initialize() override
Definition: PartPropAlg.cpp:18
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition: __init__.py:1
EventContext
Definition: EventContext.h:34
Gaudi::TestSuite::PartPropAlg::PartPropAlg
PartPropAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: PartPropAlg.cpp:15
Gaudi::TestSuite::PartPropAlg::ppSvc
const Gaudi::Interfaces::IParticlePropertySvc * ppSvc() const
Definition: PartPropAlg.cpp:33
Gaudi::TestSuite::PartPropAlg::finalize
StatusCode finalize() override
Definition: PartPropAlg.cpp:26
ParticleProperty.h