ATLAS Offline Software
Loading...
Searching...
No Matches
PadEmulatorTrigger.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace NSWL1 {
8 PadEmulatorTrigger::PadEmulatorTrigger(const char wheel, const uint32_t sector,
9 const uint32_t bandid, const uint32_t phiid, const uint32_t relbcid,
10 const PadPattern &pattern, const uint32_t hitmask):
11 m_wheel{wheel},
12 m_sector{sector},
13 m_pattern{pattern},
14 m_hitmask{hitmask},
15 m_bandid{bandid},
16 m_phiid{phiid},
18 m_relbcid{relbcid}
19 {
20 std::string hitstr = std::bitset<32>(hitmask).to_string();
21 std::reverse(hitstr.end()-9,hitstr.end());
22 m_hitmasksignature = hitstr.substr(23,8);
23 }
24}
PadEmulatorTrigger(const char wheel, const uint32_t sector, const uint32_t bandid, const uint32_t phiid, const uint32_t relbcid, const PadPattern &pattern, const uint32_t hitmask=0)
PadEmulatorCoincidences.
int getSignedPhiID(const uint32_t phiid)
void reverse(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of reverse for DataVector/List.