Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v36r16 (ea80daf8)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
PartPropExa.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 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_PARTPROPEXA_H
12 #define GAUDIEXAMPLES_PARTPROPEXA_H 1
13 
14 #include "GaudiKernel/Algorithm.h"
15 #include "HepPDT/CommonParticleData.hh"
16 #include "HepPDT/ProcessUnknownID.hh"
17 
18 class IPartPropSvc;
19 
20 class PartPropExa : public Algorithm {
21 
22 public:
24  StatusCode initialize() override;
25  StatusCode execute() override;
26 
27 private:
28  IPartPropSvc* m_pps{ nullptr };
29 };
30 
31 namespace HepPDT {
32  class TestUnknownID : public ProcessUnknownID {
33  public:
34  TestUnknownID() = default;
35 
36  CommonParticleData* processUnknownID( ParticleID, const ParticleDataTable& pdt ) override;
37  };
38 } // namespace HepPDT
39 
40 #endif // GAUDIEXAMPLES_PARTPROPEXA_H
PartPropExa::execute
StatusCode execute() override
Definition: PartPropExa.cpp:52
PartPropExa::initialize
StatusCode initialize() override
Definition: PartPropExa.cpp:26
IPartPropSvc
Definition: IPartPropSvc.h:30
Algorithm
Alias for backward compatibility.
Definition: Algorithm.h:58
Algorithm.h
PartPropExa::m_pps
IPartPropSvc * m_pps
Definition: PartPropExa.h:28
HepPDT::TestUnknownID::processUnknownID
CommonParticleData * processUnknownID(ParticleID, const ParticleDataTable &pdt) override
Definition: PartPropExa.cpp:58
HepPDT
Definition: PartPropExa.cpp:56
StatusCode
Definition: StatusCode.h:65
HepPDT::TestUnknownID::TestUnknownID
TestUnknownID()=default
HepPDT::TestUnknownID
Definition: PartPropExa.h:32
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition: Algorithm.h:101
PartPropExa
Definition: PartPropExa.h:20