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
//
20
// Modified : Luca Malgeri
21
// Date: : 11/09/2006
22
// Reason : split class definition (.h) from source code (.cc)
23
24
// system include files
25
#include <memory>
26
27
// user include files
28
#include "
FWCore/Framework/interface/SourceFactory.h
"
29
30
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
31
#include "
FWCore/Framework/interface/ESProducer.h
"
32
33
#include "
FWCore/Framework/interface/Event.h
"
34
#include "
FWCore/Framework/interface/MakerMacros.h
"
35
36
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
37
38
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
39
#include "
FWCore/Framework/interface/EventSetup.h
"
40
#include "
CondFormats/EcalObjects/interface/EcalIntercalibConstants.h
"
41
#include "
CondFormats/DataRecord/interface/EcalIntercalibConstantsRcd.h
"
42
#include "
CalibCalorimetry/CaloMiscalibTools/interface/CaloMiscalibMapEcal.h
"
43
44
//
45
// class decleration
46
//
47
48
class
CaloMiscalibTools
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
49
public
:
50
CaloMiscalibTools
(
const
edm::ParameterSet
&);
51
~CaloMiscalibTools
()
override
;
52
53
typedef
std::unique_ptr<EcalIntercalibConstants>
ReturnType
;
54
55
ReturnType
produce
(
const
EcalIntercalibConstantsRcd
&);
56
57
private
:
58
// ----------member data ---------------------------
59
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
60
const
edm::IOVSyncValue
&,
61
edm::ValidityInterval
&)
override
;
62
63
std::string
barrelfile_
;
64
std::string
endcapfile_
;
65
std::string
barrelfileinpath_
;
66
std::string
endcapfileinpath_
;
67
};
68
69
#endif
edm::ValidityInterval
Definition:
ValidityInterval.h:28
Event.h
CaloMiscalibTools::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
CaloMiscalibTools.cc:83
EventSetup.h
CaloMiscalibMapEcal.h
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
EcalIntercalibConstantsRcd.h
ESProducer.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
CaloMiscalibTools::endcapfileinpath_
std::string endcapfileinpath_
Definition:
CaloMiscalibTools.h:66
EcalIntercalibConstants.h
CaloMiscalibTools::ReturnType
std::unique_ptr< EcalIntercalibConstants > ReturnType
Definition:
CaloMiscalibTools.h:53
EcalIntercalibConstantsRcd
Definition:
EcalIntercalibConstantsRcd.h:5
CaloMiscalibTools::endcapfile_
std::string endcapfile_
Definition:
CaloMiscalibTools.h:64
CaloMiscalibTools::CaloMiscalibTools
CaloMiscalibTools(const edm::ParameterSet &)
Definition:
CaloMiscalibTools.cc:36
CaloMiscalibTools::barrelfile_
std::string barrelfile_
Definition:
CaloMiscalibTools.h:63
CaloMiscalibTools::barrelfileinpath_
std::string barrelfileinpath_
Definition:
CaloMiscalibTools.h:65
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CaloMiscalibTools::~CaloMiscalibTools
~CaloMiscalibTools() override
Definition:
CaloMiscalibTools.cc:58
CaloMiscalibTools::produce
ReturnType produce(const EcalIntercalibConstantsRcd &)
Definition:
CaloMiscalibTools.cc:68
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:47
CaloMiscalibTools
Definition:
CaloMiscalibTools.h:48
MakerMacros.h
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.14