ATLAS Offline Software
CPRoIDecoder.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 /*
3  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
4 */
5 /***************************************************************************
6  CPRoIDecoder.h - description
7  -------------------
8  begin : Fri Apr 19 2002
9  email : moyse@ph.qmw.ac.uk
10 ***************************************************************************/
11 
12 
13 #ifndef TRIGT1INTERFACES_CPROIDECODER_H
14 #define TRIGT1INTERFACES_CPROIDECODER_H
15 
16 // Local include(s):
19 
20 namespace LVL1 {
21 
32  class CPRoIDecoder : public RoIDecoder {
33 
34  public:
35  CPRoIDecoder();
36  virtual ~CPRoIDecoder();
37 
39  TrigT1CaloDefs::RoIType roiType( unsigned int word ) const;
40 
42  virtual CoordinateRange coordinate( const unsigned int roiWord ) const override;
43  unsigned int crate( const unsigned int roiWord ) const;
44  unsigned int module( const unsigned int roiWord ) const;
45  unsigned int chip( const unsigned int roiWord ) const;
46  unsigned int localcoord( const unsigned int roiWord ) const;
47 
49  const std::vector< unsigned int > thresholdsPassed( const unsigned int word ) const;
50 
52  unsigned int et( const unsigned int roiWord ) const;
53  unsigned int isolationWord( const unsigned int roiWord ) const;
54  }; // class CPRoIDecoder
55 
56 } // namespace LVL1
57 
58 #endif // TRIGT1INTERFACES_CPROIDECODER_H
LVL1::CPRoIDecoder::isolationWord
unsigned int isolationWord(const unsigned int roiWord) const
Extract isolation results from Run 2 RoI word.
Definition: CPRoIDecoder.cxx:142
LVL1::CPRoIDecoder::crate
unsigned int crate(const unsigned int roiWord) const
Decode crate number from RoI word.
Definition: CPRoIDecoder.cxx:104
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
xAOD::roiWord
roiWord
Definition: TrigMissingET_v1.cxx:36
LVL1::CPRoIDecoder::et
unsigned int et(const unsigned int roiWord) const
ET and Isolation information (Run 2 RoIs)
Definition: CPRoIDecoder.cxx:132
LVL1::CoordinateRange
CoordinateRange class declaration.
Definition: CoordinateRange.h:36
LVL1::CPRoIDecoder::thresholdsPassed
const std::vector< unsigned int > thresholdsPassed(const unsigned int word) const
Thresholds passed (Run 1 RoIs)
Definition: CPRoIDecoder.cxx:153
LVL1::CPRoIDecoder::CPRoIDecoder
CPRoIDecoder()
Definition: CPRoIDecoder.cxx:21
LVL1::CPRoIDecoder::~CPRoIDecoder
virtual ~CPRoIDecoder()
Definition: CPRoIDecoder.cxx:25
RoIDecoder.h
LVL1::CPRoIDecoder::localcoord
unsigned int localcoord(const unsigned int roiWord) const
Decode local coordinate from RoI word.
Definition: CPRoIDecoder.cxx:125
LVL1::TrigT1CaloDefs::RoIType
RoIType
Definition: TrigT1CaloDefs.h:165
CoordinateRange.h
LVL1::CPRoIDecoder::coordinate
virtual CoordinateRange coordinate(const unsigned int roiWord) const override
RoI coordinate information.
Definition: CPRoIDecoder.cxx:50
LVL1::CPRoIDecoder::module
unsigned int module(const unsigned int roiWord) const
Decode module number from RoI word.
Definition: CPRoIDecoder.cxx:111
LVL1::CPRoIDecoder::chip
unsigned int chip(const unsigned int roiWord) const
Decode CP chip number from RoI word.
Definition: CPRoIDecoder.cxx:118
LVL1::CPRoIDecoder::roiType
TrigT1CaloDefs::RoIType roiType(unsigned int word) const
CP-RoI specific, but can distinguish Run 1/Run 2.
Definition: CPRoIDecoder.cxx:31