ATLAS Offline Software
MuonSpectrometer
MuonValidation
MuonTesterTree
MuonTesterTree
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
6
#include <
MuonTesterTree/VectorBranch.h
>
7
#include <
MuonTesterTree/IParticleFourMomBranch.h
>
8
namespace
MuonVal
{
10
class
TrackChi2Branch
:
public
VectorBranch
<float>,
11
virtual
public
IParticleDecorationBranch
{
12
public
:
13
TrackChi2Branch
(
IParticleFourMomBranch
&
parent
);
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
MuonVal::TrackChi2Branch::TrackChi2Branch
TrackChi2Branch(IParticleFourMomBranch &parent)
Definition:
TrackChi2Branch.cxx:8
IParticleFourMomBranch.h
MuonVal::IParticleDecorationBranch
Definition:
IMuonTesterBranch.h:65
MuonVal::TrackChi2Branch::operator+=
void operator+=(const xAOD::IParticle *p) override
Definition:
TrackChi2Branch.cxx:29
MuonVal::VectorBranch
Definition:
VectorBranch.h:14
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition:
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
VectorBranch.h
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
MuonVal::TrackChi2Branch::push_back
void push_back(const xAOD::IParticle *p) override
Similar to the IAuxElementDecoration branch but only accepting IParticles.
Definition:
TrackChi2Branch.cxx:15
MuonVal
Class to store array like branches into the n-tuples.
Definition:
MuonTPMetaDataAlg.cxx:25
MuonVal::TrackChi2Branch::m_nDoF
std::shared_ptr< VectorBranch< unsigned int > > m_nDoF
Definition:
TrackChi2Branch.h:22
MuonVal::MuonTesterBranch::parent
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
Definition:
MuonTesterBranch.cxx:38
MuonVal::IParticleFourMomBranch
Helper class to easily to add xAOD::IParticles and associated decorator variables to the MuonTesterTr...
Definition:
IParticleFourMomBranch.h:31
MuonVal::TrackChi2Branch
Dump the chi2 / nDof of a muon or a track particle.
Definition:
TrackChi2Branch.h:11
Generated on Thu Nov 7 2024 21:28:48 for ATLAS Offline Software by
1.8.18