L1Trigger
L1THGCal
interface
concentrator
HGCalConcentratorProcessorSelection.h
Go to the documentation of this file.
1
#ifndef __L1Trigger_L1THGCal_HGCalConcentratorProcessorSelection_h__
2
#define __L1Trigger_L1THGCal_HGCalConcentratorProcessorSelection_h__
3
4
#include "
L1Trigger/L1THGCal/interface/HGCalProcessorBase.h
"
5
#include "
L1Trigger/L1THGCal/interface/concentrator/HGCalConcentratorThresholdImpl.h
"
6
#include "
L1Trigger/L1THGCal/interface/concentrator/HGCalConcentratorBestChoiceImpl.h
"
7
#include "
L1Trigger/L1THGCal/interface/concentrator/HGCalConcentratorSuperTriggerCellImpl.h
"
8
#include "
L1Trigger/L1THGCal/interface/concentrator/HGCalConcentratorCoarsenerImpl.h
"
9
#include "
L1Trigger/L1THGCal/interface/concentrator/HGCalConcentratorTrigSumImpl.h
"
10
11
#include "
L1Trigger/L1THGCal/interface/HGCalTriggerTools.h
"
12
#include "
DataFormats/L1THGCal/interface/HGCalTriggerCell.h
"
13
#include "
DataFormats/L1THGCal/interface/HGCalTriggerSums.h
"
14
15
#include <utility>
16
17
class
HGCalConcentratorProcessorSelection
:
public
HGCalConcentratorProcessorBase
{
18
private
:
19
enum
SelectionType
{
thresholdSelect
,
bestChoiceSelect
,
superTriggerCellSelect
,
noSelection
};
20
21
public
:
22
HGCalConcentratorProcessorSelection
(
const
edm::ParameterSet
& conf);
23
24
void
run
(
const
edm::Handle<l1t::HGCalTriggerCellBxCollection>
& triggerCellCollInput,
25
std::pair<l1t::HGCalTriggerCellBxCollection, l1t::HGCalTriggerSumsBxCollection>& triggerCollOutput,
26
const
edm::EventSetup
& es)
override
;
27
28
private
:
29
bool
fixedDataSizePerHGCROC_
;
30
std::vector<unsigned>
coarsenTriggerCells_
;
31
static
constexpr
int
kHighDensityThickness_
= 0;
32
static
constexpr
int
kNSubDetectors_
= 3;
33
34
std::vector<SelectionType>
selectionType_
;
35
36
std::unique_ptr<HGCalConcentratorThresholdImpl>
thresholdImpl_
;
37
std::unique_ptr<HGCalConcentratorBestChoiceImpl>
bestChoiceImpl_
;
38
std::unique_ptr<HGCalConcentratorSuperTriggerCellImpl>
superTriggerCellImpl_
;
39
std::unique_ptr<HGCalConcentratorCoarsenerImpl>
coarsenerImpl_
;
40
std::unique_ptr<HGCalConcentratorTrigSumImpl>
trigSumImpl_
;
41
42
HGCalTriggerTools
triggerTools_
;
43
};
44
45
#endif
HGCalTriggerTools.h
HGCalConcentratorProcessorSelection::coarsenTriggerCells_
std::vector< unsigned > coarsenTriggerCells_
Definition:
HGCalConcentratorProcessorSelection.h:30
HGCalConcentratorProcessorSelection::kHighDensityThickness_
static constexpr int kHighDensityThickness_
Definition:
HGCalConcentratorProcessorSelection.h:31
HGCalConcentratorBestChoiceImpl.h
HGCalConcentratorProcessorSelection::thresholdImpl_
std::unique_ptr< HGCalConcentratorThresholdImpl > thresholdImpl_
Definition:
HGCalConcentratorProcessorSelection.h:36
HGCalConcentratorProcessorSelection::kNSubDetectors_
static constexpr int kNSubDetectors_
Definition:
HGCalConcentratorProcessorSelection.h:32
HGCalConcentratorProcessorSelection::HGCalConcentratorProcessorSelection
HGCalConcentratorProcessorSelection(const edm::ParameterSet &conf)
Definition:
HGCalConcentratorProcessorSelection.cc:8
HGCalConcentratorProcessorSelection::SelectionType
SelectionType
Definition:
HGCalConcentratorProcessorSelection.h:19
HGCalConcentratorProcessorSelection
Definition:
HGCalConcentratorProcessorSelection.h:17
HGCalTriggerSums.h
HGCalConcentratorProcessorSelection::fixedDataSizePerHGCROC_
bool fixedDataSizePerHGCROC_
Definition:
HGCalConcentratorProcessorSelection.h:29
edm::Handle
Definition:
AssociativeIterator.h:50
HGCalConcentratorCoarsenerImpl.h
HGCalConcentratorProcessorSelection::superTriggerCellImpl_
std::unique_ptr< HGCalConcentratorSuperTriggerCellImpl > superTriggerCellImpl_
Definition:
HGCalConcentratorProcessorSelection.h:38
HGCalConcentratorProcessorSelection::bestChoiceSelect
Definition:
HGCalConcentratorProcessorSelection.h:19
HGCalConcentratorSuperTriggerCellImpl.h
HGCalConcentratorProcessorSelection::superTriggerCellSelect
Definition:
HGCalConcentratorProcessorSelection.h:19
edm::ParameterSet
Definition:
ParameterSet.h:36
HGCalConcentratorProcessorSelection::coarsenerImpl_
std::unique_ptr< HGCalConcentratorCoarsenerImpl > coarsenerImpl_
Definition:
HGCalConcentratorProcessorSelection.h:39
edm::EventSetup
Definition:
EventSetup.h:57
HGCalConcentratorProcessorSelection::trigSumImpl_
std::unique_ptr< HGCalConcentratorTrigSumImpl > trigSumImpl_
Definition:
HGCalConcentratorProcessorSelection.h:40
HGCalProcessorBase.h
HGCalConcentratorProcessorSelection::triggerTools_
HGCalTriggerTools triggerTools_
Definition:
HGCalConcentratorProcessorSelection.h:42
HGCalTriggerTools
Definition:
HGCalTriggerTools.h:32
HGCalTriggerCell.h
HGCalConcentratorTrigSumImpl.h
HGCalConcentratorProcessorSelection::noSelection
Definition:
HGCalConcentratorProcessorSelection.h:19
HGCalConcentratorProcessorSelection::thresholdSelect
Definition:
HGCalConcentratorProcessorSelection.h:19
HGCalConcentratorProcessorSelection::run
void run(const edm::Handle< l1t::HGCalTriggerCellBxCollection > &triggerCellCollInput, std::pair< l1t::HGCalTriggerCellBxCollection, l1t::HGCalTriggerSumsBxCollection > &triggerCollOutput, const edm::EventSetup &es) override
Definition:
HGCalConcentratorProcessorSelection.cc:50
HGCalConcentratorProcessorSelection::selectionType_
std::vector< SelectionType > selectionType_
Definition:
HGCalConcentratorProcessorSelection.h:34
HGCalProcessorBaseT
Definition:
HGCalProcessorBaseT.h:10
HGCalConcentratorThresholdImpl.h
HGCalConcentratorProcessorSelection::bestChoiceImpl_
std::unique_ptr< HGCalConcentratorBestChoiceImpl > bestChoiceImpl_
Definition:
HGCalConcentratorProcessorSelection.h:37
Generated for CMSSW Reference Manual by
1.8.16