ATLAS Offline Software
sTGCRDOVariables.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MuonPRDTEST_sTGCRDOVARIABLES_H
6 #define MuonPRDTEST_sTGCRDOVARIABLES_H
7 
10 
11 namespace MuonPRDTest{
13  public:
14  sTGCRDOVariables(MuonTesterTree& tree, const std::string& container_name, MSG::Level msglvl);
15 
16  ~sTGCRDOVariables() = default;
17 
18  bool fill(const EventContext& ctx) override final;
19 
20  bool declare_keys() override final;
21 
22  private:
23  SG::ReadHandleKey<Muon::STGC_RawDataContainer> m_key{};
24  ScalarBranch<unsigned int>& m_NSWsTGC_nRDO{parent().newScalar<unsigned int>("N_RDO_sTGC")};
30  VectorBranch<double>& m_NSWsTGC_rdo_localPosX{parent().newVector<double>("RDO_sTGC_localPosX")};
31  VectorBranch<double>& m_NSWsTGC_rdo_localPosY{parent().newVector<double>("RDO_sTGC_localPosY")};
34  };
35 };
36 
37 #endif // MuonPRDTEST_sTGCRDOVARIABLES_H
MuonPRDTest::sTGCRDOVariables::m_NSWsTGC_rdo_localPosY
VectorBranch< double > & m_NSWsTGC_rdo_localPosY
Definition: sTGCRDOVariables.h:31
MuonPRDTest::sTGCRDOVariables::m_NSWsTGC_rdo_time
VectorBranch< double > & m_NSWsTGC_rdo_time
Definition: sTGCRDOVariables.h:25
MuonPRDTest::sTGCRDOVariables::m_NSWsTGC_rdo_isDead
VectorBranch< bool > & m_NSWsTGC_rdo_isDead
Definition: sTGCRDOVariables.h:29
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
MuonPRDTest::sTGCRDOVariables::m_NSWsTGC_rdo_tdo
VectorBranch< uint16_t > & m_NSWsTGC_rdo_tdo
Definition: sTGCRDOVariables.h:27
MuonPRDTest::sTGCRDOVariables::fill
bool fill(const EventContext &ctx) override final
The fill method checks if enough information is provided such that the branch is cleared from the inf...
Definition: sTGCRDOVariables.cxx:15
MuonVal::sTgcIdentifierBranch
Branch to store all information of the sTgcIdentifier.
Definition: IdentifierBranch.h:96
MuonPRDTest::sTGCRDOVariables::m_NSWsTGC_rdo_id
sTgcIdentifierBranch m_NSWsTGC_rdo_id
Definition: sTGCRDOVariables.h:33
MuonPRDTest::sTGCRDOVariables::m_NSWsTGC_rdo_localPosX
VectorBranch< double > & m_NSWsTGC_rdo_localPosX
Definition: sTGCRDOVariables.h:30
MuonVal::VectorBranch< double >
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
MuonVal::ThreeVectorBranch
Definition: ThreeVectorBranch.h:19
MuonVal::MuonTesterBranch::tree
TTree * tree() override final
Returns the underlying TTree object.
Definition: MuonTesterBranch.cxx:53
STGC_RawDataContainer.h
MuonPRDTest::sTGCRDOVariables::sTGCRDOVariables
sTGCRDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
Definition: sTGCRDOVariables.cxx:11
MuonPRDTest::sTGCRDOVariables::declare_keys
bool declare_keys() override final
Definition: sTGCRDOVariables.cxx:13
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
MuonVal::MuonTesterTree
Definition: MuonTesterTree.h:30
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
MuonPRDTest::sTGCRDOVariables::m_NSWsTGC_nRDO
ScalarBranch< unsigned int > & m_NSWsTGC_nRDO
Definition: sTGCRDOVariables.h:24
MuonPRDTest::PrdTesterModule
Definition: PrdTesterModule.h:15
MuonPRDTest::sTGCRDOVariables::m_NSWsTGC_rdo_charge
VectorBranch< uint16_t > & m_NSWsTGC_rdo_charge
Definition: sTGCRDOVariables.h:26
MuonPRDTest::sTGCRDOVariables::m_NSWsTGC_rdo_bcTag
VectorBranch< uint16_t > & m_NSWsTGC_rdo_bcTag
Definition: sTGCRDOVariables.h:28
MuonVal::MuonTesterTree::newVector
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
MuonPRDTest::sTGCRDOVariables
Definition: sTGCRDOVariables.h:12
MuonPRDTest::sTGCRDOVariables::m_NSWsTGC_rdo_globalPos
ThreeVectorBranch m_NSWsTGC_rdo_globalPos
Definition: sTGCRDOVariables.h:32
PrdTesterModule.h
MuonPRDTest::sTGCRDOVariables::m_key
SG::ReadHandleKey< Muon::STGC_RawDataContainer > m_key
Definition: sTGCRDOVariables.h:23
MuonVal::ScalarBranch< unsigned int >
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
MuonVal::MuonTesterTree::newScalar
ScalarBranch< T > & newScalar(const std::string &name)
MuonVal::MuonTesterBranch::parent
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
Definition: MuonTesterBranch.cxx:38
MuonPRDTest::sTGCRDOVariables::~sTGCRDOVariables
~sTGCRDOVariables()=default
MuonPRDTest
Definition: CSCDigitVariables.h:10