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
5#ifndef EVENT_LOOP_ALGS_UNIT_TEST_SKIM_H
6#define EVENT_LOOP_ALGS_UNIT_TEST_SKIM_H
7
8//
9// Distributed under the Boost Software License, Version 1.0.
10// (See accompanying file LICENSE_1_0.txt or copy at
11// http://www.boost.org/LICENSE_1_0.txt)
12
13// Please feel free to contact me (krumnack@iastate.edu) for bug
14// reports, feature suggestions, praise and complaints.
15
16
21
22
23
25
26#include <EventLoop/Algorithm.h>
27
28namespace EL
29{
30 class UnitTestSkim : public Algorithm
31 {
32 //
33 // public interface
34 //
35
38 public:
39 void testInvariant () const;
40
41
45 public:
46 UnitTestSkim ();
47
48
49
50 //
51 // interface inherited from Algorithm
52 //
53
59 private:
60 virtual StatusCode changeInput (bool firstFile);
61
62
73 private:
74 virtual StatusCode initialize ();
75
76
81 private:
82 virtual StatusCode execute ();
83
84
85
86 //
87 // private interface
88 //
89
91 private:
93
95 private:
96 Int_t el_n;
97
99 private:
100 Int_t el_n2;
101
103 };
104}
105
106#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.