ATLAS Offline Software
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 
34 namespace 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
LVL1::RoIDecoder::coordinate
virtual CoordinateRange coordinate(const unsigned int word) const =0
mergePhysValFiles.start
start
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:14
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::CoordinateRange
CoordinateRange class declaration.
Definition: CoordinateRange.h:36
LVL1::RoIDecoder::RoIDecoder
RoIDecoder()
Definition: RoIDecoder.cxx:24
TrigT1CaloDefs.h
CoordinateRange.h
LVL1::RoIDecoder::m_DEBUG
bool m_DEBUG
Definition: RoIDecoder.h:63
LVL1::RoIDecoder::~RoIDecoder
virtual ~RoIDecoder()
Definition: RoIDecoder.cxx:29
length
double length(const pvec &v)
Definition: FPGATrackSimLLPDoubletHoughTransformTool.cxx:26
LVL1::RoIDecoder::extractBits
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"
Definition: RoIDecoder.cxx:34