ATLAS Offline Software
Loading...
Searching...
No Matches
LArCalorimeter
LArSamplesMon
LArSamplesMon
ShapeFitter.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
9
10
11
#ifndef LArSamples_ShapeFitter_H
12
#define LArSamples_ShapeFitter_H
13
14
#include "
LArCafJobs/AbsShape.h
"
15
#include "
LArSamplesMon/Chi2Calc.h
"
16
#include "
CxxUtils/checker_macros.h
"
17
18
namespace
LArSamples
{
19
20
class
History
;
21
class
Data
;
22
class
ScaledErrorData
;
23
24
class
ATLAS_NOT_THREAD_SAFE
ShapeFitter
{
25
26
public
:
27
28
ShapeFitter
(
Chi2Params
chi2Params =
DefaultChi2
) :
m_c2c
(chi2Params) { }
29
30
bool
fit(
const
LArSamples::AbsShape
&
data
,
const
AbsShape
&
reference
,
31
double
& k,
double
& deltaT,
double
&
chi2
,
32
const
ScaledErrorData
* sed = 0)
const
;
33
34
static
void
adjusted_reference(Int_t& nPar, Double_t* grad, Double_t& f, Double_t* par, Int_t iflag);
35
36
const
Chi2Calc
&
chi2Calc
()
const
{
return
m_c2c
; }
37
38
private
:
39
40
Chi2Calc
m_c2c
;
41
};
42
}
43
#endif
AbsShape.h
Chi2Calc.h
data
char data[hepevt_bytes_allocation_ATLAS]
Definition
HepEvt.cxx:11
checker_macros.h
Define macros for attributes used to control the static checker.
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition
checker_macros.h:212
LArSamples::AbsShape
Definition
AbsShape.h:28
LArSamples::Chi2Calc
Definition
Chi2Calc.h:26
LArSamples::Data
Definition
Data.h:72
LArSamples::History
Definition
History.h:35
LArSamples::ScaledErrorData
Definition
ScaledErrorData.h:17
LArSamples::ShapeFitter::m_c2c
Chi2Calc m_c2c
Definition
ShapeFitter.h:40
LArSamples::ShapeFitter::ShapeFitter
ShapeFitter(Chi2Params chi2Params=DefaultChi2)
Definition
ShapeFitter.h:28
LArSamples::ShapeFitter::chi2Calc
const Chi2Calc & chi2Calc() const
Definition
ShapeFitter.h:36
reference
Definition
hcg.cxx:438
chi2
double chi2(TH1 *h0, TH1 *h1)
Definition
comparitor.cxx:525
LArSamples
Definition
AbsShape.h:24
LArSamples::Chi2Params
Chi2Params
Definition
Chi2Calc.h:24
LArSamples::DefaultChi2
@ DefaultChi2
Definition
Chi2Calc.h:24
Generated on
for ATLAS Offline Software by
1.14.0