1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
#ifndef _CALOMISCALIBTOOLS_H
#define _CALOMISCALIBTOOLS_H
// -*- C++ -*-
//
// Package: CaloMiscalibTools
// Class: CaloMiscalibTools
//
/**\class CaloMiscalibTools CaloMiscalibTools.cc CalibCalorimetry/CaloMiscalibTools/src/CaloMiscalibTools.cc
Description: Definition of CaloMiscalibTools
Implementation:
<Notes on implementation>
*/
//
// Original Author: Lorenzo AGOSTINO
// Created: Mon Jul 17 18:07:01 CEST 2006
//
// Modified : Luca Malgeri
// Date: : 11/09/2006
// Reason : split class definition (.h) from source code (.cc)
// system include files
#include <memory>
// user include files
#include "FWCore/Framework/interface/SourceFactory.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/ESProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "CondFormats/EcalObjects/interface/EcalIntercalibConstants.h"
#include "CondFormats/DataRecord/interface/EcalIntercalibConstantsRcd.h"
#include "CalibCalorimetry/CaloMiscalibTools/interface/CaloMiscalibMapEcal.h"
//
// class decleration
//
class CaloMiscalibTools : public edm::ESProducer, public edm::EventSetupRecordIntervalFinder {
public:
CaloMiscalibTools(const edm::ParameterSet &);
~CaloMiscalibTools() override;
typedef std::unique_ptr<EcalIntercalibConstants> ReturnType;
ReturnType produce(const EcalIntercalibConstantsRcd &);
private:
// ----------member data ---------------------------
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &,
const edm::IOVSyncValue &,
edm::ValidityInterval &) override;
std::string barrelfile_;
std::string endcapfile_;
std::string barrelfileinpath_;
std::string endcapfileinpath_;
};
#endif
|