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 //
15 //
16 // Original Author: Luca Lista
17 // Created: Fri Mar 10 15:58:18 CET 2006
18 //
19 #include <memory>
20 #include <fstream>
21 #include "HepPDT/TableBuilder.hh"
22 #include "HepPDT/ParticleDataTable.hh"
28 #include <climits>
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