ATLAS Offline Software
PhysicsAnalysis
AnalysisCommon
EventUtils
src
CutAlg.h
Go to the documentation of this file.
1
3
/*
4
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// CutAlg.h
8
// Header file for class CutAlg
9
// Author: Karsten Koeneke <karsten.koeneke@cern.ch>
11
#ifndef EVENTUTILS_CUTALG_H
12
#define EVENTUTILS_CUTALG_H 1
13
14
// STL includes
15
#include <string>
16
17
// FrameWork includes
18
#include "GaudiKernel/ToolHandle.h"
19
#include "
AthenaBaseComps/AthFilterAlgorithm.h
"
20
21
#include "
ExpressionEvaluation/ExpressionParserUserWithTrigSupport.h
"
22
23
24
class
CutAlg
25
:
public
ExpressionParserUserWithTrigSupport
<::AthFilterAlgorithm>
26
{
27
29
// Public methods:
31
public
:
32
33
// Copy constructor:
34
36
CutAlg
(
const
std::string&
name
, ISvcLocator* pSvcLocator );
37
39
virtual
~CutAlg
();
40
42
virtual
StatusCode
initialize
();
43
45
virtual
StatusCode
execute
();
46
48
virtual
StatusCode
finalize
();
49
51
// Private data:
53
private
:
54
56
StringProperty
m_cut
;
57
59
unsigned
long
m_nEventsProcessed
;
60
61
62
};
63
64
65
#endif //> !EVENTUTILS_CUTALG_H
CutAlg::m_cut
StringProperty m_cut
The cut string.
Definition:
CutAlg.h:56
ExpressionParserUserWithTrigSupport.h
CutAlg::~CutAlg
virtual ~CutAlg()
Destructor:
Definition:
CutAlg.cxx:40
CutAlg::CutAlg
CutAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition:
CutAlg.cxx:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CutAlg::m_nEventsProcessed
unsigned long m_nEventsProcessed
Internal event counter.
Definition:
CutAlg.h:59
CutAlg
Definition:
CutAlg.h:26
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
ExpressionParserUserWithTrigSupport
Definition:
ExpressionParserUserWithTrigSupport.h:16
CutAlg::execute
virtual StatusCode execute()
Athena algorithm's execute hook.
Definition:
CutAlg.cxx:80
CutAlg::finalize
virtual StatusCode finalize()
Athena algorithm's finalize hook.
Definition:
CutAlg.cxx:69
AthFilterAlgorithm.h
CutAlg::initialize
virtual StatusCode initialize()
Athena algorithm's initalize hook.
Definition:
CutAlg.cxx:47
Generated on Fri Jan 10 2025 21:08:52 for ATLAS Offline Software by
1.8.18