L1Trigger
L1THGCal
interface
backend
HGCalTowerMap2DImpl.h
Go to the documentation of this file.
1
#ifndef __L1Trigger_L1THGCal_HGCalTowerMap2DImpl_h__
2
#define __L1Trigger_L1THGCal_HGCalTowerMap2DImpl_h__
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
6
#include "
FWCore/Framework/interface/EventSetup.h
"
7
8
#include "
DataFormats/L1THGCal/interface/HGCalTriggerCell.h
"
9
#include "
DataFormats/L1THGCal/interface/HGCalTowerMap.h
"
10
#include "
L1Trigger/L1THGCal/interface/HGCalTriggerTools.h
"
11
#include "
L1Trigger/L1THGCal/interface/HGCalTriggerTowerGeometryHelper.h
"
12
13
class
HGCalTowerMap2DImpl
{
14
public
:
15
HGCalTowerMap2DImpl
(
const
edm::ParameterSet
& conf);
16
17
void
resetTowerMaps
();
18
19
void
buildTowerMap2D
(
const
std::vector<
edm::Ptr<l1t::HGCalTriggerCell>
>& triggerCellsPtrs,
20
l1t::HGCalTowerMapBxCollection
& towermaps);
21
22
void
eventSetup
(
const
edm::EventSetup
& es) {
23
triggerTools_
.
eventSetup
(es);
24
towerGeometryHelper_
.
eventSetup
(es);
25
}
26
27
private
:
28
bool
useLayerWeights_
;
29
std::vector<double>
layerWeights_
;
30
HGCalTriggerTools
triggerTools_
;
31
std::unordered_map<int, l1t::HGCalTowerMap>
newTowerMaps
();
32
33
HGCalTriggerTowerGeometryHelper
towerGeometryHelper_
;
34
};
35
36
#endif
HGCalTriggerTools.h
HGCalTowerMap2DImpl::HGCalTowerMap2DImpl
HGCalTowerMap2DImpl(const edm::ParameterSet &conf)
Definition:
HGCalTowerMap2DImpl.cc:13
HGCalTriggerTools::eventSetup
void eventSetup(const edm::EventSetup &)
Definition:
HGCalTriggerTools.cc:35
MessageLogger.h
HGCalTowerMap2DImpl::layerWeights_
std::vector< double > layerWeights_
Definition:
HGCalTowerMap2DImpl.h:29
HGCalTowerMap2DImpl::triggerTools_
HGCalTriggerTools triggerTools_
Definition:
HGCalTowerMap2DImpl.h:30
HGCalTowerMap2DImpl::resetTowerMaps
void resetTowerMaps()
BXVector
Definition:
BXVector.h:15
HGCalTriggerTowerGeometryHelper.h
HGCalTowerMap2DImpl::buildTowerMap2D
void buildTowerMap2D(const std::vector< edm::Ptr< l1t::HGCalTriggerCell >> &triggerCellsPtrs, l1t::HGCalTowerMapBxCollection &towermaps)
Definition:
HGCalTowerMap2DImpl.cc:30
HGCalTowerMap2DImpl
Definition:
HGCalTowerMap2DImpl.h:13
HGCalTowerMap2DImpl::newTowerMaps
std::unordered_map< int, l1t::HGCalTowerMap > newTowerMaps()
Definition:
HGCalTowerMap2DImpl.cc:18
edm::ParameterSet
Definition:
ParameterSet.h:36
HGCalTowerMap2DImpl::useLayerWeights_
bool useLayerWeights_
Definition:
HGCalTowerMap2DImpl.h:28
edm::EventSetup
Definition:
EventSetup.h:57
edm::Ptr
Definition:
AssociationVector.h:31
HGCalTriggerTowerGeometryHelper::eventSetup
void eventSetup(const edm::EventSetup &es)
Definition:
HGCalTriggerTowerGeometryHelper.h:31
HGCalTriggerTowerGeometryHelper
Definition:
HGCalTriggerTowerGeometryHelper.h:25
HGCalTowerMap.h
EventSetup.h
HGCalTowerMap2DImpl::eventSetup
void eventSetup(const edm::EventSetup &es)
Definition:
HGCalTowerMap2DImpl.h:22
HGCalTriggerTools
Definition:
HGCalTriggerTools.h:32
HGCalTriggerCell.h
ParameterSet.h
HGCalTowerMap2DImpl::towerGeometryHelper_
HGCalTriggerTowerGeometryHelper towerGeometryHelper_
Definition:
HGCalTowerMap2DImpl.h:33
Generated for CMSSW Reference Manual by
1.8.16