ATLAS Offline Software
RatioSum.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 // RatioSum.h
5 // TopoCore
6 // Created by Joerg Stelzer on 11/16/12.
7 
8 #ifndef __TopoCore__RatioSum__
9 #define __TopoCore__RatioSum__
10 
11 #include <iostream>
13 
14 namespace TCS {
15 
16  class RatioSum : public DecisionAlg {
17  public:
18  RatioSum(const std::string & name);
19  virtual ~RatioSum();
20 
21  virtual StatusCode initialize();
22 
23  virtual StatusCode processBitCorrect( const std::vector<TCS::TOBArray const *> & input,
24  const std::vector<TCS::TOBArray *> & output,
25  Decision & decison );
26 
27 
28  virtual StatusCode process( const std::vector<TCS::TOBArray const *> & input,
29  const std::vector<TCS::TOBArray *> & output,
30  Decision & decison );
31 
32 
33  private:
37 
41  parType_t p_EtaMax2 = { 49 };
44  parType_t p_EtaMax3 = { 49 };
45 
46  parType_t p_HT = { 0 };
47  parType_t p_SUM = { 0 };
48  parType_t p_Ratio[2] = { 0 , 0 };
49 
50  };
51 
52 }
53 
54 #endif
TCS::RatioSum::initialize
virtual StatusCode initialize()
Definition: RatioSum.cxx:58
TCS::parType_t
uint32_t parType_t
Definition: Parameter.h:22
TCS::RatioSum::~RatioSum
virtual ~RatioSum()
Definition: RatioSum.cxx:53
TCS::RatioSum::RatioSum
RatioSum(const std::string &name)
Definition: RatioSum.cxx:29
TCS::RatioSum::p_NumberLeading3
parType_t p_NumberLeading3
Definition: RatioSum.h:36
TCS::DecisionAlg
Definition: Trigger/TrigT1/L1Topo/L1TopoInterfaces/L1TopoInterfaces/DecisionAlg.h:22
TCS::RatioSum::process
virtual StatusCode process(const std::vector< TCS::TOBArray const * > &input, const std::vector< TCS::TOBArray * > &output, Decision &decison)
Definition: RatioSum.cxx:182
TCS::RatioSum
Definition: RatioSum.h:16
TCS::RatioSum::p_SUM
parType_t p_SUM
Definition: RatioSum.h:47
TCS::ConfigurableAlg::name
const std::string & name() const
Definition: ConfigurableAlg.h:48
TCS::RatioSum::p_MinMET
parType_t p_MinMET
Definition: RatioSum.h:38
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
TCS::RatioSum::p_EtaMin3
parType_t p_EtaMin3
Definition: RatioSum.h:43
TCS::RatioSum::p_MinET3
parType_t p_MinET3
Definition: RatioSum.h:42
TCS::RatioSum::p_HT
parType_t p_HT
Definition: RatioSum.h:46
TCS::Decision
Definition: L1Topo/L1TopoInterfaces/L1TopoInterfaces/Decision.h:19
merge.output
output
Definition: merge.py:17
DecisionAlg.h
TCS::RatioSum::p_Ratio
parType_t p_Ratio[2]
Definition: RatioSum.h:48
TCS::RatioSum::p_EtaMax3
parType_t p_EtaMax3
Definition: RatioSum.h:44
TCS::RatioSum::p_MinET2
parType_t p_MinET2
Definition: RatioSum.h:39
TCS
Definition: Global/GlobalSimulation/src/IO/Decision.h:18
TCS::RatioSum::p_NumberLeading2
parType_t p_NumberLeading2
Definition: RatioSum.h:35
TCS::RatioSum::p_NumberLeading1
parType_t p_NumberLeading1
Definition: RatioSum.h:34
TCS::RatioSum::p_EtaMax2
parType_t p_EtaMax2
Definition: RatioSum.h:41
TCS::RatioSum::processBitCorrect
virtual StatusCode processBitCorrect(const std::vector< TCS::TOBArray const * > &input, const std::vector< TCS::TOBArray * > &output, Decision &decison)
Definition: RatioSum.cxx:111
TCS::StatusCode
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/StatusCode.h:15
TCS::RatioSum::p_EtaMin2
parType_t p_EtaMin2
Definition: RatioSum.h:40