ATLAS Offline Software
MMSDOVariables.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_MMSDOVARIABLES_H
6 #define MUONPRDTEST_MMSDOVARIABLES_H
7 
10 
11 namespace MuonPRDTest{
13  public:
14  MMSDOVariables(MuonTesterTree& tree, const std::string& container_name, MSG::Level msglvl);
15 
16  ~MMSDOVariables() = default;
17 
18  bool fill(const EventContext& ctx) override final;
19 
20  bool declare_keys() override final;
21 
22  private:
23  SG::ReadHandleKey<MuonSimDataCollection> m_key{};
24 
29  VectorBranch<float>& m_NSWMM_sdo_globaltime{parent().newVector<float>("SDO_MM_global_time")};
30 
34  };
35 };
36 
37 #endif // MMSDOVARIABLES_H
MuonPRDTest::MMSDOVariables::m_NSWMM_dig_globalPos
ThreeVectorBranch m_NSWMM_dig_globalPos
Definition: MMSDOVariables.h:31
MuonPRDTest::MMSDOVariables::m_NSWMM_sdo_localPosY
VectorBranch< float > & m_NSWMM_sdo_localPosY
Definition: MMSDOVariables.h:33
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
MuonPRDTest::MMSDOVariables::m_NSWMM_sdo_id
MmIdentifierBranch m_NSWMM_sdo_id
Definition: MMSDOVariables.h:26
MuonVal::VectorBranch< int >
MuonPRDTest::MMSDOVariables::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: MMSDOVariables.cxx:13
MuonPRDTest::MMSDOVariables::m_NSWMM_nsdo
ScalarBranch< unsigned int > & m_NSWMM_nsdo
Definition: MMSDOVariables.h:25
MuonVal::ThreeVectorBranch
Definition: ThreeVectorBranch.h:19
MuonVal::MuonTesterBranch::tree
TTree * tree() override final
Returns the underlying TTree object.
Definition: MuonTesterBranch.cxx:53
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
MuonVal::MmIdentifierBranch
Branch to store all information of the MmIdentifier.
Definition: IdentifierBranch.h:110
MuonVal::MuonTesterTree
Definition: MuonTesterTree.h:30
MuonSimDataCollection
Definition: MuonSimDataCollection.h:21
MuonPRDTest::MMSDOVariables::~MMSDOVariables
~MMSDOVariables()=default
MuonPRDTest::PrdTesterModule
Definition: PrdTesterModule.h:15
MuonPRDTest::MMSDOVariables::declare_keys
bool declare_keys() override final
Definition: MMSDOVariables.cxx:11
MuonPRDTest::MMSDOVariables::m_NSWMM_sdo_localPosX
VectorBranch< float > & m_NSWMM_sdo_localPosX
Definition: MMSDOVariables.h:32
MuonPRDTest::MMSDOVariables::m_NSWMM_sdo_barcode
VectorBranch< int > & m_NSWMM_sdo_barcode
Definition: MMSDOVariables.h:28
MuonVal::MuonTesterTree::newVector
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
MuonPRDTest::MMSDOVariables
Definition: MMSDOVariables.h:12
MuonPRDTest::MMSDOVariables::m_key
SG::ReadHandleKey< MuonSimDataCollection > m_key
Definition: MMSDOVariables.h:23
PrdTesterModule.h
MuonVal::ScalarBranch< unsigned int >
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
MuonPRDTest::MMSDOVariables::m_NSWMM_sdo_globaltime
VectorBranch< float > & m_NSWMM_sdo_globaltime
Definition: MMSDOVariables.h:29
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
Definition: CSCDigitVariables.h:10
MuonPRDTest::MMSDOVariables::m_NSWMM_sdo_word
VectorBranch< int > & m_NSWMM_sdo_word
Definition: MMSDOVariables.h:27
MuonPRDTest::MMSDOVariables::MMSDOVariables
MMSDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
Definition: MMSDOVariables.cxx:8
MuonSimDataCollection.h