ATLAS Offline Software
Loading...
Searching...
No Matches
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
20namespace LVL1 {
21
32 class CPRoIDecoder : public RoIDecoder {
33
34 public:
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
unsigned int chip(const unsigned int roiWord) const
Decode CP chip number from RoI word.
unsigned int localcoord(const unsigned int roiWord) const
Decode local coordinate from RoI word.
unsigned int et(const unsigned int roiWord) const
ET and Isolation information (Run 2 RoIs)
const std::vector< unsigned int > thresholdsPassed(const unsigned int word) const
Thresholds passed (Run 1 RoIs)
unsigned int isolationWord(const unsigned int roiWord) const
Extract isolation results from Run 2 RoI word.
unsigned int crate(const unsigned int roiWord) const
Decode crate number from RoI word.
TrigT1CaloDefs::RoIType roiType(unsigned int word) const
CP-RoI specific, but can distinguish Run 1/Run 2.
unsigned int module(const unsigned int roiWord) const
Decode module number from RoI word.
virtual CoordinateRange coordinate(const unsigned int roiWord) const override
RoI coordinate information.
CoordinateRange class declaration.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...