ATLAS Offline Software
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 
29 public:
31  MuCTPI_RDOToRoIBResult( const std::string& name, ISvcLocator* pSvcLocator );
32 
34  virtual StatusCode execute() 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
MuCTPI_RDOToRoIBResult::execute
virtual StatusCode execute() override
Regular algorithm execure function.
Definition: MuCTPI_RDOToRoIBResult.cxx:31
MuCTPI_RDOToRoIBResult::m_roibInputKey
std::string m_roibInputKey
Key of the old (incorrect) RoIBResult object.
Definition: MuCTPI_RDOToRoIBResult.h:47
MuCTPI_RDOToRoIBResult::m_muctpiInputKey
std::string m_muctpiInputKey
Key of the MuCTPI_RDO object.
Definition: MuCTPI_RDOToRoIBResult.h:46
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::roiAccepted
static bool roiAccepted(uint32_t data_word)
Extract whether the candidate was accepted to be sent to LVL2.
Definition: MuCTPI_RDOToRoIBResult.cxx:129
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
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
AthAlgorithm.h
MuCTPI_RDOToRoIBResult::multiplicityBCID
static uint32_t multiplicityBCID(uint32_t multi_word)
Extract the BCID stored in the multiplicity word.
Definition: MuCTPI_RDOToRoIBResult.cxx:100
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
MuCTPI_RDOToRoIBResult
Algorithm fixing the muon RoI information in the data.
Definition: MuCTPI_RDOToRoIBResult.h:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
MuCTPI_RDOToRoIBResult::MuCTPI_RDOToRoIBResult
MuCTPI_RDOToRoIBResult(const std::string &name, ISvcLocator *pSvcLocator)
Regular algorithm constructor.
Definition: MuCTPI_RDOToRoIBResult.cxx:22