Skip to content

Commit e735e35

Browse files
ddobrigkchiarazampolli
authored andcommitted
Data model: add BCFlags table for uint8_t flag to tag upc reco settings (#13411)
(cherry picked from commit 894b6a9)
1 parent 19fb1fd commit e735e35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Framework/Core/include/Framework/AnalysisDataModel.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ DECLARE_SOA_COLUMN(RunNumber, runNumber, int); //! Run number
4040
DECLARE_SOA_COLUMN(GlobalBC, globalBC, uint64_t); //! Bunch crossing number (globally unique in this run)
4141
DECLARE_SOA_COLUMN(TriggerMask, triggerMask, uint64_t); //! CTP trigger mask
4242
DECLARE_SOA_COLUMN(InputMask, inputMask, uint64_t); //! CTP input mask
43+
DECLARE_SOA_COLUMN(Flags, flags, uint8_t); //! BC flags (e.g. tagging of UPC tracking settings, etc)
4344
} // namespace bc
4445

4546
DECLARE_SOA_TABLE(BCs_000, "AOD", "BC", //! Root of data model for tables pointing to a bunch crossing
@@ -50,6 +51,8 @@ DECLARE_SOA_TABLE_VERSIONED(BCs_001, "AOD", "BC", 1, //! Root of data model for
5051
o2::soa::Index<>,
5152
bc::RunNumber, bc::GlobalBC,
5253
bc::TriggerMask, bc::InputMask);
54+
DECLARE_SOA_TABLE(BCFlags, "AOD", "BCFLAG", //! flag for tagging UPCs, joinable with BCs
55+
bc::Flags);
5356

5457
using BCs = BCs_001; // current version
5558
using BC = BCs::iterator;

0 commit comments

Comments
 (0)