CalibCalorimetry
EcalTPGTools
interface
EcalTPGScale.h
Go to the documentation of this file.
1
#ifndef ECALTPGSCALE_H
2
#define ECALTPGSCALE_H
3
4
#include "
FWCore/Framework/interface/EventSetup.h
"
5
#include "
DataFormats/EcalDigi/interface/EcalTriggerPrimitiveDigi.h
"
6
#include "
DataFormats/EcalDetId/interface/EcalTrigTowerDetId.h
"
7
8
class
EcalTPGScale
{
9
public
:
10
EcalTPGScale
();
11
~EcalTPGScale
();
12
13
void
setEventSetup
(
const
edm::EventSetup
& evtSetup);
14
15
double
getTPGInGeV
(
const
EcalTriggerPrimitiveDigi
& tpDigi);
16
double
getTPGInGeV
(
unsigned
int
ADC
,
const
EcalTrigTowerDetId
&
towerId
);
17
18
unsigned
int
getLinearizedTPG
(
unsigned
int
ADC
,
const
EcalTrigTowerDetId
&
towerId
);
19
unsigned
int
getTPGInADC
(
double
energy
,
const
EcalTrigTowerDetId
&
towerId
);
20
21
private
:
22
const
edm::EventSetup
*
setup_
;
23
};
24
25
#endif
EcalTPGScale::getTPGInGeV
double getTPGInGeV(const EcalTriggerPrimitiveDigi &tpDigi)
Definition:
EcalTPGScale.cc:18
EcalTPGScale
Definition:
EcalTPGScale.h:8
EcalTPGScale::setEventSetup
void setEventSetup(const edm::EventSetup &evtSetup)
Definition:
EcalTPGScale.cc:16
EcalTrigTowerDetId
Definition:
EcalTrigTowerDetId.h:14
EcalTriggerPrimitiveDigi.h
EcalTPGScale::getLinearizedTPG
unsigned int getLinearizedTPG(unsigned int ADC, const EcalTrigTowerDetId &towerId)
Definition:
EcalTPGScale.cc:47
ADC
Definition:
ZdcTBAnalysis.h:46
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition:
HCALHighEnergyHPDFilter_cfi.py:5
EcalTPGScale::getTPGInADC
unsigned int getTPGInADC(double energy, const EcalTrigTowerDetId &towerId)
Definition:
EcalTPGScale.cc:75
EcalTrigTowerDetId.h
edm::EventSetup
Definition:
EventSetup.h:57
EcalTPGScale::setup_
const edm::EventSetup * setup_
Definition:
EcalTPGScale.h:22
ecaldqm::towerId
unsigned towerId(DetId const &)
Definition:
EcalDQMCommonUtils.cc:79
EcalTriggerPrimitiveDigi
Definition:
EcalTriggerPrimitiveDigi.h:16
EventSetup.h
EcalTPGScale::EcalTPGScale
EcalTPGScale()
Definition:
EcalTPGScale.cc:12
EcalTPGScale::~EcalTPGScale
~EcalTPGScale()
Definition:
EcalTPGScale.cc:14
Generated for CMSSW Reference Manual by
1.8.16