Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
// $Id: CaloMiscalibToolsMC.h,v 1.1 2009/04/08 22:29:38 fra 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/EcalIntercalibConstantsMC.h
"
44
#include "
CondFormats/DataRecord/interface/EcalIntercalibConstantsMCRcd.h
"
45
#include "
CalibCalorimetry/CaloMiscalibTools/interface/CaloMiscalibMapEcal.h
"
46
47
//
48
// class decleration
49
//
50
51
class
CaloMiscalibToolsMC
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
52
public
:
53
CaloMiscalibToolsMC
(
const
edm::ParameterSet
&);
54
~CaloMiscalibToolsMC
();
55
56
typedef
const
EcalIntercalibConstantsMC
*
ReturnType
;
57
58
ReturnType
produce
(
const
EcalIntercalibConstantsMCRcd
&);
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
CaloMiscalibToolsMC::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
Definition:
CaloMiscalibToolsMC.cc:94
CaloMiscalibMapEcal
Definition:
CaloMiscalibMapEcal.h:18
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CaloMiscalibToolsMC::endcapfile_
std::string endcapfile_
Definition:
CaloMiscalibToolsMC.h:65
CaloMiscalibToolsMC::produce
ReturnType produce(const EcalIntercalibConstantsMCRcd &)
Definition:
CaloMiscalibToolsMC.cc:79
EcalIntercalibConstantsMCRcd.h
Event.h
MakerMacros.h
EventSetup.h
CaloMiscalibMapEcal.h
CaloMiscalibToolsMC::~CaloMiscalibToolsMC
~CaloMiscalibToolsMC()
Definition:
CaloMiscalibToolsMC.cc:64
Frameworkfwd.h
EcalIntercalibConstantsMCRcd
Definition:
EcalIntercalibConstantsMCRcd.h:5
edm::ESProducer
Definition:
ESProducer.h:97
ParameterSet.h
EcalIntercalibConstantsMC.h
ESHandle.h
CaloMiscalibToolsMC::barrelfile_
std::string barrelfile_
Definition:
CaloMiscalibToolsMC.h:64
CaloMiscalibToolsMC
Definition:
CaloMiscalibToolsMC.h:51
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CaloMiscalibToolsMC::barrelfileinpath_
std::string barrelfileinpath_
Definition:
CaloMiscalibToolsMC.h:66
CaloMiscalibToolsMC::map_
CaloMiscalibMapEcal map_
Definition:
CaloMiscalibToolsMC.h:63
CaloMiscalibToolsMC::endcapfileinpath_
std::string endcapfileinpath_
Definition:
CaloMiscalibToolsMC.h:67
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:34
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:35
CaloMiscalibToolsMC::ReturnType
const EcalIntercalibConstantsMC * ReturnType
Definition:
CaloMiscalibToolsMC.h:56
CaloMiscalibToolsMC::CaloMiscalibToolsMC
CaloMiscalibToolsMC(const edm::ParameterSet &)
Definition:
CaloMiscalibToolsMC.cc:37
EcalCondObjectContainer
Definition:
EcalCondObjectContainer.h:9
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.5