ATLAS Offline Software
Loading...
Searching...
No Matches
MuCTPI_RDOToRoIBResult.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef ANALYSISTRIGGERALGS_MUCTPI_RDOTOROIBRESULT_H
8#define ANALYSISTRIGGERALGS_MUCTPI_RDOTOROIBRESULT_H
9
10// STL include(s):
11#include <string>
12
13// Gaudi/Athena include(s):
15
28
29public:
31 MuCTPI_RDOToRoIBResult( const std::string& name, ISvcLocator* pSvcLocator );
32
34 virtual StatusCode execute() override;
35
36private:
38 static uint32_t multiplicityBCID( uint32_t multi_word );
40 static uint32_t toRoIWord( uint32_t data_word );
42 static uint32_t roiBCID( uint32_t data_word );
44 static bool roiAccepted( uint32_t data_word );
45
46 std::string m_muctpiInputKey;
47 std::string m_roibInputKey;
48 std::string m_roibOutputKey;
49
50}; // class MuCTPI_RDOToRoIBResult
51
52#endif // ANALYSISTRIGGERALGS_MUCTPI_RDOTOROIBRESULT_H
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::string m_muctpiInputKey
Key of the MuCTPI_RDO object.
static uint32_t toRoIWord(uint32_t data_word)
Transform a data word into an RoI word.
std::string m_roibOutputKey
Key of the new (correct) RoIBResult object.
static uint32_t roiBCID(uint32_t data_word)
Extract the BCID stored in the data word.
MuCTPI_RDOToRoIBResult(const std::string &name, ISvcLocator *pSvcLocator)
Regular algorithm constructor.
virtual StatusCode execute() override
Regular algorithm execure function.
static bool roiAccepted(uint32_t data_word)
Extract whether the candidate was accepted to be sent to LVL2.
std::string m_roibInputKey
Key of the old (incorrect) RoIBResult object.
static uint32_t multiplicityBCID(uint32_t multi_word)
Extract the BCID stored in the multiplicity word.