ATLAS Offline Software
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 
11 #ifndef LArSamples_ShapeFitter_H
12 #define LArSamples_ShapeFitter_H
13 
14 #include "LArCafJobs/AbsShape.h"
15 #include "LArSamplesMon/Chi2Calc.h"
17 
18 namespace 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
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
python.CaloRecoConfig.f
f
Definition: CaloRecoConfig.py:127
Chi2Calc.h
AbsShape.h
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
Data
@ Data
Definition: BaseObject.h:11
LArSamples
Definition: AbsShape.h:24
ScaledErrorData
Liquid Argon class for standalone storage of cell shape information.
LArSamples::Chi2Params
Chi2Params
Definition: Chi2Calc.h:24
reference
Definition: hcg.cxx:437
LArSamples::ScaledErrorData
Definition: ScaledErrorData.h:17
LArSamples::Chi2Calc
Definition: Chi2Calc.h:26
chi2
double chi2(TH1 *h0, TH1 *h1)
Definition: comparitor.cxx:522
MuonValidation_CreateResolutionProfiles.fit
def fit(h, emin, emax)
Definition: MuonValidation_CreateResolutionProfiles.py:69
createCoolChannelIdFile.par
par
Definition: createCoolChannelIdFile.py:29
LArSamples::DefaultChi2
@ DefaultChi2
Definition: Chi2Calc.h:24
LArSamples::ShapeFitter::ShapeFitter
ShapeFitter(Chi2Params chi2Params=DefaultChi2)
Definition: ShapeFitter.h:28
LArSamples::AbsShape
Definition: AbsShape.h:28
LArSamples::ShapeFitter
Definition: ShapeFitter.h:24
LArSamples::ShapeFitter::m_c2c
Chi2Calc m_c2c
Definition: ShapeFitter.h:40
LArSamples::ShapeFitter::chi2Calc
const Chi2Calc & chi2Calc() const
Definition: ShapeFitter.h:36
LArSamples::FitterData::sed
const ScaledErrorData * sed
Definition: ShapeFitter.cxx:26
checker_macros.h
Define macros for attributes used to control the static checker.
fitman.k
k
Definition: fitman.py:528