ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CTP
src
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
7
LVL1CTP::RandomTrigger::RandomTrigger
(
size_t
rndmNr,
8
const
CTPdataformatVersion * ctpFormat) :
9
m_rndmNr
(rndmNr),
10
m_pitPos
(ctpFormat->getMaxTIPtotal() + ctpFormat->getRandomTrigShift() + rndmNr)
11
{}
12
13
14
LVL1CTP::BunchGroupTrigger::BunchGroupTrigger
(
size_t
bgrpNr,
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
SpecialTrigger.h
LVL1CTP::BunchGroupTrigger::BunchGroupTrigger
BunchGroupTrigger()=delete
LVL1CTP::BunchGroupTrigger::m_bgrpNr
size_t m_bgrpNr
nr of the bunchgroup 0..15
Definition
SpecialTrigger.h:61
LVL1CTP::BunchGroupTrigger::m_bunches
std::vector< unsigned int > m_bunches
list of bunch IDs
Definition
SpecialTrigger.h:60
LVL1CTP::BunchGroupTrigger::m_pitPos
size_t m_pitPos
global bit in the TIP vector
Definition
SpecialTrigger.h:62
LVL1CTP::RandomTrigger::RandomTrigger
RandomTrigger()=delete
LVL1CTP::RandomTrigger::m_rndmNr
size_t m_rndmNr
nr of the bunchgroup 0..15
Definition
SpecialTrigger.h:40
LVL1CTP::RandomTrigger::m_pitPos
size_t m_pitPos
global bit in the TIP vector
Definition
SpecialTrigger.h:41
Generated on
for ATLAS Offline Software by
1.14.0