Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CalibCalorimetry
CaloMiscalibTools
interface
CaloMiscalibTools.h
Go to the documentation of this file.
1
#ifndef _CALOMISCALIBTOOLS_H
2
#define _CALOMISCALIBTOOLS_H
3
4
// -*- C++ -*-
5
//
6
// Package: CaloMiscalibTools
7
// Class: CaloMiscalibTools
8
//
16
//
17
// Original Author: Lorenzo AGOSTINO
18
// Created: Mon Jul 17 18:07:01 CEST 2006
19
// $Id: CaloMiscalibTools.h,v 1.3 2007/09/11 13:46:07 malgeri Exp $
20
//
21
// Modified : Luca Malgeri
22
// Date: : 11/09/2006
23
// Reason : split class definition (.h) from source code (.cc)
24
25
26
// system include files
27
#include <memory>
28
29
// user include files
30
#include "
FWCore/Framework/interface/SourceFactory.h
"
31
32
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
33
#include "
FWCore/Framework/interface/ESProducer.h
"
34
35
#include "
FWCore/Framework/interface/Event.h
"
36
#include "
FWCore/Framework/interface/MakerMacros.h
"
37
38
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
39
40
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
41
#include "
FWCore/Framework/interface/ESHandle.h
"
42
#include "
FWCore/Framework/interface/EventSetup.h
"
43
#include "
CondFormats/EcalObjects/interface/EcalIntercalibConstants.h
"
44
#include "
CondFormats/DataRecord/interface/EcalIntercalibConstantsRcd.h
"
45
#include "
CalibCalorimetry/CaloMiscalibTools/interface/CaloMiscalibMapEcal.h
"
46
47
//
48
// class decleration
49
//
50
51
class
CaloMiscalibTools
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
52
public
:
53
CaloMiscalibTools
(
const
edm::ParameterSet
&);
54
~CaloMiscalibTools
();
55
56
typedef
const
EcalIntercalibConstants
*
ReturnType
;
57
58
ReturnType
produce
(
const
EcalIntercalibConstantsRcd
&);
59
private
:
60
// ----------member data ---------------------------
61
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
const
edm::IOVSyncValue
&,
edm::ValidityInterval
& );
62
63
CaloMiscalibMapEcal
map_
;
64
std::string
barrelfile_
;
65
std::string
endcapfile_
;
66
std::string
barrelfileinpath_
;
67
std::string
endcapfileinpath_
;
68
69
};
70
71
#endif
CaloMiscalibMapEcal
Definition:
CaloMiscalibMapEcal.h:18
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CaloMiscalibTools::~CaloMiscalibTools
~CaloMiscalibTools()
Definition:
CaloMiscalibTools.cc:64
Event.h
MakerMacros.h
EventSetup.h
CaloMiscalibMapEcal.h
Frameworkfwd.h
EcalIntercalibConstantsRcd.h
edm::ESProducer
Definition:
ESProducer.h:97
ParameterSet.h
CaloMiscalibTools::map_
CaloMiscalibMapEcal map_
Definition:
CaloMiscalibTools.h:63
CaloMiscalibTools::endcapfileinpath_
std::string endcapfileinpath_
Definition:
CaloMiscalibTools.h:67
EcalIntercalibConstants.h
EcalIntercalibConstantsRcd
Definition:
EcalIntercalibConstantsRcd.h:5
CaloMiscalibTools::endcapfile_
std::string endcapfile_
Definition:
CaloMiscalibTools.h:65
ESHandle.h
CaloMiscalibTools::CaloMiscalibTools
CaloMiscalibTools(const edm::ParameterSet &)
Definition:
CaloMiscalibTools.cc:37
CaloMiscalibTools::ReturnType
const EcalIntercalibConstants * ReturnType
Definition:
CaloMiscalibTools.h:56
CaloMiscalibTools::barrelfile_
std::string barrelfile_
Definition:
CaloMiscalibTools.h:64
CaloMiscalibTools::barrelfileinpath_
std::string barrelfileinpath_
Definition:
CaloMiscalibTools.h:66
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CaloMiscalibTools::produce
ReturnType produce(const EcalIntercalibConstantsRcd &)
Definition:
CaloMiscalibTools.cc:79
CaloMiscalibTools::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
Definition:
CaloMiscalibTools.cc:94
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:34
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:35
CaloMiscalibTools
Definition:
CaloMiscalibTools.h:51
EcalCondObjectContainer
Definition:
EcalCondObjectContainer.h:9
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.5