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