ATLAS Offline Software
sTGCSDOVariables.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_sTGCSDOVARIABLES_H
6 #define MUONPRDTEST_sTGCSDOVARIABLES_H
7 
10 
11 namespace MuonPRDTest{
13  public:
14  sTgcSDOVariables(MuonTesterTree& tree, const std::string& container_name, MSG::Level msglvl);
15 
16  ~sTgcSDOVariables() = 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_NSWsTGC_sdo_globaltime{parent().newVector<float>("SDO_sTGC_global_time")};
30 
34  VectorBranch<float>& m_NSWsTGC_sdo_localPosX{parent().newVector<float>("SDO_sTGC_localPosX")};
35  VectorBranch<float>& m_NSWsTGC_sdo_localPosY{parent().newVector<float>("SDO_sTGC_localPosY")};
36  };
37 };
38 
39 #endif // sTGCSDOVARIABLES_H
MuonPRDTest::sTgcSDOVariables::m_NSWsTGC_sdo_localPosY
VectorBranch< float > & m_NSWsTGC_sdo_localPosY
Definition: sTGCSDOVariables.h:35
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
MuonVal::sTgcIdentifierBranch
Branch to store all information of the sTgcIdentifier.
Definition: IdentifierBranch.h:96
MuonPRDTest::sTgcSDOVariables::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: sTGCSDOVariables.cxx:14
MuonPRDTest::sTgcSDOVariables::m_NSWsTGC_sdo_tof
VectorBranch< float > & m_NSWsTGC_sdo_tof
Definition: sTGCSDOVariables.h:33
MuonPRDTest::sTgcSDOVariables::sTgcSDOVariables
sTgcSDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
Definition: sTGCSDOVariables.cxx:9
MuonVal::VectorBranch< int >
MuonVal::ThreeVectorBranch
Definition: ThreeVectorBranch.h:19
MuonVal::MuonTesterBranch::tree
TTree * tree() override final
Returns the underlying TTree object.
Definition: MuonTesterBranch.cxx:53
MuonPRDTest::sTgcSDOVariables::declare_keys
bool declare_keys() override final
Definition: sTGCSDOVariables.cxx:12
MuonPRDTest::sTgcSDOVariables::m_NSWsTGC_sdo_globaltime
VectorBranch< float > & m_NSWsTGC_sdo_globaltime
Definition: sTGCSDOVariables.h:29
MuonPRDTest::sTgcSDOVariables
Definition: sTGCSDOVariables.h:12
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
MuonVal::MuonTesterTree
Definition: MuonTesterTree.h:30
MuonPRDTest::sTgcSDOVariables::m_NSWsTGC_nsdo
ScalarBranch< unsigned int > & m_NSWsTGC_nsdo
Definition: sTGCSDOVariables.h:25
MuonPRDTest::sTgcSDOVariables::m_NSWsTGC_sdo_word
VectorBranch< int > & m_NSWsTGC_sdo_word
Definition: sTGCSDOVariables.h:27
MuonSimDataCollection
Definition: MuonSimDataCollection.h:21
MuonPRDTest::PrdTesterModule
Definition: PrdTesterModule.h:15
MuonPRDTest::sTgcSDOVariables::m_NSWsTGC_sdo_localPosX
VectorBranch< float > & m_NSWsTGC_sdo_localPosX
Definition: sTGCSDOVariables.h:34
MuonPRDTest::sTgcSDOVariables::~sTgcSDOVariables
~sTgcSDOVariables()=default
MuonVal::MuonTesterTree::newVector
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
PrdTesterModule.h
MuonVal::ScalarBranch< unsigned int >
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
MuonPRDTest::sTgcSDOVariables::m_NSWsTGC_sdo_id
sTgcIdentifierBranch m_NSWsTGC_sdo_id
Definition: sTGCSDOVariables.h:26
MuonVal::MuonTesterTree::newScalar
ScalarBranch< T > & newScalar(const std::string &name)
MuonPRDTest::sTgcSDOVariables::m_NSWsTGC_sdo_E
VectorBranch< float > & m_NSWsTGC_sdo_E
Definition: sTGCSDOVariables.h:32
MuonVal::MuonTesterBranch::parent
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
Definition: MuonTesterBranch.cxx:38
MuonPRDTest::sTgcSDOVariables::m_NSWsTGC_sdo_barcode
VectorBranch< int > & m_NSWsTGC_sdo_barcode
Definition: sTGCSDOVariables.h:28
MuonPRDTest
Definition: CSCDigitVariables.h:10
MuonPRDTest::sTgcSDOVariables::m_key
SG::ReadHandleKey< MuonSimDataCollection > m_key
Definition: sTGCSDOVariables.h:23
MuonSimDataCollection.h
MuonPRDTest::sTgcSDOVariables::m_NSWsTGC_dig_globalPos
ThreeVectorBranch m_NSWsTGC_dig_globalPos
Definition: sTGCSDOVariables.h:31