ATLAS Offline Software
SortingAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 // SortingAlg.h
5 // TopoCore
6 // Created by Joerg Stelzer on 11/16/12.
7 
8 #ifndef TCS_SortingAlg
9 #define TCS_SortingAlg
10 
13 #include "L1TopoEvent/TOBArray.h"
15 
16 namespace TCS {
17 
18  class SortingAlg : public ConfigurableAlg {
19  public:
20 
21  SortingAlg(const std::string & name) :
23  m_overflow(false)
24  {};
25 
26  virtual ~SortingAlg();
27 
35  bool overflow() const { return m_overflow; }
37  SortingAlg& setOverflow(const bool v) { m_overflow = v; return *this; }
38 
39  protected:
40 
41  virtual StatusCode doReset();
42  bool m_overflow;
43  };
44 
45 }
46 
47 #endif
TCS::ConfigurableAlg::SORT
@ SORT
Definition: ConfigurableAlg.h:32
InputTOBArray.h
TCS::SortingAlg::m_overflow
bool m_overflow
whether an overflow occurred during the current execution.
Definition: SortingAlg.h:42
TCS::SortingAlg::SortingAlg
SortingAlg(const std::string &name)
Definition: SortingAlg.h:21
ConfigurableAlg.h
TCS::SortingAlg::~SortingAlg
virtual ~SortingAlg()
Definition: SortingAlg.cxx:22
TCS::SortingAlg::setOverflow
SortingAlg & setOverflow(const bool v)
setter, to propagate bit from input event
Definition: SortingAlg.h:37
TCS::SortingAlg::overflow
bool overflow() const
whether an overlflow occurred
Definition: SortingAlg.h:35
TCS::ConfigurableAlg::name
const std::string & name() const
Definition: ConfigurableAlg.h:48
StatusCode.h
TCS::InputTOBArray
Definition: InputTOBArray.h:15
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
TOBArray.h
TCS::TOBArray
Definition: TOBArray.h:24
merge.output
output
Definition: merge.py:17
TCS::ConfigurableAlg
Definition: ConfigurableAlg.h:30
TCS::SortingAlg
Definition: SortingAlg.h:18
python.PyAthena.v
v
Definition: PyAthena.py:154
TCS::SortingAlg::sort
virtual TCS::StatusCode sort(const InputTOBArray &input, TOBArray &output)=0
TCS
Definition: Global/GlobalSimulation/src/IO/Decision.h:18
TCS::SortingAlg::sortBitCorrect
virtual TCS::StatusCode sortBitCorrect(const InputTOBArray &input, TOBArray &output)
Definition: SortingAlg.cxx:17
TCS::SortingAlg::doReset
virtual StatusCode doReset()
Definition: SortingAlg.cxx:12
TCS::StatusCode
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/StatusCode.h:15