ATLAS Offline Software
Calorimeter
CaloCondBlobObjs
CaloCondBlobObjs
CaloCondBlobFlt.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef CALOCONDBLOBOBJS_CALOCONDBLOBFLT_H
6
#define CALOCONDBLOBOBJS_CALOCONDBLOBFLT_H
7
20
#include "
CaloCondBlobObjs/CaloCondBlobDat.h
"
21
#include "
CaloCondBlobObjs/CaloCondType.h
"
22
#include <stdint.h>
23
#include <vector>
24
#include <ostream>
25
#include <iostream>
26
#include "CoralBase/Blob.h"
27
28
class
CaloCondBlobFlt
:
public
CaloCondBlobDat
<float>
29
{
30
public
:
31
33
virtual
~CaloCondBlobFlt
(){}
34
36
virtual
uint16_t
getType
()
const
{
return
CaloCondType::FLT
;}
37
39
static
CaloCondBlobFlt
*
getInstance
(
coral::Blob
&
blob
);
40
42
static
const
CaloCondBlobFlt
*
getInstance
(
const
coral::Blob
&
blob
);
43
49
float
getCalib
(
unsigned
int
channel
,
unsigned
int
adc
,
float
x
,
bool
invert=
false
)
const
;
50
51
protected
:
53
CaloCondBlobFlt
(
const
coral::Blob
&
blob
);
55
CaloCondBlobFlt
(
coral::Blob
&
blob
);
56
57
};
58
#endif
CaloCondBlobFlt::CaloCondBlobFlt
CaloCondBlobFlt(const coral::Blob &blob)
Ctor.
Definition:
CaloCondBlobFlt.cxx:26
CaloCondBlobDat
Generic template class for storing a number of "T"s for each channel/gain.
Definition:
CaloCondBlobDat.h:31
plotting.yearwise_efficiency.channel
channel
Definition:
yearwise_efficiency.py:24
CaloCondBlobFlt
Class for storing a number of floats (Flt) and functions on those.
Definition:
CaloCondBlobFlt.h:29
python.subdetectors.tile.Blob
Blob
Definition:
tile.py:17
x
#define x
CaloCondBlobFlt::~CaloCondBlobFlt
virtual ~CaloCondBlobFlt()
Dtor.
Definition:
CaloCondBlobFlt.h:33
xAOD::uint16_t
setWord1 uint16_t
Definition:
eFexEMRoI_v1.cxx:93
CaloCondBlobFlt::getType
virtual uint16_t getType() const
Returns CaloCondType::FLT.
Definition:
CaloCondBlobFlt.h:36
CaloCondType.h
CaloCondBlobFlt::getCalib
float getCalib(unsigned int channel, unsigned int adc, float x, bool invert=false) const
Returns the calibrated energy for a given channel/gain and input energy.
Definition:
CaloCondBlobFlt.cxx:53
CaloCondType::FLT
@ FLT
Enum for CaloCondBlobFlt class.
Definition:
CaloCondType.h:29
ReadFloatFromCool.adc
adc
Definition:
ReadFloatFromCool.py:48
CaloCondBlobFlt::getInstance
static CaloCondBlobFlt * getInstance(coral::Blob &blob)
Returns a pointer to a non-const CaloCondBlobFlt.
Definition:
CaloCondBlobFlt.cxx:12
CaloCondBlobDat.h
CaloCondBlobAlgs_fillNoiseFromASCII.blob
blob
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:96
Generated on Sun Dec 22 2024 21:07:52 for ATLAS Offline Software by
1.8.18