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
HepPDTESSource::pdtFileName
edm::FileInPath pdtFileName
Definition: HepPDTESSource.h:49
HepPDTESSource
Definition: HepPDTESSource.h:31
ESHandle.h
edm::ValidityInterval
Definition: ValidityInterval.h:28
ESProducer.h
HepPDTESSource::~HepPDTESSource
~HepPDTESSource() override
destructor
Definition: HepPDTESSource.cc:10
edm::EventSetupRecordIntervalFinder
Definition: EventSetupRecordIntervalFinder.h:33
HepPDTESSource::ReturnType
std::unique_ptr< PDT > ReturnType
define the return type
Definition: HepPDTESSource.h:40
edm::eventsetup::EventSetupRecordKey
Definition: EventSetupRecordKey.h:30
edm::FileInPath
Definition: FileInPath.h:64
HepPDTESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
set validity interval
Definition: HepPDTESSource.cc:28
HepPDTESSource::produce
ReturnType produce(const PDTRecord &)
return the particle table
Definition: HepPDTESSource.cc:12
edm::IOVSyncValue
Definition: IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
SourceFactory.h
edm::ParameterSet
Definition: ParameterSet.h:47
HepPDTESSource::HepPDTESSource
HepPDTESSource(const edm::ParameterSet &)
constructor from parameter set
Definition: HepPDTESSource.cc:4
edm::ESProducer
Definition: ESProducer.h:104
PDTRecord.h
HepPDTESSource::PDT
HepPDT::ParticleDataTable PDT
define the particle data table type
Definition: HepPDTESSource.h:38
PDTRecord
Definition: PDTRecord.h:14
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition: ParticleDataTable.h:8