ATLAS Offline Software
Loading...
Searching...
No Matches
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
16
17#include <EventLoop/Algorithm.h>
18
19namespace 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:
84
86 private:
87 Int_t el_n;
88
90 private:
91 Int_t el_n2;
92
94 };
95}
96
97#endif
Algorithm()
effects: standard default constructor guarantee: strong failures: low level errors I
virtual StatusCode execute()
effects: process the next event guarantee: basic failures: algorithm dependent rationale: the virtual...
NTupleSvc * m_skim
description: the output algorithm we use
Int_t el_n
description: the member we read into
virtual StatusCode changeInput(bool firstFile)
effects: do all changes to work with a new input file, e.g.
Int_t el_n2
description: the member we write from
ClassDef(UnitTestSkim, 1)
UnitTestSkim()
effects: standard default constructor guarantee: strong failures: out of memory I
virtual StatusCode initialize()
effects: do everything that needs to be done before running the algorithm, e.g.
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.