The Gaudi Framework  master (37c0b60a)
PartPropAlg.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 2023-2024 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 #ifndef GAUDIEXAMPLES_PARTPROPALG_H
12 #define GAUDIEXAMPLES_PARTPROPALG_H
13 
14 #include <Gaudi/Algorithm.h>
15 
17 #include <Gaudi/ParticleID.h>
18 #include <Gaudi/ParticleProperty.h>
19 
20 namespace Gaudi {
21  namespace TestSuite {
27  class PartPropAlg : public Gaudi::Algorithm {
28 
29  public:
30  PartPropAlg( const std::string& name, ISvcLocator* pSvcLocator );
31  StatusCode initialize() override;
32  StatusCode execute( const EventContext& ctx ) const override;
33  StatusCode finalize() override;
34 
36 
37  private:
38  // the pointer to new particle property service
40  };
41  } // namespace TestSuite
42 } // namespace Gaudi
43 
44 #endif // GAUDIEXAMPLES_PARTPROPALG_H
Gaudi::TestSuite::PartPropAlg::m_ppSvc
SmartIF< Gaudi::Interfaces::IParticlePropertySvc > m_ppSvc
Definition: PartPropAlg.h:39
std::string
STL class.
Gaudi::TestSuite::PartPropAlg
an algorithm to test the particle property service
Definition: PartPropAlg.h:27
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:526
TestSuite
#define TestSuite
Definition: MakeAndConsume.cpp:658
ISvcLocator
Definition: ISvcLocator.h:46
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:65
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:90
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