ATLAS Offline Software
Loading...
Searching...
No Matches
TrackChi2Branch.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONTESTERTREE_TRACKCHI2BRANCH_H
5#define MUONTESTERTREE_TRACKCHI2BRANCH_H
8namespace MuonVal{
10 class TrackChi2Branch : public VectorBranch<float>,
11 virtual public IParticleDecorationBranch {
12 public:
14
15 using VectorBranch<float>::push_back;
16 void push_back(const xAOD::IParticle* p) override;
17 void push_back(const xAOD::IParticle& p) override;
18 void operator+=(const xAOD::IParticle* p) override;
19 void operator+=(const xAOD::IParticle& p) override;
20
21 private:
22 std::shared_ptr<VectorBranch<unsigned int>> m_nDoF{nullptr};
23 };
24}
25#endif
Helper class to easily to add xAOD::IParticles and associated decorator variables to the MuonTesterTr...
void operator+=(const xAOD::IParticle *p) override
std::shared_ptr< VectorBranch< unsigned int > > m_nDoF
void push_back(const xAOD::IParticle *p) override
Similar to the IAuxElementDecoration branch but only accepting IParticles.
TrackChi2Branch(IParticleFourMomBranch &parent)
VectorBranch(TTree *tree, const std::string &name)
Class providing the definition of the 4-vector interface.
Class to store array like branches into the n-tuples.
Definition HitValAlg.cxx:19