Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TrigmuRoI.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGMUROI_TRIGMUROI_H
6 #define TRIGMUROI_TRIGMUROI_H
7 
12 
14 {
15  public:
16 
17  TrigmuRoI(const std::string& name, ISvcLocator* pSvcLocator);
18  virtual StatusCode initialize() override;
19  virtual StatusCode execute(const EventContext& ctx) const override;
20 
21  private:
22 
23  unsigned int getBitMaskValue( const unsigned int uintValue, const unsigned int mask ) const;
24  StatusCode readAndAppendTrigRoiDescriptors(const EventContext& ctx, TrigRoiDescriptorCollection* roiColl, const SG::ReadHandleKey<xAOD::MuonRoIContainer>& readHandleKey, int bc_shift, unsigned int& roi_id, std::vector<int>& RpcBCShift, std::vector<int>& TgcBCShift, std::vector<float>& RoIEta, std::vector<float>& RoIPhi) const ;
25 
26  ToolHandle<GenericMonitoringTool> m_monTool{this,"MonTool","","Monitoring tool"};
27 
28  SG::WriteHandleKey<TrigRoiDescriptorCollection> m_roisWriteHandleKey {this,"RoisWriteHandleKey","Unspecified", "Output collection of RoIs"};
29  SG::ReadHandleKey<xAOD::MuonRoIContainer> m_L1OutOfTimeRoIBCm2Key {this,"L1OutOfTimeRoIBCm2Key","LVL1MuonRoIsBCm2", "BC minus 2 out-of-time RoI container"};
30  SG::ReadHandleKey<xAOD::MuonRoIContainer> m_L1OutOfTimeRoIBCm1Key {this,"L1OutOfTimeRoIBCm1Key","LVL1MuonRoIsBCm1", "BC minus 1 out-of-time RoI container"};
31  SG::ReadHandleKey<xAOD::MuonRoIContainer> m_L1OutOfTimeRoIBCp1Key {this,"L1OutOfTimeRoIBCp1Key","LVL1MuonRoIsBCp1", "BC plus 1 out-of-time RoI container"};
32  SG::ReadHandleKey<xAOD::MuonRoIContainer> m_L1OutOfTimeRoIBCp2Key {this,"L1OutOfTimeRoIBCp2Key","LVL1MuonRoIsBCp2", "BC plus 2 out-of-time RoI container"};
33 
34  Gaudi::Property<float> m_roiHalfWidthEta{this, "roiHalfWidthEta", 0.2, "Half width of RoI in eta"};
35  Gaudi::Property<float> m_roiHalfWidthPhi{this, "roiHalfWidthPhi", 0.2, "Half width of RoI in phi"};
36 
37 };
38 
39 #endif
TrigmuRoI::m_L1OutOfTimeRoIBCp1Key
SG::ReadHandleKey< xAOD::MuonRoIContainer > m_L1OutOfTimeRoIBCp1Key
Definition: TrigmuRoI.h:31
TrigmuRoI::m_L1OutOfTimeRoIBCp2Key
SG::ReadHandleKey< xAOD::MuonRoIContainer > m_L1OutOfTimeRoIBCp2Key
Definition: TrigmuRoI.h:32
TrigmuRoI::readAndAppendTrigRoiDescriptors
StatusCode readAndAppendTrigRoiDescriptors(const EventContext &ctx, TrigRoiDescriptorCollection *roiColl, const SG::ReadHandleKey< xAOD::MuonRoIContainer > &readHandleKey, int bc_shift, unsigned int &roi_id, std::vector< int > &RpcBCShift, std::vector< int > &TgcBCShift, std::vector< float > &RoIEta, std::vector< float > &RoIPhi) const
Definition: TrigmuRoI.cxx:64
TrigmuRoI
Definition: TrigmuRoI.h:14
MuonRoIContainer.h
roi_id
std::vector< QString > roi_id
Definition: VP1TriggerHandleL1.cxx:38
SG::ReadHandleKey< xAOD::MuonRoIContainer >
TrigmuRoI::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigmuRoI.h:26
python.utils.AtlRunQueryLookup.mask
string mask
Definition: AtlRunQueryLookup.py:460
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
TrigmuRoI::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: TrigmuRoI.cxx:128
TrigmuRoI::m_roisWriteHandleKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
Definition: TrigmuRoI.h:28
SG::WriteHandleKey< TrigRoiDescriptorCollection >
TrigmuRoI::m_L1OutOfTimeRoIBCm1Key
SG::ReadHandleKey< xAOD::MuonRoIContainer > m_L1OutOfTimeRoIBCm1Key
Definition: TrigmuRoI.h:30
TrigmuRoI::getBitMaskValue
unsigned int getBitMaskValue(const unsigned int uintValue, const unsigned int mask) const
Definition: TrigmuRoI.cxx:46
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigmuRoI::initialize
virtual StatusCode initialize() override
Definition: TrigmuRoI.cxx:22
TrigmuRoI::TrigmuRoI
TrigmuRoI(const std::string &name, ISvcLocator *pSvcLocator)
std Gaudi algorthm constructor
Definition: TrigmuRoI.cxx:13
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
TrigmuRoI::m_roiHalfWidthPhi
Gaudi::Property< float > m_roiHalfWidthPhi
Definition: TrigmuRoI.h:35
TrigRoiDescriptorCollection
Definition: TrigRoiDescriptorCollection.h:21
TrigmuRoI::m_roiHalfWidthEta
Gaudi::Property< float > m_roiHalfWidthEta
Definition: TrigmuRoI.h:34
TrigmuRoI::m_L1OutOfTimeRoIBCm2Key
SG::ReadHandleKey< xAOD::MuonRoIContainer > m_L1OutOfTimeRoIBCm2Key
Definition: TrigmuRoI.h:29
TrigRoiDescriptorCollection.h