ATLAS Offline Software
ZdcCTP.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 /*
3  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4 */
5 #ifndef TRIGT1INTERFACES_ZDC_CTP_H
6 #define TRIGT1INTERFACES_ZDC_CTP_H
7 
8 // std include(s):
9 // STL includes
10 #include <iosfwd>
11 
12 #include <bitset>
13 #include <map>
14 #include <string>
15 
16 // Gaudi includes
17 #include "GaudiKernel/DataObject.h"
18 
19 namespace LVL1 {
20 
31  class ZdcCTP: public DataObject {
32  public:
33  // default constructor
34  ZdcCTP() = delete;
35 
36  // Constructor with parameters:
37  ZdcCTP( unsigned int cableword0 = 0, unsigned int cableword1 = 0 );
38 
40  virtual ~ZdcCTP() = default;
42  void setCableWord0( unsigned int data);
43 
45  void setCableWord1(unsigned int data);
46 
56  uint32_t cableWord0() const;
57 
58  uint32_t cableWord1() const;
59 
61  const std::string dump() const;
63  const std::string print() const;
64 
65  private:
70 
71  }; // class ZdcCTP
72 
73 } // namespace LVL1
74 
75 #include "AthenaKernel/CLASS_DEF.h"
76 CLASS_DEF( LVL1::ZdcCTP , 232437259 , 1 )
77 
78 #endif // TRIGT1INTERFACES_ZDC_CTP_H
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
LVL1::ZdcCTP::setCableWord1
void setCableWord1(unsigned int data)
set the data that is sent on cable 0
Definition: ZdcCTP.cxx:25
LVL1::ZdcCTP::m_cableWord0
uint32_t m_cableWord0
A data member to contain 3bit trigger multiplicities.
Definition: ZdcCTP.h:67
LVL1::ZdcCTP::~ZdcCTP
virtual ~ZdcCTP()=default
Destructor:
LVL1::ZdcCTP::setCableWord0
void setCableWord0(unsigned int data)
set the data that is sent on cable 0
Definition: ZdcCTP.cxx:20
LVL1::ZdcCTP::dump
const std::string dump() const
dump raw object content to string
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LVL1::ZdcCTP
ZDC input class to the CTP simulation.
Definition: ZdcCTP.h:31
LVL1::ZdcCTP::cableWord1
uint32_t cableWord1() const
Definition: ZdcCTP.cxx:35
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::ZdcCTP::ZdcCTP
ZdcCTP()=delete
LVL1::ZdcCTP::cableWord0
uint32_t cableWord0() const
return the data that is sent on cable 0
Definition: ZdcCTP.cxx:31
LVL1::ZdcCTP::m_cableWord1
uint32_t m_cableWord1
A data member to contain ALT 3bit trigger multiplicities.
Definition: ZdcCTP.h:69
LVL1::ZdcCTP::print
const std::string print() const
print object content in a human readable form to string
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
CLASS_DEF.h
macros to associate a CLID to a type