ATLAS Offline Software
Loading...
Searching...
No Matches
SpecialTrigger.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include "./SpecialTrigger.h"
6
8 const CTPdataformatVersion * ctpFormat) :
9 m_rndmNr(rndmNr),
10 m_pitPos(ctpFormat->getMaxTIPtotal() + ctpFormat->getRandomTrigShift() + rndmNr)
11{}
12
13
15 const std::vector<unsigned int>& bunches,
16 const CTPdataformatVersion * ctpFormat) :
17 m_bunches(bunches),
18 m_bgrpNr(bgrpNr),
19 m_pitPos(ctpFormat->getMaxTIPtotal() + ctpFormat->getBunchGroupShift() + bgrpNr)
20{}
21
size_t m_bgrpNr
nr of the bunchgroup 0..15
std::vector< unsigned int > m_bunches
list of bunch IDs
size_t m_pitPos
global bit in the TIP vector
size_t m_rndmNr
nr of the bunchgroup 0..15
size_t m_pitPos
global bit in the TIP vector