CMS 3D CMS Logo

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 //
24 #include "HepPDT/ParticleDataTable.hh"
25 #include "HepPDT/TableBuilder.hh"
27 #include <climits>
28 #include <fstream>
29 #include <memory>
30 
32 public:
36  ~HepPDTESSource() override;
40  typedef std::unique_ptr<PDT> ReturnType;
42  ReturnType produce(const PDTRecord &);
45  const edm::IOVSyncValue &,
46  edm::ValidityInterval &) override;
47 
48 private:
50 };
51 #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