ATLAS Offline Software
LArDSPThresholdsFlat.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 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 
14 
16 
18 
19 private:
20  LArDSPThresholdsFlat(); //private default constructor
21 
22 public:
24 
25  //~LArDSPThresholdsFlat();
26 
27  bool good() const { return m_isInitialized && m_nChannels>0; }
28 
29 
30  // retrieving DSPThresholds using online ID
31 
32  float tQThr(const HWIdentifier& CellID) const;
33  float samplesThr(const HWIdentifier& CellID) const;
34  float trigSumThr(const HWIdentifier& CellID) const;
35 
36 
37  float tQThrByHash(const IdentifierHash& h) const;
38  float samplesThrByHash(const IdentifierHash& h) const;
39  float trigSumThrByHash(const IdentifierHash& h) const;
40 
41  //const std::string& name() { return m_setName;}
42 
43 private:
44 
45  void readBlob(const AthenaAttributeList* attr);
46 
47  unsigned m_nChannels;
48  const float* m_ptQThr;
49  const float* m_psamplesThr;
50  const float* m_ptrigSumThr;
51  //std::string m_setName;
52 
53 };
54 
55 CLASS_DEF( LArDSPThresholdsFlat, 194681315 ,1 )
56 #include "AthenaKernel/CondCont.h"
58 #endif
LArDSPThresholdsFlat::trigSumThrByHash
float trigSumThrByHash(const IdentifierHash &h) const
Definition: LArDSPThresholdsFlat.cxx:63
LArDSPThresholdsFlat::m_psamplesThr
const float * m_psamplesThr
Definition: LArDSPThresholdsFlat.h:49
LArDSPThresholdsFlat::tQThrByHash
float tQThrByHash(const IdentifierHash &h) const
Definition: LArDSPThresholdsFlat.cxx:39
LArCondFlatBase
Definition: LArCondFlatBase.h:20
LArDSPThresholdsFlat::m_nChannels
unsigned m_nChannels
Definition: LArDSPThresholdsFlat.h:47
LArDSPThresholdsFlat::good
bool good() const
Definition: LArDSPThresholdsFlat.h:27
LArCondFlatBase::m_isInitialized
bool m_isInitialized
Definition: LArCondFlatBase.h:28
LArDSPThresholdsFlat
Definition: LArDSPThresholdsFlat.h:17
HWIdentifier
Definition: HWIdentifier.h:13
LArDSPThresholdsFlat::samplesThr
float samplesThr(const HWIdentifier &CellID) const
Definition: LArDSPThresholdsFlat.cxx:47
LArDSPThresholdsFlat::samplesThrByHash
float samplesThrByHash(const IdentifierHash &h) const
Definition: LArDSPThresholdsFlat.cxx:51
CONDCONT_DEF
CONDCONT_DEF(LArDSPThresholdsFlat, 148006985)
LArDSPThresholdsFlat::tQThr
float tQThr(const HWIdentifier &CellID) const
Definition: LArDSPThresholdsFlat.cxx:35
LArCondFlatBase.h
AthenaAttributeList
An AttributeList represents a logical row of attributes in a metadata table. The name and type of eac...
Definition: PersistentDataModel/PersistentDataModel/AthenaAttributeList.h:45
LArDSPThresholdsFlat::m_ptQThr
const float * m_ptQThr
Definition: LArDSPThresholdsFlat.h:48
LArDSPThresholdsFlat::m_ptrigSumThr
const float * m_ptrigSumThr
Definition: LArDSPThresholdsFlat.h:50
IdentifierHash.h
LArDSPThresholdsFlat::readBlob
void readBlob(const AthenaAttributeList *attr)
Definition: LArDSPThresholdsFlat.cxx:71
LArDSPThresholdsFlat::LArDSPThresholdsFlat
LArDSPThresholdsFlat()
Definition: LArDSPThresholdsFlat.cxx:11
LArDSPThresholdsFlat::trigSumThr
float trigSumThr(const HWIdentifier &CellID) const
Definition: LArDSPThresholdsFlat.cxx:59
h
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:64
IdentifierHash
Definition: IdentifierHash.h:38
LArOnlineID.h