ATLAS Offline Software
jFEXFormTOBs.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //***********************************************************************
6 // jFEXFormTOBs.h
7 // --------------
8 // begin : 11 08 2022
9 // email : sergi.rodriguez@cern.ch
10 //***********************************************************************
11 
12 #ifndef jFEXFORMTOBS_H
13 #define jFEXFORMTOBS_H
14 
17 
18 namespace LVL1 {
19 
20 //Doxygen class description below:
21 /*
22  * The jFEXFormTOBs class provides functions for creating TOBs for jFEX objects
23 */
24 
25 
26 class jFEXFormTOBs : public AthAlgTool, virtual public IjFEXFormTOBs {
27 
28  public:
30  jFEXFormTOBs(const std::string& type, const std::string& name, const IInterface* parent);
31 
33  virtual StatusCode initialize() override;
35  virtual ~jFEXFormTOBs();
36 
37  virtual uint32_t formTauTOB (int, int, int, int, int, bool, int, int) override;
38  virtual uint32_t formSRJetTOB(int, int, int, int, bool, int, int, const std::pair<unsigned int, const std::vector<int>&>&) override;
39  virtual uint32_t formLRJetTOB(int, int, int, int, bool, int, int) override;
40  virtual uint32_t formSumETTOB(std::tuple<int,bool>&, std::tuple<int,bool>&, int ) override;
41  virtual uint32_t formMetTOB (int, int, bool, int ) override;
42 
44  private:
45 
46  Gaudi::Property<bool> m_isMC {this, "IsMC", false, "For MC, always access the DB"};
47 
48  int Get_calibrated_SRj_ET(int, int, const std::vector<int>& );
49  int Get_eta_calibrated_SRj_ET(int, int, unsigned int, int, const std::vector<int>& );
50 
51 
52  UnsignedIntegerProperty m_jetEtaCalibrationBeginTimestamp {this, "JetEtaCalibrationBeginTimestamp", 1704063600 /*2024-01-01, 00:00*/, "Earliest timestamp from which jet calibrations are binned in eta instead of ET"};
53 };
54 
55 } // end of namespace
56 
57 CLASS_DEF( LVL1::jFEXFormTOBs , 186886379 , 1 )
58 
59 #endif
LVL1::jFEXFormTOBs
Definition: jFEXFormTOBs.h:26
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LVL1::jFEXFormTOBs::formSRJetTOB
virtual uint32_t formSRJetTOB(int, int, int, int, bool, int, int, const std::pair< unsigned int, const std::vector< int > & > &) override
Definition: jFEXFormTOBs.cxx:125
LVL1::jFEXFormTOBs::m_jetEtaCalibrationBeginTimestamp
UnsignedIntegerProperty m_jetEtaCalibrationBeginTimestamp
Definition: jFEXFormTOBs.h:52
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::jFEXFormTOBs::formMetTOB
virtual uint32_t formMetTOB(int, int, bool, int) override
Definition: jFEXFormTOBs.cxx:283
LVL1::IjFEXFormTOBs
Definition: IjFEXFormTOBs.h:26
LVL1::jFEXFormTOBs::formTauTOB
virtual uint32_t formTauTOB(int, int, int, int, int, bool, int, int) override
Definition: jFEXFormTOBs.cxx:34
LVL1::jFEXFormTOBs::m_isMC
Gaudi::Property< bool > m_isMC
Internal data.
Definition: jFEXFormTOBs.h:46
LVL1::jFEXFormTOBs::formLRJetTOB
virtual uint32_t formLRJetTOB(int, int, int, int, bool, int, int) override
Definition: jFEXFormTOBs.cxx:193
LVL1::jFEXFormTOBs::jFEXFormTOBs
jFEXFormTOBs(const std::string &type, const std::string &name, const IInterface *parent)
Constructors.
Definition: jFEXFormTOBs.cxx:19
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
LVL1::jFEXFormTOBs::initialize
virtual StatusCode initialize() override
standard Athena-Algorithm method
Definition: jFEXFormTOBs.cxx:28
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LVL1::jFEXFormTOBs::Get_calibrated_SRj_ET
int Get_calibrated_SRj_ET(int, int, const std::vector< int > &)
Definition: jFEXFormTOBs.cxx:72
TrigConf::name
Definition: HLTChainList.h:35
LVL1::jFEXFormTOBs::~jFEXFormTOBs
virtual ~jFEXFormTOBs()
Destructor.
Definition: jFEXFormTOBs.cxx:26
LVL1::jFEXFormTOBs::Get_eta_calibrated_SRj_ET
int Get_eta_calibrated_SRj_ET(int, int, unsigned int, int, const std::vector< int > &)
Definition: jFEXFormTOBs.cxx:102
IjFEXFormTOBs.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
AthAlgTool
Definition: AthAlgTool.h:26
LVL1::jFEXFormTOBs::formSumETTOB
virtual uint32_t formSumETTOB(std::tuple< int, bool > &, std::tuple< int, bool > &, int) override
Definition: jFEXFormTOBs.cxx:255