ATLAS Offline Software
Loading...
Searching...
No Matches
EstimatedBremOnTrack.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
6// EstimatedBremOnTrack.cxx (c) ATLAS Detector software
8
10#include "GaudiKernel/MsgStream.h"
11#include "TrkSurfaces/Surface.h"
12#include <ostream>
13#include <string>
14
16 double retainedEnFraction,
17 double sEnFr,
18 double sQoPs,
19 const Surface& sf,
22 tInX0,
23 sf,
24 1 << static_cast<int>(Trk::MaterialEffectsBase::BremPoint))
29{}
30
31
32// Overload of << operator for MsgStream for debug output
33MsgStream&
35{
36 sl << "EstimatedBremOnTrack based on" << endmsg;
38 sl << "EstBremOT retained p fraction z: " << retainedEnFraction() << endmsg;
39 sl << "EstBremOT sigma(z) : " << sigmaRetainedEnFraction()
40 << endmsg;
41 sl << "EstBremOT q/p noise term to cov: " << sigmaQoverPsquared() << endmsg;
42 sl << "EstBremOT brem search direction: " << searchDirection() << endmsg;
43 return sl;
44}
45// Overload of << operator for std::ostream for debug output
46std::ostream&
47Trk::EstimatedBremOnTrack::dump(std::ostream& sl) const
48{
49 sl << "EstimatedBremOnTrack based on" << std::endl;
51 sl << "\t EstBremOT retained p fraction z: " << retainedEnFraction()
52 << std::endl;
53 sl << "\t EstBremOT sigma(z) : " << sigmaRetainedEnFraction()
54 << std::endl;
55 sl << "\t EstBremOT q/p noise term to cov: " << sigmaQoverPsquared()
56 << std::endl;
57 sl << "\t EstBremOT brem search direction: " << searchDirection()
58 << std::endl;
59 return sl;
60}
61
#define endmsg
double m_retainedEnFraction
- the momentum retained after energy loss
double m_sigmaQoverPsquared
- the applied straggling on the momentum correction
virtual MsgStream & dump(MsgStream &sl) const override final
Interface method for output.
double sigmaQoverPsquared() const
returns the additional noise term
double sigmaRetainedEnFraction() const
return
SearchDirection searchDirection() const
returns if the brem was discovered with a particular search direction
SearchDirection m_bremSearchDirection
if brem was found in particular direction, outward, inward or global
double m_sigmaRetainedEnFraction
- uncertainty on the momentum retained after Eloss
EstimatedBremOnTrack()=default
default constructor for POOL
double retainedEnFraction() const
returns
@ BremPoint
contains q/p covariance noise term
virtual MsgStream & dump(MsgStream &sl) const
Interface method for output, can be overloaded by child classes.
MaterialEffectsBase()
default constructor for POOL
Abstract Base Class for tracking surfaces.
Ensure that the ATLAS eigen extensions are properly loaded.
SearchDirection