ATLAS Offline Software
Loading...
Searching...
No Matches
TreeFillerAlg.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2//
3// Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4//
5#ifndef ASGANALYSISALGORITHMS_TREEFILLERALG_H
6#define ASGANALYSISALGORITHMS_TREEFILLERALG_H
7
8// System include(s):
9#include <unordered_map>
10#include <string>
11#include <vector>
12#include <memory>
13#include <list>
14
15// Framework include(s):
20
21// EDM include(s):
24
25// Forward declaration(s):
26class TClass;
27class TTree;
28class TVirtualCollectionProxy;
29namespace SG {
30 class AuxVectorBase;
32}
33
34namespace CP {
35
49
51
52 public:
55
58
60 StatusCode execute() override;
61
63
64 private:
67
69 Gaudi::Property<std::string> m_treeName {this, "TreeName", "physics", "Name of the tree to write"};
70
72
75
77 TTree* m_tree = nullptr;
78
80
81 }; // class TreeFillerAlg
82
83} // namespace CP
84
85#endif // ASGANALYSISALGORITHMS_TREEFILLERALG_H
Base class for elements of a container that can have aux data.
Abstract interface for manipulating vectors of arbitrary types.
Algorithm that writes events to a tree filled by preceding algorithms to fill.
StatusCode execute() override
Function executed once per event.
TTree * m_tree
The tree being written.
Gaudi::Property< std::string > m_treeName
The name of the output tree to write.
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Manage index tracking and synchronization of auxiliary data.
Interface for factory objects that create vectors.
Select isolated Photons, Electrons and Muons.
Forward declaration.