RecoLocalCalo
HGCalRecProducers
plugins
HeterogeneousHGCalHEFCellPositionsFiller.h
Go to the documentation of this file.
1
#ifndef RecoLocalCalo_HGCalESProducers_HeterogeneousHGCalHEFCellPositionsFiller_h
2
#define RecoLocalCalo_HGCalESProducers_HeterogeneousHGCalHEFCellPositionsFiller_h
3
4
#include <iostream>
5
#include <string>
6
#include <memory>
7
#include <chrono>
8
#include <cuda_runtime.h>
9
10
#include "
FWCore/Framework/interface/ESProducer.h
"
11
#include "
FWCore/Utilities/interface/EDGetToken.h
"
12
#include "
FWCore/Utilities/interface/EDPutToken.h
"
13
#include "
FWCore/Framework/interface/ESHandle.h
"
14
#include "
FWCore/Framework/interface/ESTransientHandle.h
"
15
#include "
FWCore/Framework/interface/ModuleFactory.h
"
16
#include "
FWCore/Utilities/interface/InputTag.h
"
17
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
18
#include "
FWCore/Utilities/interface/Exception.h
"
19
#include "
FWCore/Framework/interface/EventSetup.h
"
20
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
21
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
22
23
#include "
Geometry/HGCalGeometry/interface/HGCalGeometry.h
"
24
#include "
Geometry/HGCalCommonData/interface/HGCalDDDConstants.h
"
25
#include "
Geometry/HGCalCommonData/interface/HGCalWaferIndex.h
"
26
27
#include "
CondFormats/HGCalObjects/interface/HeterogeneousHGCalHEFCellPositionsConditions.h
"
28
#include "
CondFormats/DataRecord/interface/HeterogeneousHGCalHEFCellPositionsConditionsRecord.h
"
29
#include "
RecoLocalCalo/HGCalRecProducers/plugins/KernelManagerHGCalCellPositions.h
"
30
31
class
HeterogeneousHGCalHEFCellPositionsFiller
:
public
edm::ESProducer
{
32
public
:
33
explicit
HeterogeneousHGCalHEFCellPositionsFiller
(
const
edm::ParameterSet
&);
34
~HeterogeneousHGCalHEFCellPositionsFiller
()
override
;
35
std::unique_ptr<HeterogeneousHGCalHEFCellPositionsConditions>
produce
(
36
const
HeterogeneousHGCalHEFCellPositionsConditionsRecord
&);
37
38
private
:
39
edm::ESGetToken<HGCalGeometry, IdealGeometryRecord>
geometryToken_
;
40
41
//cms::cuda::ContextState ctxState_;
42
43
//conditions (geometry, topology, ...)
44
//void geometryCallback(const IdealGeometryRecord&);
45
void
set_conditions_
();
46
47
const
hgcal_conditions::HeterogeneousHEFCellPositionsConditionsESProduct
*
d_conds
=
nullptr
;
48
hgcal_conditions::positions::HGCalPositionsMapping
*
posmap_
;
49
50
const
HGCalDDDConstants
*
ddd_
=
nullptr
;
51
const
HGCalParameters
*
params_
=
nullptr
;
52
};
53
54
#endif //RecoLocalCalo_HGCalESProducers_HeterogeneousHGCalHEFCellPositionsFiller_h
ConfigurationDescriptions.h
HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_
void set_conditions_()
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.cc:12
HeterogeneousHGCalHEFCellPositionsConditions.h
ESTransientHandle.h
ESHandle.h
HeterogeneousHGCalHEFCellPositionsFiller::~HeterogeneousHGCalHEFCellPositionsFiller
~HeterogeneousHGCalHEFCellPositionsFiller() override
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.cc:9
ESProducer.h
HeterogeneousHGCalHEFCellPositionsFiller::HeterogeneousHGCalHEFCellPositionsFiller
HeterogeneousHGCalHEFCellPositionsFiller(const edm::ParameterSet &)
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.cc:3
HeterogeneousHGCalHEFCellPositionsConditionsRecord
Definition:
HeterogeneousHGCalHEFCellPositionsConditionsRecord.h:8
HeterogeneousHGCalHEFCellPositionsFiller::posmap_
hgcal_conditions::positions::HGCalPositionsMapping * posmap_
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.h:48
HGCalDDDConstants
Definition:
HGCalDDDConstants.h:27
HeterogeneousHGCalHEFCellPositionsFiller::geometryToken_
edm::ESGetToken< HGCalGeometry, IdealGeometryRecord > geometryToken_
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.h:39
HGCalWaferIndex.h
KernelManagerHGCalCellPositions.h
ParameterSetDescription.h
EDGetToken.h
HGCalGeometry.h
edm::ParameterSet
Definition:
ParameterSet.h:47
EDPutToken.h
hgcal_conditions::positions::HGCalPositionsMapping
Definition:
HGCConditions.h:147
HeterogeneousHGCalHEFCellPositionsFiller::d_conds
const hgcal_conditions::HeterogeneousHEFCellPositionsConditionsESProduct * d_conds
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.h:47
HeterogeneousHGCalHEFCellPositionsFiller::produce
std::unique_ptr< HeterogeneousHGCalHEFCellPositionsConditions > produce(const HeterogeneousHGCalHEFCellPositionsConditionsRecord &)
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.cc:82
HeterogeneousHGCalHEFCellPositionsFiller::params_
const HGCalParameters * params_
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.h:51
HeterogeneousHGCalHEFCellPositionsFiller
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.h:31
edm::ESGetToken< HGCalGeometry, IdealGeometryRecord >
InputTag.h
HGCalParameters
Definition:
HGCalParameters.h:14
ModuleFactory.h
EventSetup.h
Exception.h
edm::ESProducer
Definition:
ESProducer.h:104
HeterogeneousHGCalHEFCellPositionsFiller::ddd_
const HGCalDDDConstants * ddd_
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.h:50
HGCalDDDConstants.h
ParameterSet.h
hgcal_conditions::HeterogeneousHEFCellPositionsConditionsESProduct
Definition:
HGCConditions.h:196
HeterogeneousHGCalHEFCellPositionsConditionsRecord.h
Generated for CMSSW Reference Manual by
1.8.16