ATLAS Offline Software
Loading...
Searching...
No Matches
LArWaveDerivedQuantitiesP.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARRAWCONDITIONS_LARWAVEDERIVEDQUANTITIESP_H
6#define LARRAWCONDITIONS_LARWAVEDERIVEDQUANTITIESP_H
7
8// persistent c-struct
10{
11
12 public:
13
15 m_baseline(-9999999),
16 m_maxAmp(-9999999),
17 m_tmaxAmp(-9999999),
18 m_width(-9999999),
19 m_rT0(-9999999),
20 m_posLobe(-9999999),
21 m_jitter(-9999999),
22 m_flag(0)
23 {};
24
25 LArWaveDerivedQuantitiesP(float b, float m, float t, float w, float r, float p, float j, unsigned f) :
26 m_baseline(b),
27 m_maxAmp(m),
28 m_tmaxAmp(t),
29 m_width(w),
30 m_rT0(r),
31 m_posLobe(p),
32 m_jitter(j),
33 m_flag(f)
34 {} ;
35
36 bool isEmpty() const
37 { return ( m_baseline<-9999 && m_maxAmp<-9999 && m_tmaxAmp<-9999 &&
38 m_width<-9999 && m_rT0<-9999 && m_posLobe<-9999 &&
39 m_jitter<-9999); }
40
42 float m_maxAmp;
43 float m_tmaxAmp;
44 float m_width;
45 float m_rT0;
46 float m_posLobe;
47 float m_jitter;
48
49 unsigned m_flag; // Wave flag
50
51};
52
53#endif
LArWaveDerivedQuantitiesP(float b, float m, float t, float w, float r, float p, float j, unsigned f)
int r
Definition globals.cxx:22