ATLAS Offline Software
TrtCTP.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_TRT_CTP_H
6 #define TRIGT1INTERFACES_TRT_CTP_H
7 
8 // std include(s):
9 #include <stdint.h>
10 #include <string>
11 
12 // Gaudi includes
13 #include "GaudiKernel/DataObject.h"
14 
15 namespace LVL1 {
16 
28  class TrtCTP : public DataObject {
29 
30  public:
31  TrtCTP( uint32_t word0 = 0 );
32 
36  uint32_t cableWord0(void) const {
37  return m_cableWord0;
38  }
39 
41  const std::string dump() const;
43  const std::string print() const;
44 
45  private:
48 
49  }; // class TrtCTP
50 
51 } // namespace LVL1
52 
53 #include "AthenaKernel/CLASS_DEF.h"
54 CLASS_DEF( LVL1::TrtCTP , 50110070 , 1 )
55 
56 #endif // TRIGT1INTERFACES_TRT_CTP_H
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LVL1::TrtCTP::dump
const std::string dump() const
dump raw object content to string
Definition: TrtCTP.cxx:19
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::TrtCTP::cableWord0
uint32_t cableWord0(void) const
Returns an unsigned integer trigger word containing 1 bit of information.
Definition: TrtCTP.h:36
LVL1::TrtCTP::m_cableWord0
const uint32_t m_cableWord0
A data member to contain 1 bit of information.
Definition: TrtCTP.h:47
LVL1::TrtCTP::TrtCTP
TrtCTP(uint32_t word0=0)
Definition: TrtCTP.cxx:16
LVL1::TrtCTP::print
const std::string print() const
print object content in a human readable form to string
Definition: TrtCTP.cxx:29
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
LVL1::TrtCTP
TRT input class to the CTP simulation.
Definition: TrtCTP.h:28
CLASS_DEF.h
macros to associate a CLID to a type