|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONPRDTEST_TRUTHVARIABLES_H
6 #define MUONPRDTEST_TRUTHVARIABLES_H
15 bool fill(
const EventContext& ctx)
override final;
34 #endif // TRUTHVARIABLES_H
VectorBranch< int > & m_Truth_particleBarcode
TruthVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
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...
PtEtaPhiEBranch m_truthParticleP4
VectorBranch< int > & m_Truth_vertexId
TTree * tree() override final
Returns the underlying TTree object.
bool declare_keys() override final
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
VectorBranch< int > & m_Truth_particleEnd_vertex_id
ScalarBranch< unsigned int > & m_Truth_nParticles
VectorBranch< int > & m_Truth_particleProduction_vertex_id
ScalarBranch< T > & newScalar(const std::string &name)
ScalarBranch< unsigned int > & m_Truth_nVertices
SG::ReadHandleKey< McEventCollection > m_key
VectorBranch< int > & m_Truth_particleStatus
CartesFourVecBranch m_Truth_vertex
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
Helper class to store the four-momentum in a TTree using the Pt, Eta, Phi, E representation.
Helper class to store the four-momentum in a TTree using the X,Y,Z,T or Px,Py,Pz,E representation.
VectorBranch< int > & m_Truth_particlePdg_id