ATLAS Offline Software
ZdcCTP.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 /*
3  Copyright (C) 2002-2023 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() = default;
35 
36  // Constructor with parameters:
37  ZdcCTP( unsigned int cableword0 = 0 );
38 
40  virtual ~ZdcCTP() = default;
42  void setCableWord0( unsigned int data);
43 
53  uint32_t cableWord0() const;
54 
56  const std::string dump() const;
58  const std::string print() const;
59 
60  private:
63 
64  }; // class ZdcCTP
65 
66 } // namespace LVL1
67 
68 #include "AthenaKernel/CLASS_DEF.h"
69 CLASS_DEF( LVL1::ZdcCTP , 232437259 , 1 )
70 
71 #endif // TRIGT1INTERFACES_ZDC_CTP_H
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
LVL1::ZdcCTP::m_cableWord0
uint32_t m_cableWord0
A data member to contain two 3bit trigger multiplicities.
Definition: ZdcCTP.h:62
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
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::ZdcCTP::cableWord0
uint32_t cableWord0() const
return the data that is sent on cable 0
Definition: ZdcCTP.cxx:26
LVL1::ZdcCTP::ZdcCTP
ZdcCTP()=default
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