ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
EventLoopAlgs
EventLoopAlgs
UnitTestSkim.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 EVENT_LOOP_ALGS_UNIT_TEST_SKIM_H
8
#define EVENT_LOOP_ALGS_UNIT_TEST_SKIM_H
9
12
13
14
15
#include <
EventLoopAlgs/Global.h
>
16
17
#include <
EventLoop/Algorithm.h
>
18
19
namespace
EL
20
{
21
class
UnitTestSkim
:
public
Algorithm
22
{
23
//
24
// public interface
25
//
26
29
public
:
30
void
testInvariant
()
const
;
31
32
36
public
:
37
UnitTestSkim
();
38
39
40
41
//
42
// interface inherited from Algorithm
43
//
44
50
private
:
51
virtual
StatusCode
changeInput
(
bool
firstFile);
52
53
64
private
:
65
virtual
StatusCode
initialize
();
66
67
72
private
:
73
virtual
StatusCode
execute
();
74
75
76
77
//
78
// private interface
79
//
80
82
private
:
83
NTupleSvc
*
m_skim
;
84
86
private
:
87
Int_t
el_n
;
88
90
private
:
91
Int_t
el_n2
;
92
93
ClassDef
(
UnitTestSkim
, 1);
94
};
95
}
96
97
#endif
Algorithm.h
Global.h
EL::Algorithm::Algorithm
Algorithm()
effects: standard default constructor guarantee: strong failures: low level errors I
EL::NTupleSvc
Definition
NTupleSvc.h:40
EL::UnitTestSkim::execute
virtual StatusCode execute()
effects: process the next event guarantee: basic failures: algorithm dependent rationale: the virtual...
Definition
UnitTestSkim.cxx:65
EL::UnitTestSkim::m_skim
NTupleSvc * m_skim
description: the output algorithm we use
Definition
UnitTestSkim.h:83
EL::UnitTestSkim::el_n
Int_t el_n
description: the member we read into
Definition
UnitTestSkim.h:87
EL::UnitTestSkim::changeInput
virtual StatusCode changeInput(bool firstFile)
effects: do all changes to work with a new input file, e.g.
Definition
UnitTestSkim.cxx:42
EL::UnitTestSkim::el_n2
Int_t el_n2
description: the member we write from
Definition
UnitTestSkim.h:91
EL::UnitTestSkim::ClassDef
ClassDef(UnitTestSkim, 1)
EL::UnitTestSkim::UnitTestSkim
UnitTestSkim()
effects: standard default constructor guarantee: strong failures: out of memory I
Definition
UnitTestSkim.cxx:34
EL::UnitTestSkim::initialize
virtual StatusCode initialize()
effects: do everything that needs to be done before running the algorithm, e.g.
Definition
UnitTestSkim.cxx:52
EL::UnitTestSkim::testInvariant
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
Definition
UnitTestSkim.cxx:26
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition
AsgComponentFactories.h:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Generated on
for ATLAS Offline Software by
1.17.0