CalibCalorimetry
CaloMiscalibTools
interface
CaloMiscalibToolsMC.h
Go to the documentation of this file.
1
#ifndef _CALOMISCALIBTOOLSMC_H
2
#define _CALOMISCALIBTOOLSMC_H
3
4
// -*- C++ -*-
5
//
6
// Package: CaloMiscalibToolsMC
7
// Class: CaloMiscalibToolsMC
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/ESHandle.h
"
40
#include "
FWCore/Framework/interface/EventSetup.h
"
41
#include "
CondFormats/EcalObjects/interface/EcalIntercalibConstantsMC.h
"
42
#include "
CondFormats/DataRecord/interface/EcalIntercalibConstantsMCRcd.h
"
43
#include "
CalibCalorimetry/CaloMiscalibTools/interface/CaloMiscalibMapEcal.h
"
44
45
//
46
// class decleration
47
//
48
49
class
CaloMiscalibToolsMC
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
50
public
:
51
CaloMiscalibToolsMC
(
const
edm::ParameterSet
&);
52
~CaloMiscalibToolsMC
()
override
;
53
54
typedef
std::unique_ptr<EcalIntercalibConstantsMC>
ReturnType
;
55
56
ReturnType
produce
(
const
EcalIntercalibConstantsMCRcd
&);
57
58
private
:
59
// ----------member data ---------------------------
60
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
61
const
edm::IOVSyncValue
&,
62
edm::ValidityInterval
&)
override
;
63
64
std::string
barrelfile_
;
65
std::string
endcapfile_
;
66
std::string
barrelfileinpath_
;
67
std::string
endcapfileinpath_
;
68
};
69
70
#endif
CaloMiscalibToolsMC::barrelfileinpath_
std::string barrelfileinpath_
Definition:
CaloMiscalibToolsMC.h:66
EcalIntercalibConstantsMC.h
CaloMiscalibToolsMC::endcapfileinpath_
std::string endcapfileinpath_
Definition:
CaloMiscalibToolsMC.h:67
ESHandle.h
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
CaloMiscalibToolsMC::barrelfile_
std::string barrelfile_
Definition:
CaloMiscalibToolsMC.h:64
CaloMiscalibToolsMC::CaloMiscalibToolsMC
CaloMiscalibToolsMC(const edm::ParameterSet &)
Definition:
CaloMiscalibToolsMC.cc:35
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
MakerMacros.h
EcalIntercalibConstantsMCRcd.h
CaloMiscalibToolsMC::ReturnType
std::unique_ptr< EcalIntercalibConstantsMC > ReturnType
Definition:
CaloMiscalibToolsMC.h:54
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CaloMiscalibMapEcal.h
SourceFactory.h
CaloMiscalibToolsMC::~CaloMiscalibToolsMC
~CaloMiscalibToolsMC() override
Definition:
CaloMiscalibToolsMC.cc:57
EcalIntercalibConstantsMCRcd
Definition:
EcalIntercalibConstantsMCRcd.h:5
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
CaloMiscalibToolsMC::endcapfile_
std::string endcapfile_
Definition:
CaloMiscalibToolsMC.h:65
CaloMiscalibToolsMC::produce
ReturnType produce(const EcalIntercalibConstantsMCRcd &)
Definition:
CaloMiscalibToolsMC.cc:67
CaloMiscalibToolsMC
Definition:
CaloMiscalibToolsMC.h:49
Frameworkfwd.h
EventSetup.h
CaloMiscalibToolsMC::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
CaloMiscalibToolsMC.cc:84
edm::ESProducer
Definition:
ESProducer.h:101
ParameterSet.h
Generated for CMSSW Reference Manual by
1.8.16