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();
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
HepPDT::ParticleDataTable * PDT()
~PartPropSvc() override=default
Base class used to extend a class implementing other interfaces.
void setUnknownParticleHandler(HepPDT::ProcessUnknownID *, const std::string &)
std::vector< std::pair< std::string, inputFunPtr > > m_inputs
StringProperty m_pdtFiles