ATLAS Offline Software
TileExpertToolEmscale.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TILECONDITIONS_TILEEXPERTTOOLEMSCALE_H
6 #define TILECONDITIONS_TILEEXPERTTOOLEMSCALE_H
7 
22 // Tile includes
25 
27  public:
28 
29  static const InterfaceID& interfaceID();
30  TileExpertToolEmscale(const std::string& type, const std::string& name, const IInterface* parent);
31  virtual ~TileExpertToolEmscale() {};
32 
33  float channelCalib(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float amplitude
34  , TileRawChannelUnit::UNIT rawDataUnitIn, TileRawChannelUnit::UNIT rawDataUnitOut) const;
35 
36  float doCalibEms(unsigned int drawerIdx, unsigned int channel, float amplitude) const;
37  float doCalibCes(unsigned int drawerIdx, unsigned int channel, float amplitude, bool applyLasCorr = true) const;
38  float doCalibLas(unsigned int drawerIdx, unsigned int channel, float amplitude) const;
39  float doCalibCis(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float amplitude) const;
40 
41  float channelCalibOnl(unsigned int drawerIdx, unsigned int channel, unsigned int adc
42  , float amplitude, TileRawChannelUnit::UNIT onlUnit) const;
43 
44  float doCalibEmsOnl(unsigned int drawerIdx, unsigned int channel, float amplitude) const;
45  float doCalibCesOnl(unsigned int drawerIdx, unsigned int channel, float amplitude, bool applyLasCorr = true) const;
46  float doCalibLasOnl(unsigned int drawerIdx, unsigned int channel, float amplitude) const;
47  float doCalibCisOnl(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float amplitude) const;
48 
49  float undoOnlCalib(unsigned int drawerIdx, unsigned int channel, unsigned int adc
50  , float amplitude, TileRawChannelUnit::UNIT onlUnit) const;
51 
52  float getLasPartition(unsigned int drawerIdx) const;
53  void setEmOptions(const TileEmscaleCalibOptions& emOptions);
54 
55  private:
56 
59 
60 };
61 
62 #endif
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
TileExpertToolEmscale::m_emOptions
TileEmscaleCalibOptions m_emOptions
Definition: TileExpertToolEmscale.h:58
TileEmscaleCalibOptions.h
TileExpertToolEmscale::doCalibCisOnl
float doCalibCisOnl(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float amplitude) const
Definition: TileExpertToolEmscale.cxx:241
TileExpertToolEmscale::doCalibEmsOnl
float doCalibEmsOnl(unsigned int drawerIdx, unsigned int channel, float amplitude) const
Definition: TileExpertToolEmscale.cxx:205
TileCondToolEmscale.h
TileExpertToolEmscale::m_setOnceCounter
bool m_setOnceCounter
Definition: TileExpertToolEmscale.h:57
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TileExpertToolEmscale::channelCalib
float channelCalib(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float amplitude, TileRawChannelUnit::UNIT rawDataUnitIn, TileRawChannelUnit::UNIT rawDataUnitOut) const
Definition: TileExpertToolEmscale.cxx:31
TileEmscaleCalibOptions
Class for encoding Tile calibration options into a bit map.
Definition: TileEmscaleCalibOptions.h:24
TileRawChannelUnit::UNIT
UNIT
Definition: TileRawChannelUnit.h:16
TileExpertToolEmscale::doCalibLasOnl
float doCalibLasOnl(unsigned int drawerIdx, unsigned int channel, float amplitude) const
Definition: TileExpertToolEmscale.cxx:229
TileExpertToolEmscale::interfaceID
static const InterfaceID & interfaceID()
Definition: TileExpertToolEmscale.cxx:14
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TileExpertToolEmscale::doCalibCes
float doCalibCes(unsigned int drawerIdx, unsigned int channel, float amplitude, bool applyLasCorr=true) const
Definition: TileExpertToolEmscale.cxx:116
TileExpertToolEmscale::undoOnlCalib
float undoOnlCalib(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float amplitude, TileRawChannelUnit::UNIT onlUnit) const
Definition: TileExpertToolEmscale.cxx:253
TileCondToolEmscale
Calibration of TileCal channels and access to calibration factors.
Definition: TileCondToolEmscale.h:58
TileExpertToolEmscale::doCalibLas
float doCalibLas(unsigned int drawerIdx, unsigned int channel, float amplitude) const
Definition: TileExpertToolEmscale.cxx:128
TileExpertToolEmscale::TileExpertToolEmscale
TileExpertToolEmscale(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TileExpertToolEmscale.cxx:20
TileExpertToolEmscale::channelCalibOnl
float channelCalibOnl(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float amplitude, TileRawChannelUnit::UNIT onlUnit) const
Definition: TileExpertToolEmscale.cxx:166
TileExpertToolEmscale::doCalibCis
float doCalibCis(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float amplitude) const
Definition: TileExpertToolEmscale.cxx:147
TileExpertToolEmscale::~TileExpertToolEmscale
virtual ~TileExpertToolEmscale()
Definition: TileExpertToolEmscale.h:31
TileExpertToolEmscale::doCalibEms
float doCalibEms(unsigned int drawerIdx, unsigned int channel, float amplitude) const
Definition: TileExpertToolEmscale.cxx:105
ReadFloatFromCool.adc
adc
Definition: ReadFloatFromCool.py:48
TileExpertToolEmscale::setEmOptions
void setEmOptions(const TileEmscaleCalibOptions &emOptions)
Definition: TileExpertToolEmscale.cxx:296
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TileExpertToolEmscale
(For experts only) Calibration of TileCal channels and access to calibration factors.
Definition: TileExpertToolEmscale.h:26
TileExpertToolEmscale::doCalibCesOnl
float doCalibCesOnl(unsigned int drawerIdx, unsigned int channel, float amplitude, bool applyLasCorr=true) const
Definition: TileExpertToolEmscale.cxx:217
TileExpertToolEmscale::getLasPartition
float getLasPartition(unsigned int drawerIdx) const
Definition: TileExpertToolEmscale.cxx:284