1 #ifndef __PARTPROPSVC_H__
2 #define __PARTPROPSVC_H__
4 #include "GaudiKernel/Service.h"
5 #include "GaudiKernel/IPartPropSvc.h"
6 #include "HepPDT/ParticleDataTable.hh"
7 #include "HepPDT/TableBuilder.hh"
37 HepPDT::ParticleDataTable *
PDT()
override;
40 const std::string&)
override;
47 using inputFunPtr = bool(*)(std::istream&,HepPDT::TableBuilder&);
50 std::vector<std::pair<std::string,inputFunPtr>>
m_inputs;
53 HepPDT::ProcessUnknownID*
m_upid =
nullptr;
56 std::unique_ptr<HepPDT::ParticleDataTable>
m_pdt;
Definition of the MsgStream class used to transmit messages.
StatusCode initialize() override
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
inputFunPtr parseTableType(const std::string &)
std::unique_ptr< HepPDT::ParticleDataTable > m_pdt
PartPropSvc(const std::string &name, ISvcLocator *svc)
StatusCode finalize() override
HepPDT::ProcessUnknownID * m_upid
This class is used for returning status codes from appropriate routines.
bool(*)(std::istream &, HepPDT::TableBuilder &) inputFunPtr
~PartPropSvc() override=default
HepPDT::ParticleDataTable * PDT() override
Base class used to extend a class implementing other interfaces.
std::vector< std::pair< std::string, inputFunPtr > > m_inputs
void setUnknownParticleHandler(HepPDT::ProcessUnknownID *, const std::string &) override
StringProperty m_pdtFiles