ATLAS Offline Software
Loading...
Searching...
No Matches
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
13
14class IdentifierHash;
16class HWIdentifier;
17
19
20private:
21 LArDSPThresholdsFlat(); //private default constructor
22
23public:
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
40private:
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
51CLASS_DEF( LArDSPThresholdsFlat, 194681315 ,1 )
52
54#endif
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Header file for AthHistogramAlgorithm.
An AttributeList represents a logical row of attributes in a metadata table.
This is a "hash" representation of an Identifier.
LArCondFlatBase(const std::string &name)
void readBlob(const AthenaAttributeList *attr)
float trigSumThrByHash(const IdentifierHash &h) const
float tQThrByHash(const IdentifierHash &h) const
float samplesThrByHash(const IdentifierHash &h) const
float trigSumThr(const HWIdentifier &CellID) const
float samplesThr(const HWIdentifier &CellID) const
float tQThr(const HWIdentifier &CellID) const