ATLAS Offline Software
IBlockFillerTool.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
16 #ifndef D3PDMAKERINTERFACES_IBLOCKFILLERTOOL_H
17 #define D3PDMAKERINTERFACES_IBLOCKFILLERTOOL_H
18 
19 
20 #include "GaudiKernel/IAlgTool.h"
21 #include <typeinfo>
22 
23 
24 namespace D3PD {
25 
26 
27 class IAddVariable;
28 
29 
60  : virtual public IAlgTool
61 {
62 public:
65 
66 
69  enum { AGAIN = 1001,
70  EMPTY = 1002
71  };
72 
73 
83  const std::type_info& ti) = 0;
84 
85 
91  virtual StatusCode book() = 0;
92 
93 
123  virtual StatusCode fillUntyped (const void* p,
124  bool again = false) = 0;
125 
126 
135 
136 
149 };
150 
151 
152 } // namespace D3PD
153 
154 
156 
157 
158 #endif // not D3PDMAKERINTERFACES_IBLOCKFILLERTOOL_H
159 
D3PD::IBlockFillerTool::AGAIN
@ AGAIN
Definition: IBlockFillerTool.h:69
D3PD::IAddVariable
Common interface for adding a variable to a tuple.
Definition: IAddVariable.h:70
D3PD::IBlockFillerTool::DeclareInterfaceID
DeclareInterfaceID(IBlockFillerTool, 1, 0)
Gaudi interface definition.
tree
TChain * tree
Definition: tile_monitor.h:30
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
IBlockFillerTool.icc
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
D3PD::IBlockFillerTool::againok
static StatusCode againok(StatusCode sc)
StatusCode check helper: change AGAIN or EMPTY to SUCCESS.
D3PD::IBlockFillerTool::fillUntyped
virtual StatusCode fillUntyped(const void *p, bool again=false)=0
Fill one block.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::IBlockFillerTool::configureD3PD
virtual StatusCode configureD3PD(IAddVariable *tree, const std::type_info &ti)=0
Configure during initialization: type-check.
D3PD::IBlockFillerTool::EMPTY
@ EMPTY
Definition: IBlockFillerTool.h:70
D3PD::IBlockFillerTool::book
virtual StatusCode book()=0
Declare tuple variables.
D3PD::IBlockFillerTool::againok
static StatusCode againok(StatusCode sc, StatusCode &scout)
StatusCode check helper: change AGAIN or EMPTY to SUCCESS.
D3PD::IBlockFillerTool
Abstract interface for tool to fill a block in the D3PD.
Definition: IBlockFillerTool.h:61