ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtData
AtPadValue.h
Go to the documentation of this file.
1
#ifndef ATPADVALUE_H
2
#define ATPADVALUE_H
3
4
#include "
AtPadBase.h
"
// for AtPadBase
5
6
#include <Rtypes.h>
// for Double_t, ClassDefOverride
7
8
#include <memory>
// for unique_ptr
9
10
class
TBuffer;
11
class
TClass;
12
class
TMemberInspector;
13
20
class
AtPadValue
:
public
AtPadBase
{
21
public
:
22
protected
:
23
Double_t
fValue
;
24
25
public
:
26
AtPadValue
(Double_t val = 0);
27
virtual
~AtPadValue
() =
default
;
28
29
virtual
std::unique_ptr<AtPadBase>
Clone
()
const override
;
30
31
void
SetValue
(Double_t val) {
fValue
= val; }
32
Double_t
GetValue
()
const
{
return
fValue
; }
33
34
ClassDefOverride
(
AtPadValue
, 1);
35
};
36
37
#endif //#ifndef ATPADCHARGE_H
AtPadValue
Holds a double for an AtPad.
Definition:
AtPadValue.h:20
AtPadBase
Base class for AtPad composition pattern.
Definition:
AtPadBase.h:37
AtPadValue::GetValue
Double_t GetValue() const
Definition:
AtPadValue.h:32
AtPadValue::fValue
Double_t fValue
Definition:
AtPadValue.h:23
AtPadValue::Clone
virtual std::unique_ptr< AtPadBase > Clone() const override
Definition:
AtPadValue.cxx:5
AtPadValue::ClassDefOverride
ClassDefOverride(AtPadValue, 1)
AtPadValue::AtPadValue
AtPadValue(Double_t val=0)
Definition:
AtPadValue.cxx:3
AtPadValue::SetValue
void SetValue(Double_t val)
Definition:
AtPadValue.h:31
AtPadValue::~AtPadValue
virtual ~AtPadValue()=default
AtPadBase.h
Generated on Sat Nov 11 2023 15:30:37 for ATTPCROOT by
1.8.18