ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisTrigger
AnalysisTriggerAlgs
src
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):
14
#include "
AthenaBaseComps/AthAlgorithm.h
"
15
27
class
MuCTPI_RDOToRoIBResult
:
public
AthAlgorithm
{
28
29
public
:
31
MuCTPI_RDOToRoIBResult
(
const
std::string& name, ISvcLocator* pSvcLocator );
32
34
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
35
36
private
:
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.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
MuCTPI_RDOToRoIBResult::m_muctpiInputKey
std::string m_muctpiInputKey
Key of the MuCTPI_RDO object.
Definition
MuCTPI_RDOToRoIBResult.h:46
MuCTPI_RDOToRoIBResult::execute
virtual StatusCode execute(const EventContext &ctx) override
Regular algorithm execure function.
Definition
MuCTPI_RDOToRoIBResult.cxx:31
MuCTPI_RDOToRoIBResult::toRoIWord
static uint32_t toRoIWord(uint32_t data_word)
Transform a data word into an RoI word.
Definition
MuCTPI_RDOToRoIBResult.cxx:109
MuCTPI_RDOToRoIBResult::m_roibOutputKey
std::string m_roibOutputKey
Key of the new (correct) RoIBResult object.
Definition
MuCTPI_RDOToRoIBResult.h:48
MuCTPI_RDOToRoIBResult::roiBCID
static uint32_t roiBCID(uint32_t data_word)
Extract the BCID stored in the data word.
Definition
MuCTPI_RDOToRoIBResult.cxx:119
MuCTPI_RDOToRoIBResult::MuCTPI_RDOToRoIBResult
MuCTPI_RDOToRoIBResult(const std::string &name, ISvcLocator *pSvcLocator)
Regular algorithm constructor.
Definition
MuCTPI_RDOToRoIBResult.cxx:22
MuCTPI_RDOToRoIBResult::roiAccepted
static bool roiAccepted(uint32_t data_word)
Extract whether the candidate was accepted to be sent to LVL2.
Definition
MuCTPI_RDOToRoIBResult.cxx:129
MuCTPI_RDOToRoIBResult::m_roibInputKey
std::string m_roibInputKey
Key of the old (incorrect) RoIBResult object.
Definition
MuCTPI_RDOToRoIBResult.h:47
MuCTPI_RDOToRoIBResult::multiplicityBCID
static uint32_t multiplicityBCID(uint32_t multi_word)
Extract the BCID stored in the multiplicity word.
Definition
MuCTPI_RDOToRoIBResult.cxx:100
Generated on
for ATLAS Offline Software by
1.17.0