ATLAS Offline Software
InputConnector.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2 
3 #ifndef L1TopoCoreSim_InputConnector
4 #define L1TopoCoreSim_InputConnector
5 
7 
8 #include <iostream>
9 #include <vector>
10 #include <string>
11 
13 #include "L1TopoCommon/Types.h"
15 
16 
17 namespace TCS {
18 
19  class InputTOBArray;
20 
21  // special connector for topo input
22  class InputConnector : public Connector {
23  public:
24 
25  InputConnector(const std::string & name);
26 
27  virtual ~InputConnector();
28 
30 
31  void attachOutputData(const InputTOBArray* data);
32 
33  const InputTOBArray* outputData() const { return m_outputData; }
34 
36 
37  private:
38 
39  inputTOBType_t m_inputTOBType; // holds the type of inputData
40 
41  // attached input data
42  InputTOBArray const * m_outputData { nullptr };
43 
44  };
45 
46 std::ostream & operator<<(std::ostream &, const TCS::InputConnector&);
47 
48 }
49 
50 #endif
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
TCS::InputConnector::~InputConnector
virtual ~InputConnector()
Definition: InputConnector.cxx:15
TCS::Connector
Definition: Connector.h:22
TCS::InputConnector::m_inputTOBType
inputTOBType_t m_inputTOBType
Definition: InputConnector.h:39
Types.h
Decision.h
TCS::InputConnector::clearOutput
StatusCode clearOutput()
Definition: InputConnector.cxx:20
TCS::InputConnector::attachOutputData
void attachOutputData(const InputTOBArray *data)
Definition: InputConnector.cxx:28
TCS::InputConnector
Definition: InputConnector.h:22
StatusCode.h
TCS::InputTOBArray
Definition: InputTOBArray.h:15
TCS::InputConnector::inputTOBType
inputTOBType_t inputTOBType() const
Definition: InputConnector.h:29
TCS::InputConnector::InputConnector
InputConnector(const std::string &name)
Definition: InputConnector.cxx:9
Connector.h
TCS::InputConnector::outputData
const InputTOBArray * outputData() const
Definition: InputConnector.h:33
TCS::Connector::name
const std::string & name() const
Definition: Connector.h:44
TCS::inputTOBType_t
inputTOBType_t
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Types.h:10
TCS
Definition: Global/GlobalSimulation/src/IO/Decision.h:18
TCS::InputConnector::m_outputData
InputTOBArray const * m_outputData
Definition: InputConnector.h:42
TCS::operator<<
std::ostream & operator<<(std::ostream &, const TCS::CountingConnector &)
Definition: CountingConnector.cxx:93
TCS::StatusCode
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/StatusCode.h:15