CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
HepPDTESSource.h
Go to the documentation of this file.
1 #ifndef HepPDTESSource_h
2 #define HepPDTESSource_h
3 // -*- C++ -*-
4 //
5 // Package: HepPDTESSource
6 // Class: HepPDTESSource
7 //
16 //
17 // Original Author: Luca Lista
18 // Created: Fri Mar 10 15:58:18 CET 2006
19 //
23 #include "HepPDT/ParticleDataTable.hh"
24 #include "HepPDT/TableBuilder.hh"
26 #include <climits>
27 #include <fstream>
28 #include <memory>
29 
31 public:
35  ~HepPDTESSource() override;
39  typedef std::unique_ptr<PDT> ReturnType;
41  ReturnType produce(const PDTRecord &);
44  const edm::IOVSyncValue &,
45  edm::ValidityInterval &) override;
46 
47 private:
49 };
50 #endif
HepPDT::ParticleDataTable PDT
define the particle data table type
HepPDT::ParticleDataTable ParticleDataTable
edm::FileInPath pdtFileName
HepPDTESSource(const edm::ParameterSet &)
constructor from parameter set
~HepPDTESSource() override
destructor
std::unique_ptr< PDT > ReturnType
define the return type
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
set validity interval
ReturnType produce(const PDTRecord &)
return the particle table