ATLAS Offline Software
Loading...
Searching...
No Matches
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
19namespace 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
48
49
55
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:
67 uint32_t m_cableWord0;
69 uint32_t m_cableWord1;
70
71 }; // class ZdcCTP
72
73} // namespace LVL1
74
76CLASS_DEF( LVL1::ZdcCTP , 232437259 , 1 )
77
78#endif // TRIGT1INTERFACES_ZDC_CTP_H
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
ZDC input class to the CTP simulation.
Definition ZdcCTP.h:31
uint32_t m_cableWord0
A data member to contain 3bit trigger multiplicities.
Definition ZdcCTP.h:67
void setCableWord0(unsigned int data)
set the data that is sent on cable 0
Definition ZdcCTP.cxx:20
uint32_t m_cableWord1
A data member to contain ALT 3bit trigger multiplicities.
Definition ZdcCTP.h:69
virtual ~ZdcCTP()=default
Destructor:
const std::string print() const
print object content in a human readable form to string
uint32_t cableWord0() const
return the data that is sent on cable 0
Definition ZdcCTP.cxx:31
const std::string dump() const
dump raw object content to string
void setCableWord1(unsigned int data)
set the data that is sent on cable 0
Definition ZdcCTP.cxx:25
ZdcCTP()=delete
uint32_t cableWord1() const
Definition ZdcCTP.cxx:35
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...