ATLAS Offline Software
Loading...
Searching...
No Matches
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"
17
18namespace LArSamples {
19
20 class History;
21 class Data;
22 class ScaledErrorData;
23
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
41 };
42}
43#endif
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
ShapeFitter(Chi2Params chi2Params=DefaultChi2)
Definition ShapeFitter.h:28
const Chi2Calc & chi2Calc() const
Definition ShapeFitter.h:36
double chi2(TH1 *h0, TH1 *h1)
@ DefaultChi2
Definition Chi2Calc.h:24