ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
AsgAnalysisAlgorithms
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):
16
#include "
AsgMessaging/AsgMessaging.h
"
17
#include "
AnaAlgorithm/AnaAlgorithm.h
"
18
#include "
SystematicsHandles/SysListHandle.h
"
19
#include <
AsgTools/PropertyWrapper.h
>
20
21
// EDM include(s):
22
#include "
AthContainersInterfaces/IAuxTypeVector.h
"
23
#include "
AthContainers/AuxElement.h
"
24
25
// Forward declaration(s):
26
class
TClass;
27
class
TTree;
28
class
TVirtualCollectionProxy;
29
namespace
SG
{
30
class
AuxVectorBase
;
31
class
IAuxTypeVectorFactory
;
32
}
33
34
namespace
CP
{
35
49
50
class
TreeFillerAlg
:
public
EL::AnaAlgorithm
{
51
52
public
:
54
using
EL::AnaAlgorithm::AnaAlgorithm
;
55
58
60
StatusCode
execute
(
const
EventContext& ctx)
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
AnaAlgorithm.h
AsgMessaging.h
AuxElement.h
Base class for elements of a container that can have aux data.
IAuxTypeVector.h
Abstract interface for manipulating vectors of arbitrary types.
PropertyWrapper.h
SysListHandle.h
CP::TreeFillerAlg
Algorithm that writes events to a tree filled by preceding algorithms to fill.
Definition
TreeFillerAlg.h:50
CP::TreeFillerAlg::m_tree
TTree * m_tree
The tree being written.
Definition
TreeFillerAlg.h:77
CP::TreeFillerAlg::m_treeName
Gaudi::Property< std::string > m_treeName
The name of the output tree to write.
Definition
TreeFillerAlg.h:69
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition
AnaAlgorithm.h:74
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaAlgorithm.cxx:40
EL::AnaAlgorithm::execute
virtual::StatusCode execute()
execute this algorithm
Definition
AnaAlgorithm.cxx:315
SG::AuxVectorBase
Manage index tracking and synchronization of auxiliary data.
Definition
AuxVectorBase.h:98
SG::IAuxTypeVectorFactory
Interface for factory objects that create vectors.
Definition
IAuxTypeVectorFactory.h:50
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
Generated on
for ATLAS Offline Software by
1.17.0