ATLAS Offline Software
Loading...
Searching...
No Matches
STGC_RawData.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include "GaudiKernel/MsgStream.h"
7
8
9
10// P1 ------------------------
11// Constructor for Hit
16
17Muon::STGC_RawData::STGC_RawData(const Identifier id, const uint16_t bcTag, const float time,
18 const unsigned int charge, const bool isDead, const bool timeAndChargeInCounts)
20{
21 m_tdo = static_cast<unsigned int>(25.0+time); // place holder for time->tdo from calibration
22}
23
24Muon::STGC_RawData::STGC_RawData(const Identifier id, const uint16_t bcTag, const float time,
25 const unsigned int tdo, const unsigned int charge, const bool isDead, const bool timeAndChargeInCounts)
27{
28}
29
30MsgStream& operator<<(MsgStream& sl, const Muon::STGC_RawData& data)
31{
32 sl << "STGC_RawData ("<< &data <<") "
33 << ", Strip ID=" << data.identify();
34 return sl;
35}
36
37std::ostream& operator<<(std::ostream& sl, const Muon::STGC_RawData& data)
38{
39 sl << "STGC_RawData ("<< &data <<") "
40 << ", Strip ID=" << data.identify();
41 return sl;
42}
43
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
bool timeAndChargeInCounts() const
unsigned int charge() const
unsigned int m_charge
uint16_t bcTag() const
unsigned int tdo() const
STGC_RawData()=default
float time() const
bool isDead() const
unsigned int m_tdo
std::ostream & operator<<(std::ostream &ostr, const Muon::HedgehogBoard &board)