ATLAS Offline Software
jTauSort.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 // jTauSort.h
5 // TopoCore
6 
7 
8 #ifndef L1TOPOALGORITHMS_JTAUSORT_H
9 #define L1TOPOALGORITHMS_JTAUSORT_H
10 
12 #include "L1TopoEvent/TOBArray.h"
13 
14 #include <iostream>
15 #include <vector>
16 
17 namespace TCS {
18 
19  class jTauSort : public SortingAlg {
20  public:
21 
22  // constructor
23  jTauSort(const std::string & name);
24 
25  // destructor
26  virtual ~jTauSort();
27  virtual TCS::StatusCode initialize() override;
28  virtual TCS::StatusCode sort(const InputTOBArray & input, TOBArray & output) override final;
29 
30  private:
34  parType_t m_iso = { 0 };
36 
37  bool checkIsolation(const TCS::jTauTOB* jtau) const;
38 
39 
40  };
41 
42 } // end of namespace TCS
43 
44 #endif /* defined(__TopoCore__SortingAlg__) */
TCS::parType_t
uint32_t parType_t
Definition: Parameter.h:22
TCS::jTauSort::m_minEta
parType_t m_minEta
Definition: jTauSort.h:32
TCS::jTauSort::m_iso
parType_t m_iso
Definition: jTauSort.h:34
TCS::jTauSort::m_passIsolation
parType_t m_passIsolation
Definition: jTauSort.h:35
TCS::jTauSort::m_maxEta
parType_t m_maxEta
Definition: jTauSort.h:33
TCS::jTauSort::sort
virtual TCS::StatusCode sort(const InputTOBArray &input, TOBArray &output) override final
Definition: jTauSort.cxx:54
TCS::jTauSort::m_numberOfjTaus
parType_t m_numberOfjTaus
Definition: jTauSort.h:31
TCS::jTauSort::initialize
virtual TCS::StatusCode initialize() override
Definition: jTauSort.cxx:41
TCS::ConfigurableAlg::name
const std::string & name() const
Definition: ConfigurableAlg.h:48
TCS::InputTOBArray
Definition: InputTOBArray.h:15
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
TCS::jTauTOB
Definition: jTauTOB.h:16
TOBArray.h
TCS::TOBArray
Definition: TOBArray.h:24
merge.output
output
Definition: merge.py:17
SortingAlg.h
TCS::SortingAlg
Definition: SortingAlg.h:18
TCS::jTauSort
Definition: jTauSort.h:19
TCS::jTauSort::jTauSort
jTauSort(const std::string &name)
Definition: jTauSort.cxx:24
TCS::jTauSort::checkIsolation
bool checkIsolation(const TCS::jTauTOB *jtau) const
Definition: jTauSort.cxx:86
TCS
Definition: Global/GlobalSimulation/src/IO/Decision.h:18
TCS::jTauSort::~jTauSort
virtual ~jTauSort()
Definition: jTauSort.cxx:36
TCS::StatusCode
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/StatusCode.h:15