|
ATLAS Offline Software
|
Go to the documentation of this file.
22 #include <TTreeFormula.h>
23 #include <TTreeFormulaManager.h>
47 std::string
dbg (
const FormulaSvc& ,
unsigned )
57 job.algsAdd (
new FormulaSvc);
80 for (std::size_t form = 0,
end =
m_vars.size(); form !=
end; ++ form)
102 for (std::size_t form = 0,
end =
m_vars.size(); form !=
end; ++ form)
111 addForm (
const std::string& formula)
116 for (std::size_t form = 0,
end =
m_vars.size(); form !=
end; ++ form)
118 if (
m_vars[form]->formula() == formula)
122 std::ostringstream
name;
149 m_tree->ResetBit (TTree::kForceRead);
151 for (std::size_t form = 0,
end =
m_vars.size(); form !=
end; ++ form)
159 return EL::StatusCode::SUCCESS;
168 if (
wk()->treeEntry() !=
wk()->
tree()->GetReadEvent())
169 wk()->
tree()->LoadTree (
wk()->treeEntry());
171 return EL::StatusCode::SUCCESS;
virtual EL::Algorithm * getAlg(const std::string &name) const =0
effects: returns the algorithms with the given name or NULL if there is none guarantee: strong failur...
This module provides a lot of global definitions, forward declarations and includes that are used by ...
std::string dbg(const FormulaSvc &obj, unsigned verbosity=0)
returns: the debugging info of this object guarantee: strong failures: out of memory II
FormulaSvc * formulas(EL::IWorker *worker)
returns: the formula service for this worker guarantee: strong failures: formula service not configur...
#define RCU_REQUIRE_SOFT(x)
::StatusCode StatusCode
StatusCode definition for legacy code.
the interface for algorithms to access IWorker
AthROOTErrorHandlerSvc * svc
IWorker * wk() const
description: the worker that is controlling us guarantee: no-fail
#define RCU_DESTROY_INVARIANT(x)
void useFormulas(EL::Job &job)
effects: register the formula service for this job guarantee: strong failures: out of memory I
#define RCU_CHANGE_INVARIANT(x)
#define RCU_THROW_MSG(message)
#define RCU_READ_INVARIANT(x)
virtual TTree * tree() const =0
description: the tree we are running on guarantee: no-fail
#define RCU_NEW_INVARIANT(x)