ATLAS Offline Software
Loading...
Searching...
No Matches
DataQuality
GoodRunsLists
GoodRunsLists
RegularFormula.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
/**********************************************************************************
7
* Class : RegularFormula *
8
* *
9
* Authors (alphabetical): *
10
* Max Baak <mbaak@cern.ch> - CERN, Switzerland *
11
**********************************************************************************/
12
13
#ifndef __RegularFormula__
14
#define __RegularFormula__
15
16
#include "TFormula.h"
17
#include "TString.h"
18
#include <list>
19
20
namespace
Root
{
21
22
class
RegularFormula
:
public
TFormula {
23
24
public
:
25
26
RegularFormula
();
27
RegularFormula
(
const
char
* name,
const
char
* expression);
28
virtual
~RegularFormula
();
29
30
RegularFormula
(
const
Root::RegularFormula
& other) ;
31
RegularFormula
&
operator=
(
const
RegularFormula
& other) ;
32
33
Int_t
setFormula
(
const
char
*expression);
34
35
inline
unsigned
int
getNPars
()
const
{
return
m_par
.size(); }
36
const
std::list<TString>&
getParNames
()
const
{
return
m_par
; }
37
38
private
:
39
40
void
parseExpression
(
const
char
* expression, TString& expr) ;
41
42
TString
m_expr
;
43
std::list<TString>
m_par
;
44
45
ClassDef(
RegularFormula
,0)
46
};
47
}
48
49
#endif
50
Root::RegularFormula
Definition
RegularFormula.h:22
Root::RegularFormula::m_par
std::list< TString > m_par
Definition
RegularFormula.h:43
Root::RegularFormula::operator=
RegularFormula & operator=(const RegularFormula &other)
Definition
RegularFormula.cxx:48
Root::RegularFormula::getParNames
const std::list< TString > & getParNames() const
Definition
RegularFormula.h:36
Root::RegularFormula::parseExpression
void parseExpression(const char *expression, TString &expr)
Definition
RegularFormula.cxx:63
Root::RegularFormula::getNPars
unsigned int getNPars() const
Definition
RegularFormula.h:35
Root::RegularFormula::~RegularFormula
virtual ~RegularFormula()
Definition
RegularFormula.cxx:34
Root::RegularFormula::setFormula
Int_t setFormula(const char *expression)
Definition
RegularFormula.cxx:128
Root::RegularFormula::RegularFormula
RegularFormula()
Root::RegularFormula::m_expr
TString m_expr
Definition
RegularFormula.h:42
Root
Definition
GoodRunsListSelectorTool.h:30
Generated on
for ATLAS Offline Software by
1.14.0