ATLAS Offline Software
Loading...
Searching...
No Matches
RootFit.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
8
9#ifndef DQM_ALGORITHMS_ROOTFIT_H
10#define DQM_ALGORITHMS_ROOTFIT_H
11
13
14#include <dqm_core/Algorithm.h>
15#include <string>
16#include <iosfwd>
17#include <memory>
18
19class TF1;
20
21namespace dqm_algorithms
22{
23 struct ATLAS_NOT_THREAD_SAFE RootFit : public dqm_core::Algorithm
24 // ^ fit of constant histogram
25 {
26 RootFit( const std::string & name );
27
28 ~RootFit();
29 RootFit * clone( );
30 dqm_core::Result * execute( const std::string & , const TObject & , const dqm_core::AlgorithmConfig & );
31 using dqm_core::Algorithm::printDescription;
32 void printDescription(std::ostream& out);
33 private:
34 std::string m_name;
35 std::unique_ptr<TF1> m_func;
36 };
37}
38
39#endif // DQM_ALGORITHMS_ROOTFIT_H
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
RootFit(const std::string &name)
Definition RootFit.cxx:35
std::unique_ptr< TF1 > m_func
Definition RootFit.h:35
std::string m_name
Definition RootFit.h:34
void printDescription(std::ostream &out)
Definition RootFit.cxx:273
dqm_core::Result * execute(const std::string &, const TObject &, const dqm_core::AlgorithmConfig &)
Definition RootFit.cxx:83