test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
25
// system include files
26
#include <memory>
27
28
// user include files
29
#include "
FWCore/Framework/interface/SourceFactory.h
"
30
31
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
32
#include "
FWCore/Framework/interface/ESProducer.h
"
33
34
#include "
FWCore/Framework/interface/Event.h
"
35
#include "
FWCore/Framework/interface/MakerMacros.h
"
36
37
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
38
39
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
40
#include "
FWCore/Framework/interface/ESHandle.h
"
41
#include "
FWCore/Framework/interface/EventSetup.h
"
42
#include "
CondFormats/EcalObjects/interface/EcalIntercalibConstantsMC.h
"
43
#include "
CondFormats/DataRecord/interface/EcalIntercalibConstantsMCRcd.h
"
44
#include "
CalibCalorimetry/CaloMiscalibTools/interface/CaloMiscalibMapEcal.h
"
45
46
//
47
// class decleration
48
//
49
50
class
CaloMiscalibToolsMC
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
51
public
:
52
CaloMiscalibToolsMC
(
const
edm::ParameterSet
&);
53
~CaloMiscalibToolsMC
();
54
55
typedef
const
EcalIntercalibConstantsMC
*
ReturnType
;
56
57
ReturnType
produce
(
const
EcalIntercalibConstantsMCRcd
&);
58
private
:
59
// ----------member data ---------------------------
60
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
const
edm::IOVSyncValue
&,
edm::ValidityInterval
& );
61
62
CaloMiscalibMapEcal
map_
;
63
std::string
barrelfile_
;
64
std::string
endcapfile_
;
65
std::string
barrelfileinpath_
;
66
std::string
endcapfileinpath_
;
67
68
};
69
70
#endif
CaloMiscalibToolsMC::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
Definition:
CaloMiscalibToolsMC.cc:93
CaloMiscalibMapEcal
Definition:
CaloMiscalibMapEcal.h:18
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CaloMiscalibToolsMC::endcapfile_
std::string endcapfile_
Definition:
CaloMiscalibToolsMC.h:64
CaloMiscalibToolsMC::produce
ReturnType produce(const EcalIntercalibConstantsMCRcd &)
Definition:
CaloMiscalibToolsMC.cc:78
EcalIntercalibConstantsMCRcd.h
Event.h
MakerMacros.h
EventSetup.h
CaloMiscalibMapEcal.h
CaloMiscalibToolsMC::~CaloMiscalibToolsMC
~CaloMiscalibToolsMC()
Definition:
CaloMiscalibToolsMC.cc:63
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
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:63
CaloMiscalibToolsMC
Definition:
CaloMiscalibToolsMC.h:50
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CaloMiscalibToolsMC::barrelfileinpath_
std::string barrelfileinpath_
Definition:
CaloMiscalibToolsMC.h:65
CaloMiscalibToolsMC::map_
CaloMiscalibMapEcal map_
Definition:
CaloMiscalibToolsMC.h:62
CaloMiscalibToolsMC::endcapfileinpath_
std::string endcapfileinpath_
Definition:
CaloMiscalibToolsMC.h:66
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:36
CaloMiscalibToolsMC::ReturnType
const EcalIntercalibConstantsMC * ReturnType
Definition:
CaloMiscalibToolsMC.h:55
CaloMiscalibToolsMC::CaloMiscalibToolsMC
CaloMiscalibToolsMC(const edm::ParameterSet &)
Definition:
CaloMiscalibToolsMC.cc:36
EcalCondObjectContainer< float >
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.5