ATLAS Offline Software
Loading...
Searching...
No Matches
RoIDecoder.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2// $Id: RoIDecoder.h 187728 2009-05-27 16:18:06Z krasznaa $
3/*
4 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5*/
6/***************************************************************************
7 RoIDecoder.h - description
8 -------------------
9 begin : Fri Apr 19 2002
10 email : moyse@ph.qmw.ac.uk
11 ***************************************************************************/
12
13#ifndef TRIGT1INTERFACES_ROIDECODER_H
14#define TRIGT1INTERFACES_ROIDECODER_H
15
16// I test some of these classes outside Athena hence the following code.
17#ifndef TRIGGERSPACE
18// running in Athena
21
22#else
23// running in TRIGGERSPACE
24#include "CoordinateRange.h"
25#include "TrigT1CaloDefs.h"
26
27#endif
28
29#include <vector>
30
34namespace LVL1 {
35
41 class RoIDecoder {
42
43 public:
44 RoIDecoder();
45 virtual ~RoIDecoder();
46 virtual CoordinateRange coordinate( const unsigned int word ) const = 0;
47
48 protected:
50 unsigned int extractBits( unsigned int word, const unsigned int start,
51 const unsigned int length ) const;
52
53 bool m_DEBUG;
54
55 }; // class RoIDecoder
56
57} // namespace LVL1
58
59#endif // TRIGT1INTERFACES_ROIDECODER_H
double length(const pvec &v)
CoordinateRange class declaration.
unsigned int extractBits(unsigned int word, const unsigned int start, const unsigned int length) const
returns the value of bits in word between bit "start" and bit "start" + "length"
virtual CoordinateRange coordinate(const unsigned int word) const =0
virtual ~RoIDecoder()
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...