  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
   12             auto arrayTest = std::make_unique<ArrayBranch<unsigned>>(
m_tree.
tree(), 
"testArray", 2);
 
   17               return StatusCode::FAILURE;
 
   20             return StatusCode::SUCCESS;
 
   23             const EventContext& ctx{Gaudi::Hive::currentContext()};
 
   24             for (
unsigned int n = 0; 
n < 100; ++
n) {
 
   28                 (*m_arrayTest)[0] = 
n +1;
 
   29                 (*m_arrayTest)[1] = 
n+5;
 
   33             return StatusCode::SUCCESS;
 
   37             return StatusCode::SUCCESS;
 
  
StatusCode init(OWNER *instance)
Initialize method.
 
virtual StatusCode finalize() override final
 
MuonVal::VectorBranch< unsigned > & m_vectorTest
 
virtual StatusCode initialize() override final
 
::StatusCode StatusCode
StatusCode definition for legacy code.
 
MuonVal::ScalarBranch< unsigned > & m_scalarTest
 
Class to store array like branches into the n-tuples.
 
virtual StatusCode execute() override final
 
MuonVal::ArrayBranch< unsigned > * m_arrayTest
 
bool fill(const EventContext &ctx)
Fills the tree per call.
 
StatusCode write()
Finally write the TTree objects.
 
const T & get(size_t s) const
Returns the i-th value.
 
MuonVal::MatrixBranch< unsigned > & m_matrixTest
 
TTree * tree()
TTree object.
 
bool addBranch(std::shared_ptr< IMuonTesterBranch > branch)
Branch is added to the tree without transferring the ownership.