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
HeterogeneousHGCalHEFCellPositionsFiller::d_conds
const hgcal_conditions::HeterogeneousHEFCellPositionsConditionsESProduct * d_conds
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.h:47
HeterogeneousHGCalHEFCellPositionsFiller::params_
const HGCalParameters * params_
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.h:51
EDGetToken.h
HeterogeneousHGCalHEFCellPositionsConditions.h
HeterogeneousHGCalHEFCellPositionsFiller
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.h:31
EDPutToken.h
EventSetup.h
HGCalGeometry.h
HeterogeneousHGCalHEFCellPositionsFiller::ddd_
const HGCalDDDConstants * ddd_
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.h:50
HGCalWaferIndex.h
KernelManagerHGCalCellPositions.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
edm::ESGetToken< HGCalGeometry, IdealGeometryRecord >
HGCalDDDConstants
Definition:
HGCalDDDConstants.h:35
ParameterSetDescription.h
ESHandle.h
HeterogeneousHGCalHEFCellPositionsConditionsRecord
Definition:
HeterogeneousHGCalHEFCellPositionsConditionsRecord.h:8
HGCalParameters
Definition:
HGCalParameters.h:15
HeterogeneousHGCalHEFCellPositionsFiller::posmap_
hgcal_conditions::positions::HGCalPositionsMapping * posmap_
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.h:48
HeterogeneousHGCalHEFCellPositionsFiller::HeterogeneousHGCalHEFCellPositionsFiller
HeterogeneousHGCalHEFCellPositionsFiller(const edm::ParameterSet &)
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.cc:3
Exception.h
HeterogeneousHGCalHEFCellPositionsFiller::set_conditions_
void set_conditions_()
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.cc:12
HeterogeneousHGCalHEFCellPositionsFiller::~HeterogeneousHGCalHEFCellPositionsFiller
~HeterogeneousHGCalHEFCellPositionsFiller() override
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.cc:9
ESProducer.h
hgcal_conditions::positions::HGCalPositionsMapping
Definition:
HGCConditions.h:147
ESTransientHandle.h
InputTag.h
hgcal_conditions::HeterogeneousHEFCellPositionsConditionsESProduct
Definition:
HGCConditions.h:196
HGCalDDDConstants.h
edm::ParameterSet
Definition:
ParameterSet.h:47
ModuleFactory.h
ConfigurationDescriptions.h
HeterogeneousHGCalHEFCellPositionsConditionsRecord.h
HeterogeneousHGCalHEFCellPositionsFiller::produce
std::unique_ptr< HeterogeneousHGCalHEFCellPositionsConditions > produce(const HeterogeneousHGCalHEFCellPositionsConditionsRecord &)
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.cc:82
HeterogeneousHGCalHEFCellPositionsFiller::geometryToken_
edm::ESGetToken< HGCalGeometry, IdealGeometryRecord > geometryToken_
Definition:
HeterogeneousHGCalHEFCellPositionsFiller.h:39
Generated for CMSSW Reference Manual by
1.8.14