ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
MultiDraw
MultiDraw
AlgCFlow.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_ALG_CFLOW_H
8
#define MULTI_DRAW_ALG_CFLOW_H
9
11
12
13
14
//protect
15
#include <
MultiDraw/Global.h
>
16
17
#include <
EventLoop/Algorithm.h
>
18
19
class
TH1;
20
21
namespace
MD
22
{
23
class
AlgCFlow
:
public
EL::Algorithm
24
{
25
//
26
// public interface
27
//
28
31
public
:
32
void
testInvariant
()
const
;
33
34
38
public
:
39
AlgCFlow
();
40
41
48
public
:
49
AlgCFlow
(TH1 *val_hist_swallow);
50
51
52
53
//
54
// interface inherited from EL::Algorithm
55
//
56
65
private
:
66
virtual
EL::StatusCode
setupJob
(
EL::Job
& job);
67
68
79
private
:
80
virtual
EL::StatusCode
initialize
();
81
82
87
private
:
88
virtual
EL::StatusCode
execute
();
89
90
91
92
//
93
// private interface
94
//
95
97
private
:
98
TH1 *
m_hist
;
99
101
private
:
102
std::vector<std::string>
m_formulas
;
103
105
private
:
106
std::vector<Double_t>
m_values
;
107
109
private
:
110
std::vector<const Formula*>
m_index
;
111
113
private
:
114
std::vector<std::size_t>
m_back
;
115
117
private
:
118
std::vector<Double_t>
m_axis
;
119
121
private
:
122
TH1 *
m_hist2
;
123
125
private
:
126
FormulaSvc
*
m_formSvc
;
127
128
ClassDef
(
AlgCFlow
, 1);
129
};
130
}
131
132
#endif
Algorithm.h
Global.h
EL::Algorithm
Definition
Algorithm.h:22
EL::Job
Definition
Job.h:42
MD::AlgCFlow::m_formSvc
FormulaSvc * m_formSvc
description: the formula service we are using
Definition
AlgCFlow.h:126
MD::AlgCFlow::m_formulas
std::vector< std::string > m_formulas
description: the list of formulas used
Definition
AlgCFlow.h:102
MD::AlgCFlow::m_hist
TH1 * m_hist
description: the histogram we use as a template
Definition
AlgCFlow.h:98
MD::AlgCFlow::execute
virtual EL::StatusCode execute()
effects: process the next event guarantee: basic failures: algorithm dependent rationale: the virtual...
MD::AlgCFlow::ClassDef
ClassDef(AlgCFlow, 1)
MD::AlgCFlow::AlgCFlow
AlgCFlow()
effects: default constructor guarantee: no-fail rationale: this should only be called by serializatio...
MD::AlgCFlow::m_axis
std::vector< Double_t > m_axis
description: the axis values of the bins
Definition
AlgCFlow.h:118
MD::AlgCFlow::AlgCFlow
AlgCFlow(TH1 *val_hist_swallow)
effects: constructor for the given histogram spec, value, and weight guarantee: strong failures: out ...
MD::AlgCFlow::m_hist2
TH1 * m_hist2
description: the histogram we are filling
Definition
AlgCFlow.h:122
MD::AlgCFlow::testInvariant
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
MD::AlgCFlow::setupJob
virtual EL::StatusCode setupJob(EL::Job &job)
effects: give the algorithm a chance to intialize the job with anything this algorithm needs.
MD::AlgCFlow::m_index
std::vector< const Formula * > m_index
description: the indices to the formulas
Definition
AlgCFlow.h:110
MD::AlgCFlow::m_values
std::vector< Double_t > m_values
description: the value of the formulas
Definition
AlgCFlow.h:106
MD::AlgCFlow::m_back
std::vector< std::size_t > m_back
description: the back-indices to the formulas
Definition
AlgCFlow.h:114
MD::AlgCFlow::initialize
virtual EL::StatusCode initialize()
effects: do everything that needs to be done before running the algorithm, e.g.
MD::FormulaSvc
Definition
FormulaSvc.h:45
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
Generated on
for ATLAS Offline Software by
1.17.0