Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoTracker
RoadMapESSource
interface
RoadMapESSource.h
Go to the documentation of this file.
1
#ifndef RECOTRACKER_ROADMAPESSOURCE_H
2
#define RECOTRACKER_ROADMAPESSOURCE_H
3
4
//
5
// Package: RecoTracker/RoadMapESSource
6
// Class: RoadMapESSource
7
//
8
// Description: Reads in ASCII dump of Roads object
9
// and provides it to the event.
10
//
11
// Original Author: Oliver Gutsche, gutsche@fnal.gov
12
// Created: Thu Jan 12 21:00:00 UTC 2006
13
//
14
// $Author: gutsche $
15
// $Date: 2007/03/15 20:17:09 $
16
// $Revision: 1.5 $
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/RoadMapRecord/interface/RoadMapRecord.h
"
31
#include "
RecoTracker/RoadMapRecord/interface/Roads.h
"
32
33
class
RoadMapESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
34
35
public
:
36
37
RoadMapESSource
(
const
edm::ParameterSet
&);
38
~RoadMapESSource
();
39
40
typedef
std::auto_ptr<Roads>
ReturnType
;
41
42
ReturnType
produce
(
const
RoadMapRecord
&);
43
44
protected
:
45
46
virtual
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
const
edm::IOVSyncValue
&,
edm::ValidityInterval
&);
47
48
private
:
49
50
std::string
fileName_
;
51
52
std::string
ringsLabel_
;
53
54
Roads
*
roads_
;
55
56
};
57
58
#endif
RoadMapESSource::produce
ReturnType produce(const RoadMapRecord &)
Definition:
RoadMapESSource.cc:45
edm::ValidityInterval
Definition:
ValidityInterval.h:28
RoadMapRecord
Definition:
RoadMapRecord.h:21
RoadMapESSource::fileName_
std::string fileName_
Definition:
RoadMapESSource.h:50
RoadMapESSource::ringsLabel_
std::string ringsLabel_
Definition:
RoadMapESSource.h:52
RoadMapESSource::ReturnType
std::auto_ptr< Roads > ReturnType
Definition:
RoadMapESSource.h:40
Roads
Definition:
Roads.h:34
RoadMapESSource::RoadMapESSource
RoadMapESSource(const edm::ParameterSet &)
Definition:
RoadMapESSource.cc:25
edm::ESProducer
Definition:
ESProducer.h:97
RoadMapESSource::roads_
Roads * roads_
Definition:
RoadMapESSource.h:54
ESHandle.h
RoadMapESSource
Definition:
RoadMapESSource.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
RoadMapRecord.h
ESProducer.h
Roads.h
EventSetupRecordIntervalFinder.h
RoadMapESSource::~RoadMapESSource
~RoadMapESSource()
Definition:
RoadMapESSource.cc:40
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:34
SourceFactory.h
RoadMapESSource::setIntervalFor
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
Definition:
RoadMapESSource.cc:60
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.5