ATLAS Offline Software
Loading...
Searching...
No Matches
LArDSPThresholdsComplete.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include <limits>
7
8
9//The default thresholds should be very high (eg. never go over threshold)
10//We have to keep in mind that the data is casted to an int somewhere down the chain.
11//This number shoudl we very high but can be safely casted to an int.
12const float LArDSPThresholdsP::m_default=std::numeric_limits<int>::max()*0.99;
13
14
16 const float tQThr, const float samplesThr,
17 const float trigSumThr) {
19 this->setPdata(chid,data,0);
20}
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
A LArRawConditionsContainer holding thresholds used by the DSP.
void setPdata(const HWIdentifier id, const LArDSPThresholdsP &payload, unsigned int gain=0)
void set(const HWIdentifier chid, const float tQThr, const float samplesThr, const float trigSumThr)
float samplesThr(const HWIdentifier chid) const
float tQThr(const HWIdentifier chid) const
float trigSumThr(const HWIdentifier chid) const
static const float m_default