ATLAS Offline Software
Loading...
Searching...
No Matches
TreeMakerAlg.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2//
3// Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
4//
5#ifndef ASGANALYSISALGORITHMS_TREEMAKERALG_H
6#define ASGANALYSISALGORITHMS_TREEMAKERALG_H
7
10
11namespace CP {
12
28
29 public:
32
35 virtual StatusCode initialize() override;
36
38 StatusCode execute() override { return StatusCode::SUCCESS; }
39
41
42 private:
45
47 Gaudi::Property<std::string> m_treeName{
48 this, "TreeName", "physics", "Name of the tree to write"};
49
50 Gaudi::Property<int> m_treeAutoFlush{
51 this, "TreeAutoFlush", 200, "AutoFlush value for the output tree"};
52
54
55 }; // class TreeMakerAlg
56
57} // namespace CP
58
59#endif // ASGANALYSISALGORITHMS_TREEMAKERALG_H
Algorithm that creates an empty tree for subsequent algorithms to fill.
Gaudi::Property< std::string > m_treeName
The name of the output tree to write.
virtual StatusCode initialize() override
StatusCode execute() override
Function executed once per event.
Gaudi::Property< int > m_treeAutoFlush
Flush setting for the output tree.
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Select isolated Photons, Electrons and Muons.