ATLAS Offline Software
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.
13 
14 
16  const float tQThr, const float samplesThr,
17  const float trigSumThr) {
19  this->setPdata(chid,data,0);
20 }
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
LArConditionsContainer< LArDSPThresholdsP >::setPdata
void setPdata(const HWIdentifier id, const LArDSPThresholdsP &payload, unsigned int gain=0)
put payload in persistent data
max
#define max(a, b)
Definition: cfImp.cxx:41
HWIdentifier
Definition: HWIdentifier.h:13
LArDSPThresholdsComplete::samplesThr
float samplesThr(const HWIdentifier chid) const
Definition: LArDSPThresholdsComplete.h:27
LArDSPThresholdsP
Definition: LArDSPThresholdsP.h:9
LArDSPThresholdsP::m_default
static const float m_default
Definition: LArDSPThresholdsP.h:34
LArDSPThresholdsComplete.h
A LArRawConditionsContainer holding thresholds used by the DSP.
LArDSPThresholdsComplete::trigSumThr
float trigSumThr(const HWIdentifier chid) const
Definition: LArDSPThresholdsComplete.h:28
LArDSPThresholdsComplete::tQThr
float tQThr(const HWIdentifier chid) const
Definition: LArDSPThresholdsComplete.h:26
LArDSPThresholdsComplete::set
void set(const HWIdentifier chid, const float tQThr, const float samplesThr, const float trigSumThr)
Definition: LArDSPThresholdsComplete.cxx:15