laura
is hosted by
Hepforge
,
IPPP Durham
Home
Documentation
Downloads
Repository
Bug tracker
Join the mailing list
Contact the developers
Licence
Acknowledgements
Pages for developers
Laura++
3.6.0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
laura
inc
LauAsymmCalc.hh
Go to the documentation of this file.
1
2
/*
3
Copyright 2004 University of Warwick
4
5
Licensed under the Apache License, Version 2.0 (the "License");
6
you may not use this file except in compliance with the License.
7
You may obtain a copy of the License at
8
9
http://www.apache.org/licenses/LICENSE-2.0
10
11
Unless required by applicable law or agreed to in writing, software
12
distributed under the License is distributed on an "AS IS" BASIS,
13
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
See the License for the specific language governing permissions and
15
limitations under the License.
16
*/
17
18
/*
19
Laura++ package authors:
20
John Back
21
Paul Harrison
22
Thomas Latham
23
*/
24
33
#ifndef LAU_ASYMM_CALC
34
#define LAU_ASYMM_CALC
35
36
#include "Rtypes.h"
37
38
class
LauAsymmCalc
{
39
40
public
:
42
46
LauAsymmCalc
( Double_t negValue, Double_t posValue );
47
49
virtual
~LauAsymmCalc
();
50
52
LauAsymmCalc
(
const
LauAsymmCalc
& rhs );
53
55
LauAsymmCalc
&
operator=
(
const
LauAsymmCalc
& rhs );
56
58
61
Double_t
getAsymmetry
() {
return
asymm_
; }
62
63
protected
:
65
68
Double_t
calcAsymmetry
();
69
70
private
:
72
Double_t
negValue_
;
73
75
Double_t
posValue_
;
76
78
Double_t
asymm_
;
79
80
ClassDef(
LauAsymmCalc
, 0 )
// Calculate asymmetry between two variables
81
};
82
83
#endif
LauAsymmCalc::~LauAsymmCalc
virtual ~LauAsymmCalc()
Destructor.
Definition:
LauAsymmCalc.cc:58
LauAsymmCalc::posValue_
Double_t posValue_
The positive value.
Definition:
LauAsymmCalc.hh:75
LauAsymmCalc::asymm_
Double_t asymm_
The asymmetry.
Definition:
LauAsymmCalc.hh:78
LauAsymmCalc::calcAsymmetry
Double_t calcAsymmetry()
Calculate the asymmetry.
Definition:
LauAsymmCalc.cc:62
LauAsymmCalc::negValue_
Double_t negValue_
The negative value.
Definition:
LauAsymmCalc.hh:72
LauAsymmCalc::LauAsymmCalc
LauAsymmCalc(Double_t negValue, Double_t posValue)
Constructor.
Definition:
LauAsymmCalc.cc:33
LauAsymmCalc::getAsymmetry
Double_t getAsymmetry()
Retrieve the asymmetry.
Definition:
LauAsymmCalc.hh:61
LauAsymmCalc
Class for calculating the asymmetry between two variables.
Definition:
LauAsymmCalc.hh:38
LauAsymmCalc::operator=
LauAsymmCalc & operator=(const LauAsymmCalc &rhs)
Copy assignment operator.
Definition:
LauAsymmCalc.cc:48
Generated by
1.8.18