Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimGeneral
HepPDTESSource
interface
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 "boost/shared_ptr.hpp"
22
#include "HepPDT/TableBuilder.hh"
23
#include "HepPDT/ParticleDataTable.hh"
24
#include "
FWCore/Framework/interface/ESProducer.h
"
25
#include "
FWCore/Framework/interface/ESHandle.h
"
26
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
27
#include "
FWCore/Framework/interface/SourceFactory.h
"
28
#include "
SimGeneral/HepPDTRecord/interface/PDTRecord.h
"
29
#include <climits>
30
31
class
HepPDTESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
32
public
:
34
HepPDTESSource
(
const
edm::ParameterSet
& );
36
~HepPDTESSource
();
38
typedef
HepPDT::ParticleDataTable
PDT
;
40
typedef
std::auto_ptr<PDT>
ReturnType
;
42
ReturnType
produce
(
const
PDTRecord
& );
44
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
45
const
edm::IOVSyncValue
&,
46
edm::ValidityInterval
& );
47
48
private
:
49
edm::FileInPath
pdtFileName
;
50
};
51
#endif
HepPDTESSource::PDT
HepPDT::ParticleDataTable PDT
define the particle data table type
Definition:
HepPDTESSource.h:38
edm::ValidityInterval
Definition:
ValidityInterval.h:28
PDTRecord
Definition:
PDTRecord.h:14
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition:
ParticleDataTable.h:8
HepPDTESSource::pdtFileName
edm::FileInPath pdtFileName
Definition:
HepPDTESSource.h:49
HepPDTESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
set validity interval
Definition:
HepPDTESSource.cc:32
HepPDTESSource::HepPDTESSource
HepPDTESSource(const edm::ParameterSet &)
constructor from parameter set
Definition:
HepPDTESSource.cc:4
edm::ESProducer
Definition:
ESProducer.h:97
PDTRecord.h
ESHandle.h
HepPDTESSource::ReturnType
std::auto_ptr< PDT > ReturnType
define the return type
Definition:
HepPDTESSource.h:40
edm::FileInPath
Definition:
FileInPath.h:68
HepPDTESSource
Definition:
HepPDTESSource.h:31
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
HepPDTESSource::~HepPDTESSource
~HepPDTESSource()
destructor
Definition:
HepPDTESSource.cc:10
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
HepPDTESSource::produce
ReturnType produce(const PDTRecord &)
return the particle table
Definition:
HepPDTESSource.cc:14
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.5