ATLAS Offline Software
Loading...
Searching...
No Matches
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
19private:
20 LArDSPThresholdsFlat(); //private default constructor
21
22public:
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
43private:
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
55CLASS_DEF( LArDSPThresholdsFlat, 194681315 ,1 )
56#include "AthenaKernel/CondCont.h"
58#endif
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
#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