ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
MultiDraw
MultiDraw
FormulaSvc.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
#ifndef MULTI_DRAW_FORMULA_SVC_H
8
#define MULTI_DRAW_FORMULA_SVC_H
9
12
13
14
15
//protect
16
#include <
MultiDraw/Global.h
>
17
18
#include <
EventLoop/Algorithm.h
>
19
20
class
TTree;
21
22
namespace
MD
23
{
27
std::string
dbg
(
const
FormulaSvc
& obj,
unsigned
verbosity = 0);
28
29
33
void
useFormulas
(
EL::Job
& job);
34
35
40
FormulaSvc
*
formulas
(
EL::IWorker
*worker);
41
42
43
44
class
FormulaSvc
:
public
EL::Algorithm
45
{
46
//
47
// public interface
48
//
49
51
public
:
52
static
const
std::string
name
;
53
54
57
public
:
58
void
testInvariant
()
const
;
59
60
63
public
:
64
FormulaSvc
();
65
66
69
public
:
70
~FormulaSvc
();
71
72
79
public
:
80
const
Formula
*
addForm
(
const
std::string& formula);
81
82
83
84
//
85
// methods inherited from EL::Algorithm
86
//
87
90
private
:
91
virtual
const
char
*
GetName
()
const
;
92
93
99
private
:
100
virtual
EL::StatusCode
changeInput
(
bool
firstFile);
101
102
107
private
:
108
virtual
EL::StatusCode
execute
();
109
110
111
112
//
113
// private interface
114
//
115
117
private
:
118
TTree *
m_tree
;
119
121
private
:
122
std::vector<Formula*>
m_vars
;
123
124
ClassDef
(
FormulaSvc
, 1);
125
};
126
}
127
128
#endif
Algorithm.h
Global.h
EL::Algorithm
Definition
Algorithm.h:22
EL::IWorker
the interface for algorithms to access IWorker
Definition
IWorker.h:40
EL::Job
Definition
Job.h:42
MD::FormulaSvc
Definition
FormulaSvc.h:45
MD::FormulaSvc::testInvariant
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
MD::FormulaSvc::m_vars
std::vector< Formula * > m_vars
description: the list of variables used
Definition
FormulaSvc.h:122
MD::FormulaSvc::FormulaSvc
FormulaSvc()
effects: standard default constructor guarantee: no-fail
MD::FormulaSvc::~FormulaSvc
~FormulaSvc()
effects: standard destructor guarantee: no-fail
MD::FormulaSvc::changeInput
virtual EL::StatusCode changeInput(bool firstFile)
effects: do all changes to work with a new input file, e.g.
MD::FormulaSvc::GetName
virtual const char * GetName() const
effects: return the name of this algorithm guarantee: no-fail
MD::FormulaSvc::addForm
const Formula * addForm(const std::string &formula)
effects: add another formula returns: the formula guarantee: strong failures: out of memory II failur...
MD::FormulaSvc::m_tree
TTree * m_tree
description: the tree we are connected to
Definition
FormulaSvc.h:118
MD::FormulaSvc::execute
virtual EL::StatusCode execute()
effects: process the next event guarantee: basic failures: algorithm dependent rationale: the virtual...
MD::FormulaSvc::name
static const std::string name
description: the name of the service
Definition
FormulaSvc.h:52
MD::FormulaSvc::ClassDef
ClassDef(FormulaSvc, 1)
MD::Formula
Definition
Formula.h:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MD
This module provides a lot of global definitions, forward declarations and includes that are used by ...
Definition
AlgCFlow.h:22
MD::formulas
FormulaSvc * formulas(EL::IWorker *worker)
returns: the formula service for this worker guarantee: strong failures: formula service not configur...
MD::useFormulas
void useFormulas(EL::Job &job)
effects: register the formula service for this job guarantee: strong failures: out of memory I
dbg
Definition
SGImplSvc.cxx:69
Generated on
for ATLAS Offline Software by
1.17.0