ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCOOLConditions
LArCOOLConditions
LArDSPThresholdsFlat.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//Dear emacs, this is -*-c++-*-
6
7
#ifndef LARCOOLCONDITIONS_LARDSPTHRESHOLDSFLAT_H
8
#define LARCOOLCONDITIONS_LARDSPTHRESHOLDSFLAT_H
9
10
#include "
LArCOOLConditions/LArCondFlatBase.h
"
11
#include "
AthenaKernel/CLASS_DEF.h
"
12
#include "
AthenaKernel/CondCont.h
"
13
14
class
IdentifierHash
;
15
class
AthenaAttributeList
;
16
class
HWIdentifier
;
17
18
class
LArDSPThresholdsFlat
:
public
LArCondFlatBase
{
19
20
private
:
21
LArDSPThresholdsFlat
();
//private default constructor
22
23
public
:
24
LArDSPThresholdsFlat
(
const
AthenaAttributeList
* attrList);
25
bool
good
()
const
{
return
m_isInitialized
&&
m_nChannels
>0; }
26
27
28
// retrieving DSPThresholds using online ID
29
30
float
tQThr
(
const
HWIdentifier
& CellID)
const
;
31
float
samplesThr
(
const
HWIdentifier
& CellID)
const
;
32
float
trigSumThr
(
const
HWIdentifier
& CellID)
const
;
33
34
35
float
tQThrByHash
(
const
IdentifierHash
&
h
)
const
;
36
float
samplesThrByHash
(
const
IdentifierHash
&
h
)
const
;
37
float
trigSumThrByHash
(
const
IdentifierHash
&
h
)
const
;
38
39
40
private
:
41
42
void
readBlob
(
const
AthenaAttributeList
* attr);
43
44
unsigned
m_nChannels
{};
45
const
float
*
m_ptQThr
{};
46
const
float
*
m_psamplesThr
{};
47
const
float
*
m_ptrigSumThr
{};
48
49
};
50
51
CLASS_DEF
(
LArDSPThresholdsFlat
, 194681315 ,1 )
52
53
CONDCONT_DEF
(
LArDSPThresholdsFlat
, 148006985 );
54
#endif
CondCont.h
Hold mappings of ranges to condition objects.
CONDCONT_DEF
#define CONDCONT_DEF(...)
Definition
CondCont.h:1413
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
LArCondFlatBase.h
h
Header file for AthHistogramAlgorithm.
AthenaAttributeList
An AttributeList represents a logical row of attributes in a metadata table.
Definition
PersistentDataModel/PersistentDataModel/AthenaAttributeList.h:46
HWIdentifier
Definition
HWIdentifier.h:13
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
LArCondFlatBase::LArCondFlatBase
LArCondFlatBase(const std::string &name)
Definition
LArCondFlatBase.cxx:19
LArCondFlatBase::m_isInitialized
bool m_isInitialized
Definition
LArCondFlatBase.h:24
LArDSPThresholdsFlat
Definition
LArDSPThresholdsFlat.h:18
LArDSPThresholdsFlat::m_psamplesThr
const float * m_psamplesThr
Definition
LArDSPThresholdsFlat.h:46
LArDSPThresholdsFlat::readBlob
void readBlob(const AthenaAttributeList *attr)
Definition
LArDSPThresholdsFlat.cxx:73
LArDSPThresholdsFlat::trigSumThrByHash
float trigSumThrByHash(const IdentifierHash &h) const
Definition
LArDSPThresholdsFlat.cxx:65
LArDSPThresholdsFlat::tQThrByHash
float tQThrByHash(const IdentifierHash &h) const
Definition
LArDSPThresholdsFlat.cxx:41
LArDSPThresholdsFlat::m_ptrigSumThr
const float * m_ptrigSumThr
Definition
LArDSPThresholdsFlat.h:47
LArDSPThresholdsFlat::samplesThrByHash
float samplesThrByHash(const IdentifierHash &h) const
Definition
LArDSPThresholdsFlat.cxx:53
LArDSPThresholdsFlat::m_ptQThr
const float * m_ptQThr
Definition
LArDSPThresholdsFlat.h:45
LArDSPThresholdsFlat::trigSumThr
float trigSumThr(const HWIdentifier &CellID) const
Definition
LArDSPThresholdsFlat.cxx:61
LArDSPThresholdsFlat::LArDSPThresholdsFlat
LArDSPThresholdsFlat()
Definition
LArDSPThresholdsFlat.cxx:13
LArDSPThresholdsFlat::samplesThr
float samplesThr(const HWIdentifier &CellID) const
Definition
LArDSPThresholdsFlat.cxx:49
LArDSPThresholdsFlat::tQThr
float tQThr(const HWIdentifier &CellID) const
Definition
LArDSPThresholdsFlat.cxx:37
LArDSPThresholdsFlat::good
bool good() const
Definition
LArDSPThresholdsFlat.h:25
LArDSPThresholdsFlat::m_nChannels
unsigned m_nChannels
Definition
LArDSPThresholdsFlat.h:44
Generated on
for ATLAS Offline Software by
1.17.0