ATLAS Offline Software
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::getNPars
unsigned int getNPars() const
Definition:
RegularFormula.h:45
Root
Definition:
GoodRunsListSelectorTool.h:30
Root::RegularFormula::getParNames
const std::list< TString > & getParNames() const
Definition:
RegularFormula.h:46
python.HION12.expression
string expression
Definition:
HION12.py:56
Root::RegularFormula::parseExpression
void parseExpression(const char *expression, TString &expr)
Definition:
RegularFormula.cxx:63
Root::RegularFormula::RegularFormula
RegularFormula()
Root::RegularFormula::~RegularFormula
virtual ~RegularFormula()
Definition:
RegularFormula.cxx:34
Root::RegularFormula::setFormula
Int_t setFormula(const char *expression)
Definition:
RegularFormula.cxx:128
Root::RegularFormula::m_par
std::list< TString > m_par
Definition:
RegularFormula.h:53
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
InDetDD::other
@ other
Definition:
InDetDD_Defs.h:16
Root::RegularFormula::m_expr
TString m_expr
Definition:
RegularFormula.h:52
Root::RegularFormula::operator=
RegularFormula & operator=(const RegularFormula &other)
Definition:
RegularFormula.cxx:48
Root::RegularFormula
Definition:
RegularFormula.h:27
Generated on Thu Nov 7 2024 21:24:41 for ATLAS Offline Software by
1.8.18