ATLAS Offline Software
MuCalCircClient.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGL2MUONSA_MUCALCIRCCLIENT_H
6 #define TRIGL2MUONSA_MUCALCIRCCLIENT_H
7 
8 #include <string>
9 #include <exception>
10 
11 #include "circ/Circ.h"
12 #include "circ/Circservice.h"
13 
14 #include "MuCalDecode/CalibEvent.h"
15 #include "MuCalDecode/CalibUti.h"
16 
17 namespace TrigL2MuonSA
18 {
20  {
21  const char *what () const noexcept
22  {
23  return "Error in opening output buffer via Circ client";
24  }
25  };
26 
28  {
29  public:
30  MuCalCircClient (unsigned short port, std::string &buffer_name, unsigned int buffer_size);
31  virtual ~MuCalCircClient ();
32 
33  bool dumpToCirc (LVL2_MUON_CALIBRATION::CalibEvent &event) const;
34 
35  private:
36  int m_cid;
37  unsigned short m_port;
38  std::string m_bufferName;
39  unsigned int m_bufferSize;
40  };
41 } // namespace TrigL2MuonSA
42 
43 #endif //
TrigL2MuonSA::Circexception::what
const char * what() const noexcept
Definition: MuCalCircClient.h:21
TrigL2MuonSA::MuCalCircClient
Definition: MuCalCircClient.h:28
TrigL2MuonSA::MuCalCircClient::m_cid
int m_cid
Definition: MuCalCircClient.h:36
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
TrigL2MuonSA::MuCalCircClient::dumpToCirc
bool dumpToCirc(LVL2_MUON_CALIBRATION::CalibEvent &event) const
Definition: MuCalCircClient.cxx:38
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
calibdata.exception
exception
Definition: calibdata.py:496
TrigL2MuonSA::MuCalCircClient::MuCalCircClient
MuCalCircClient(unsigned short port, std::string &buffer_name, unsigned int buffer_size)
Definition: MuCalCircClient.cxx:15
TrigL2MuonSA::MuCalCircClient::m_bufferSize
unsigned int m_bufferSize
Definition: MuCalCircClient.h:39
TrigL2MuonSA::MuCalCircClient::~MuCalCircClient
virtual ~MuCalCircClient()
Definition: MuCalCircClient.cxx:30
TrigL2MuonSA::MuCalCircClient::m_bufferName
std::string m_bufferName
Definition: MuCalCircClient.h:38
TrigL2MuonSA::Circexception
Definition: MuCalCircClient.h:20
TrigL2MuonSA::MuCalCircClient::m_port
unsigned short m_port
Definition: MuCalCircClient.h:37
TrigL2MuonSA
Definition: AlignmentBarrelLUT.h:13