ATLAS Offline Software
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,
20  SearchDirection searchDirection)
22  tInX0,
23  sf,
24  1 << static_cast<int>(Trk::MaterialEffectsBase::BremPoint))
25  , m_retainedEnFraction(retainedEnFraction)
26  , m_sigmaRetainedEnFraction(sEnFr)
27  , m_sigmaQoverPsquared(sQoPs)
28  , m_bremSearchDirection(searchDirection)
29 {}
30 
31 
32 // Overload of << operator for MsgStream for debug output
33 MsgStream&
34 Trk::EstimatedBremOnTrack::dump(MsgStream& sl) const
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
46 std::ostream&
47 Trk::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 
EstimatedBremOnTrack.h
Surface.h
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
Trk::EstimatedBremOnTrack::EstimatedBremOnTrack
EstimatedBremOnTrack()=default
default constructor for POOL
OfflineHitType::BremPoint
@ BremPoint
Trk::MaterialEffectsBase
base class to integrate material effects on Trk::Track in a flexible way.
Definition: MaterialEffectsBase.h:35
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
Trk::MaterialEffectsBase::dump
virtual MsgStream & dump(MsgStream &sl) const
Interface method for output, can be overloaded by child classes.
Definition: MaterialEffectsBase.cxx:65
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::SearchDirection
SearchDirection
Definition: PropDirection.h:29
mapkey::sf
@ sf
Definition: TElectronEfficiencyCorrectionTool.cxx:38
Trk::Surface
Definition: Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h:75
Trk::EstimatedBremOnTrack::dump
virtual MsgStream & dump(MsgStream &sl) const override final
Interface method for output.
Definition: EstimatedBremOnTrack.cxx:34