|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ASGANALYSISALGORITHMS_ASGXAODMETNTUPLEMAKERALG_H
6 #define ASGANALYSISALGORITHMS_ASGXAODMETNTUPLEMAKERALG_H
60 StatusCode setupBranch(
const std::string &branchDecl,
67 Gaudi::Property<std::string> m_treeName {
this,
"TreeName",
"physics",
"Name of the tree to write"};
69 Gaudi::Property<std::vector< std::string >> m_branches {
this,
"Branches", {},
"Branches to write to the output tree"};
118 const std::string& branchName,
156 const std::string& branchName,
177 std::unique_ptr< SG::AuxElement::TypelessConstAccessor >
m_acc;
181 std::unique_ptr< SG::IAuxTypeVector >
m_data;
183 void* m_dataPtr =
nullptr;
204 TTree* m_tree =
nullptr;
207 std::unordered_map< std::string, ElementProcessor >
m_elements;
215 bool m_isInitialized =
false;
217 Gaudi::Property<std::string> m_termName {
this,
"termName",
"Final",
"the name of the MissingET term to save"};
228 #endif // ASGANALYSISALGORITHMS_ASGXAODNTUPLEMAKERALG_H
std::unique_ptr< SG::AuxElement::TypelessConstAccessor > m_acc
Object accessing the variable in question.
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
std::unique_ptr< SG::IAuxTypeVector > m_data
The object managing the memory of the written variable.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
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.
Class to wrap a set of SystematicVariations.
Algorithm that can write MET variables to a simple ntuple from xAOD objects/variables.
Select isolated Photons, Electrons and Muons.
the (new) base class for EventLoop algorithms
::StatusCode StatusCode
StatusCode definition for legacy code.
Interface for factory objects that create vectors.
Class mimicking the AthMessaging class from the offline software.
Class writing one variable from an xAOD object into a branch.
Class writing all variables from one standalone object.
std::string m_branchName
Name of the branch being written.
Define macros for attributes used to control the static checker.
std::list< BranchProcessor > m_branches
List of branch processors set up for this xAOD object.
Base class for elements of a container that can have aux data.