Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ASGANALYSISALGORITHMS_ASGXAODNTUPLEMAKERALG_H
6 #define ASGANALYSISALGORITHMS_ASGXAODNTUPLEMAKERALG_H
9 #include <unordered_map>
30 class TVirtualCollectionProxy;
33 class IAuxTypeVectorFactory;
84 StatusCode setupBranch(
const std::string &branchDecl,
91 Gaudi::Property<std::string> m_treeName {
this,
"TreeName",
"physics",
"Name of the tree to write"};
93 Gaudi::Property<std::vector<std::string>> m_branches {
this,
"Branches", {},
"Branches to write to the output tree"};
142 const std::string& branchName,
180 const std::string& branchName,
201 std::unique_ptr< SG::AuxElement::TypelessConstAccessor >
m_acc;
205 std::unique_ptr< SG::IAuxTypeVector >
m_data;
207 void* m_dataPtr =
nullptr;
275 const std::string& branchName,
306 const std::string& branchName,
317 std::unique_ptr< SG::AuxElement::TypelessConstAccessor >
m_acc;
321 std::unique_ptr< SG::IAuxTypeVector >
m_data;
323 void* m_dataPtr =
nullptr;
338 TVirtualCollectionProxy* m_collProxy =
nullptr;
340 int m_auxElementOffset = -1;
348 TTree* m_tree =
nullptr;
351 std::unordered_map< std::string, ElementProcessor >
m_elements;
361 bool m_isInitialized =
false;
372 #endif // ASGANALYSISALGORITHMS_ASGXAODNTUPLEMAKERALG_H
Algorithm that can write a simple ntuple from xAOD objects/variables.
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Class writing all variables from one DataVector container.
std::list< BranchProcessor > m_branches
List of branch processors set up for this xAOD object.
std::unique_ptr< SG::AuxElement::TypelessConstAccessor > m_acc
Object accessing the variable in question.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
bool setup(asg::AnaToolHandle< Interface > &tool, const std::string &type, const std::vector< std::string > &config, const std::string &progressFile="")
mostly useful for athena, which will otherwise re-use the previous tool
Base class for elements of a container that can have aux data.
Class to wrap a set of SystematicVariations.
Class writing one variable from an xAOD object into a branch.
std::unique_ptr< SG::IAuxTypeVector > m_data
The object managing the memory of the written variable.
Select isolated Photons, Electrons and Muons.
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Manage index tracking and synchronization of auxiliary data.
Class writing one variable from an xAOD object into a branch.
std::list< BranchProcessor > m_branches
List of branch processors set up for this xAOD object.
Abstract interface for manipulating vectors of arbitrary types.
std::string m_branchName
Name of the branch being written.
the (new) base class for EventLoop algorithms
::StatusCode StatusCode
StatusCode definition for legacy code.
Interface for factory objects that create vectors.
std::unordered_map< std::string, ContainerProcessor > m_containers
Containers to write branches from.
std::string m_branchName
Name of the branch being written.
Class mimicking the AthMessaging class from the offline software.
std::unique_ptr< SG::AuxElement::TypelessConstAccessor > m_acc
Object accessing the variable in question.
std::unique_ptr< SG::IAuxTypeVector > m_data
The object managing the memory of the written variable.
Class writing all variables from one standalone object.
Define macros for attributes used to control the static checker.
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
std::unordered_map< std::string, ElementProcessor > m_elements
Objects to write branches from.
Base class for elements of a container that can have aux data.