Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
MvtxRawEvtHeaderv1.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MvtxRawEvtHeaderv1.cc
1
#include "
MvtxRawEvtHeaderv1.h
"
2
3
void
MvtxRawEvtHeaderv1::Reset
()
4
{
5
m_MvtxFeeIdSet
.clear();
6
m_MvtxL1TrgSet
.clear();
7
}
8
9
void
MvtxRawEvtHeaderv1::identify
(std::ostream &
os
)
const
10
{
11
os <<
"MvtxRawEvtHeaderv1"
<< std::endl;
12
os <<
"Feeids in the event: "
<<
m_MvtxFeeIdSet
.size()<< std::endl;
13
os <<
"Mvtx L1 triggers in the event: "
<<
m_MvtxL1TrgSet
.size()<< std::endl;
14
}
15
16
int
MvtxRawEvtHeaderv1::isValid
()
const
17
{
18
return
m_MvtxFeeIdSet
.size();
19
}
20
21
void
MvtxRawEvtHeaderv1::AddFeeId
(
const
std::set<uint16_t>& mvtxFeeIds)
22
{
23
m_MvtxFeeIdSet
.insert(mvtxFeeIds.cbegin(), mvtxFeeIds.cend());
24
}
25
26
void
MvtxRawEvtHeaderv1::AddL1Trg
(
const
std::set<uint64_t>& mvtxL1TrgSet)
27
{
28
m_MvtxL1TrgSet
.insert(mvtxL1TrgSet.cbegin(), mvtxL1TrgSet.cend());
29
}
coresoftware
blob
master
offline
framework
ffarawobjects
MvtxRawEvtHeaderv1.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:04
using
1.8.2 with
sPHENIX GitHub integration