-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Common] QC flags added in event selection tables (#9418)
- Loading branch information
Showing
3 changed files
with
57 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,20 @@ | |
// granted to it by virtue of its status as an Intergovernmental Organization | ||
// or submit itself to any jurisdiction. | ||
|
||
/// \file AnalysisCCDBLinkDef.h | ||
/// \brief Dictionary definitions | ||
/// | ||
/// \author Evgeny Kryshen <[email protected]> | ||
|
||
#ifndef COMMON_CCDB_ANALYSISCCDBLINKDEF_H_ | ||
#define COMMON_CCDB_ANALYSISCCDBLINKDEF_H_ | ||
|
||
#pragma link off all globals; | ||
#pragma link off all classes; | ||
#pragma link off all functions; | ||
|
||
#pragma link C++ class EventSelectionParams + ; | ||
#pragma link C++ class TriggerAliases + ; | ||
#pragma link C++ class std::map < uint64_t, uint32_t> + ; | ||
|
||
#endif // COMMON_CCDB_ANALYSISCCDBLINKDEF_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,12 @@ | |
// In applying this license CERN does not waive the privileges and immunities | ||
// granted to it by virtue of its status as an Intergovernmental Organization | ||
// or submit itself to any jurisdiction. | ||
|
||
/// \file EventSelection.h | ||
/// \brief Definitions of event selection tables | ||
/// | ||
/// \author Evgeny Kryshen <[email protected]> and Igor Altsybeev <[email protected]> | ||
|
||
#ifndef COMMON_DATAMODEL_EVENTSELECTION_H_ | ||
#define COMMON_DATAMODEL_EVENTSELECTION_H_ | ||
|
||
|
@@ -47,6 +53,7 @@ namespace evsel | |
{ | ||
DECLARE_SOA_BITMAP_COLUMN(Alias, alias, 32); //! Bitmask of fired trigger aliases (see TriggerAliases.h for definitions) | ||
DECLARE_SOA_BITMAP_COLUMN(Selection, selection, 64); //! Bitmask of selection flags (see EventSelectionParams.h for definitions) | ||
DECLARE_SOA_BITMAP_COLUMN(Rct, rct, 32); //! Bitmask of RCT flags | ||
DECLARE_SOA_COLUMN(Sel7, sel7, bool); //! Event selection decision based on V0A & V0C | ||
DECLARE_SOA_COLUMN(Sel8, sel8, bool); //! Event selection decision based on TVX | ||
DECLARE_SOA_INDEX_COLUMN_FULL(FoundBC, foundBC, int, BCs, "_foundBC"); //! BC entry index in BCs table (-1 if doesn't exist) | ||
|
@@ -55,19 +62,20 @@ DECLARE_SOA_INDEX_COLUMN_FULL(FoundFV0, foundFV0, int, FV0As, "_foundFV0"); //! | |
DECLARE_SOA_INDEX_COLUMN_FULL(FoundFDD, foundFDD, int, FDDs, "_foundFDD"); //! FDD entry index in FDDs table (-1 if doesn't exist) | ||
DECLARE_SOA_INDEX_COLUMN_FULL(FoundZDC, foundZDC, int, Zdcs, "_foundZDC"); //! ZDC entry index in ZDCs table (-1 if doesn't exist) | ||
DECLARE_SOA_COLUMN(BcInTF, bcInTF, int); //! Position of a (found) bunch crossing inside a given timeframe | ||
DECLARE_SOA_COLUMN(NumTracksInTimeRange, trackOccupancyInTimeRange, int); //! Occupancy in specified time interval by a number of tracks from nearby collisions | ||
DECLARE_SOA_COLUMN(SumAmpFT0CInTimeRange, ft0cOccupancyInTimeRange, float); //! Occupancy in specified time interval by a sum of FT0C amplitudes from nearby collisions | ||
DECLARE_SOA_COLUMN(NumTracksInTimeRange, trackOccupancyInTimeRange, int); //! Occupancy in specified time interval by a number of tracks from nearby collisions // o2-linter: disable=name/o2-column | ||
DECLARE_SOA_COLUMN(SumAmpFT0CInTimeRange, ft0cOccupancyInTimeRange, float); //! Occupancy in specified time interval by a sum of FT0C amplitudes from nearby collisions // o2-linter: disable=name/o2-column | ||
} // namespace evsel | ||
|
||
// bc-joinable event selection decisions | ||
DECLARE_SOA_TABLE(BcSels, "AOD", "BCSEL", //! | ||
evsel::Alias, evsel::Selection, evsel::FoundFT0Id, evsel::FoundFV0Id, evsel::FoundFDDId, evsel::FoundZDCId); | ||
evsel::Alias, evsel::Selection, evsel::Rct, evsel::FoundFT0Id, evsel::FoundFV0Id, evsel::FoundFDDId, evsel::FoundZDCId); | ||
using BcSel = BcSels::iterator; | ||
|
||
// collision-joinable event selection decisions | ||
DECLARE_SOA_TABLE(EvSels, "AOD", "EVSEL", //! | ||
evsel::Alias, | ||
evsel::Selection, | ||
evsel::Rct, | ||
evsel::Sel7, | ||
evsel::Sel8, | ||
evsel::FoundBCId, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters