L1Trigger
L1THGCal
interface
veryfrontend
HGCalVFELinearizationImpl.h
Go to the documentation of this file.
1
#ifndef __L1Trigger_L1THGCal_HGCalVFELinearizationImpl_h__
2
#define __L1Trigger_L1THGCal_HGCalVFELinearizationImpl_h__
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
L1Trigger/L1THGCal/interface/HGCalTriggerGeometryBase.h
"
6
7
#include "
DataFormats/HGCDigi/interface/HGCDigiCollections.h
"
8
9
#include <array>
10
#include <vector>
11
12
class
HGCalVFELinearizationImpl
{
13
public
:
14
HGCalVFELinearizationImpl
(
const
edm::ParameterSet
& conf);
15
16
void
linearize
(
const
std::vector<
HGCDataFrame<DetId, HGCSample>
>&, std::vector<std::pair<DetId, uint32_t>>&);
17
18
// Retrieve parameters
19
uint32_t
linnBits
()
const
{
return
linnBits_
; }
20
21
private
:
22
double
adcLSB_si_
;
23
double
linLSB_si_
;
24
double
adcsaturation_si_
;
25
uint32_t
tdcnBits_si_
;
26
double
tdcOnset_si_
;
27
uint32_t
adcnBits_si_
;
28
double
tdcsaturation_si_
;
29
double
tdcLSB_si_
;
30
//
31
double
adcLSB_sc_
;
32
double
linLSB_sc_
;
33
double
adcsaturation_sc_
;
34
uint32_t
tdcnBits_sc_
;
35
double
tdcOnset_sc_
;
36
uint32_t
adcnBits_sc_
;
37
double
tdcsaturation_sc_
;
38
double
tdcLSB_sc_
;
39
//
40
uint32_t
linMax_
;
41
uint32_t
linnBits_
;
42
std::vector<double>
oot_coefficients_
;
43
};
44
45
#endif
HGCalVFELinearizationImpl::tdcnBits_sc_
uint32_t tdcnBits_sc_
Definition:
HGCalVFELinearizationImpl.h:34
HGCalVFELinearizationImpl::adcsaturation_sc_
double adcsaturation_sc_
Definition:
HGCalVFELinearizationImpl.h:33
HGCalVFELinearizationImpl::adcLSB_si_
double adcLSB_si_
Definition:
HGCalVFELinearizationImpl.h:22
HGCalVFELinearizationImpl::tdcOnset_sc_
double tdcOnset_sc_
Definition:
HGCalVFELinearizationImpl.h:35
HGCalVFELinearizationImpl::tdcLSB_sc_
double tdcLSB_sc_
Definition:
HGCalVFELinearizationImpl.h:38
HGCalVFELinearizationImpl::linnBits
uint32_t linnBits() const
Definition:
HGCalVFELinearizationImpl.h:19
HGCalVFELinearizationImpl::linnBits_
uint32_t linnBits_
Definition:
HGCalVFELinearizationImpl.h:41
HGCalVFELinearizationImpl::tdcsaturation_si_
double tdcsaturation_si_
Definition:
HGCalVFELinearizationImpl.h:28
HGCalVFELinearizationImpl::tdcLSB_si_
double tdcLSB_si_
Definition:
HGCalVFELinearizationImpl.h:29
HGCalTriggerGeometryBase.h
HGCalVFELinearizationImpl::oot_coefficients_
std::vector< double > oot_coefficients_
Definition:
HGCalVFELinearizationImpl.h:42
HGCalVFELinearizationImpl::tdcnBits_si_
uint32_t tdcnBits_si_
Definition:
HGCalVFELinearizationImpl.h:25
HGCalVFELinearizationImpl::linLSB_si_
double linLSB_si_
Definition:
HGCalVFELinearizationImpl.h:23
HGCalVFELinearizationImpl::adcsaturation_si_
double adcsaturation_si_
Definition:
HGCalVFELinearizationImpl.h:24
HGCalVFELinearizationImpl::tdcOnset_si_
double tdcOnset_si_
Definition:
HGCalVFELinearizationImpl.h:26
HGCalVFELinearizationImpl::HGCalVFELinearizationImpl
HGCalVFELinearizationImpl(const edm::ParameterSet &conf)
Definition:
HGCalVFELinearizationImpl.cc:3
HGCalVFELinearizationImpl::adcnBits_sc_
uint32_t adcnBits_sc_
Definition:
HGCalVFELinearizationImpl.h:36
HGCalVFELinearizationImpl::linLSB_sc_
double linLSB_sc_
Definition:
HGCalVFELinearizationImpl.h:32
edm::ParameterSet
Definition:
ParameterSet.h:36
HGCalVFELinearizationImpl::adcLSB_sc_
double adcLSB_sc_
Definition:
HGCalVFELinearizationImpl.h:31
HGCDataFrame
Readout digi for HGC.
Definition:
HGCDataFrame.h:14
HGCDigiCollections.h
HGCalVFELinearizationImpl::adcnBits_si_
uint32_t adcnBits_si_
Definition:
HGCalVFELinearizationImpl.h:27
HGCalVFELinearizationImpl::linearize
void linearize(const std::vector< HGCDataFrame< DetId, HGCSample >> &, std::vector< std::pair< DetId, uint32_t >> &)
Definition:
HGCalVFELinearizationImpl.cc:29
HGCalVFELinearizationImpl::linMax_
uint32_t linMax_
Definition:
HGCalVFELinearizationImpl.h:40
ParameterSet.h
HGCalVFELinearizationImpl::tdcsaturation_sc_
double tdcsaturation_sc_
Definition:
HGCalVFELinearizationImpl.h:37
HGCalVFELinearizationImpl
Definition:
HGCalVFELinearizationImpl.h:12
Generated for CMSSW Reference Manual by
1.8.16