Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoTracker
RingESSource
interface
RingESSource.h
Go to the documentation of this file.
1
#ifndef RECOTRACKER_RINGESSOURCE_H
2
#define RECOTRACKER_RINGESSOURCE_H
3
4
//
5
// Package: RecoTracker/RingESSource
6
// Class: RingESSource
7
//
8
// Description: Reads in ASCII dump of Rings
9
// and provides it to the event.
10
//
11
// Original Author: Oliver Gutsche, gutsche@fnal.gov
12
// Created: Thu Oct 5 01:35:14 UTC 2006
13
//
14
// $Author: gutsche $
15
// $Date: 2007/03/15 20:16:47 $
16
// $Revision: 1.2 $
17
//
18
19
// system include files
20
#include <memory>
21
#include <string>
22
23
// user include files
24
#include "
FWCore/Framework/interface/SourceFactory.h
"
25
#include "
FWCore/Framework/interface/ESProducer.h
"
26
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
27
28
#include "
FWCore/Framework/interface/ESHandle.h
"
29
30
#include "
RecoTracker/RingRecord/interface/Rings.h
"
31
#include "
RecoTracker/RingRecord/interface/RingRecord.h
"
32
33
//
34
// class declaration
35
//
36
37
class
RingESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
38
39
public
:
40
41
RingESSource
(
const
edm::ParameterSet
&);
42
~RingESSource
();
43
44
typedef
std::auto_ptr<Rings>
ReturnType
;
45
46
ReturnType
produce
(
const
RingRecord
&);
47
48
protected
:
49
50
virtual
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
const
edm::IOVSyncValue
&,
edm::ValidityInterval
&);
51
52
private
:
53
54
// ----------member data ---------------------------
55
std::string
fileName_
;
56
Rings
*
rings_
;
57
58
};
59
60
#endif
edm::ValidityInterval
Definition:
ValidityInterval.h:28
RingESSource::ReturnType
std::auto_ptr< Rings > ReturnType
Definition:
RingESSource.h:44
RingESSource::produce
ReturnType produce(const RingRecord &)
Definition:
RingESSource.cc:36
RingESSource::~RingESSource
~RingESSource()
Definition:
RingESSource.cc:30
edm::ESProducer
Definition:
ESProducer.h:97
RingESSource::RingESSource
RingESSource(const edm::ParameterSet &)
Definition:
RingESSource.cc:19
RingRecord.h
RingRecord
Definition:
RingRecord.h:21
RingESSource::rings_
Rings * rings_
Definition:
RingESSource.h:56
ESHandle.h
Rings
Definition:
Rings.h:27
RingESSource::fileName_
std::string fileName_
Definition:
RingESSource.h:55
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
RingESSource::setIntervalFor
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
Definition:
RingESSource.cc:47
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:34
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:35
RingESSource
Definition:
RingESSource.h:37
Rings.h
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.5