|
ATLAS Offline Software
|
#include <TrackPropagationHelper.h>
|
| TrackPropagationHelper (IVP1System *sys) |
|
| ~TrackPropagationHelper () |
|
bool | makePointsNeutral (std::vector< Amg::Vector3D > &points, const Trk::Track *) |
|
bool | makePointsCharged (std::vector< Amg::Vector3D > &points, const Trk::Track *, Trk::IExtrapolator *extrapolator, Trk::ParticleHypothesis hypo=Trk::nonInteracting, bool useMEOT=false, const Trk::Volume *volume=0) |
|
std::vector< Trk::PlaneSurface > & | getExtrapolationSurfaces () const |
|
bool | showExtrapolationSurfaces () const |
|
void | setSystemBasePointer (IVP1System *sys) |
|
void | message (const QString &) const |
|
void | message (const QStringList &, const QString &addtoend="") const |
|
void | message (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
|
void | messageDebug (const QString &) const |
|
void | messageDebug (const QStringList &, const QString &addtoend="") const |
|
void | messageDebug (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
|
void | messageVerbose (const QString &) const |
|
void | messageVerbose (const QStringList &, const QString &addtoend="") const |
|
void | messageVerbose (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
|
IVP1System * | systemBase () const |
|
const QString & | helperClassName () const |
|
Definition at line 40 of file TrackPropagationHelper.h.
◆ TrackPropagationHelper()
TrackPropagationHelper::TrackPropagationHelper |
( |
IVP1System * |
sys | ) |
|
◆ ~TrackPropagationHelper()
TrackPropagationHelper::~TrackPropagationHelper |
( |
| ) |
|
◆ getExtrapolationSurfaces()
std::vector< Trk::PlaneSurface > & TrackPropagationHelper::getExtrapolationSurfaces |
( |
| ) |
const |
◆ helperClassName()
const QString& VP1HelperClassBase::helperClassName |
( |
| ) |
const |
|
inlineinherited |
◆ makePointsCharged()
Definition at line 239 of file TrackPropagationHelper.cxx.
243 messageVerbose(
"makePointsCharged start with hypo="+
str(hypo)+
", useMEOT="+
str(useMEOT)+
", volume=" +
str(volume));
251 message(
"makePointsCharged ERROR: Null extrapolator tool provided!");
255 message(
"makePointsCharged ERROR: Called with null track pointer");
258 const unsigned npars =
track->trackParameters()->size();
260 message(
"makePointsCharged ERROR: No TrackParameters on track!");
267 const EventContext& ctx = Gaudi::Hive::currentContext();
273 bool problems(
false);
274 for (; tsos_iter != tsos_end; ++tsos_iter) {
277 if ((*tsos_iter)->measurementOnTrack()==
nullptr && ( (*tsos_iter)->materialEffectsOnTrack()&&!useMEOT ) )
279 trackParam = (*tsos_iter)->trackParameters();
284 prevpar = trackParam;
285 points.push_back(prevpar->position());
290 points.push_back(trackParam->position());
291 prevpar = trackParam;
295 messageDebug(
"WARNING: Problems encountered adding point(s) between track parameters");
303 const std::vector<const Trk::Surface*>* bsurfs =
305 .decomposeToSurfaces(volume->
transform());
310 std::vector< const Trk::Surface * >::const_iterator bSurfsIt = bsurfs->begin();
311 for (;bSurfsIt!= bsurfs->end(); ++bSurfsIt){
324 messageDebug(
"WARNING: Problems encountered adding point(s) between track parameters in extending to Volume");
328 messageDebug(
"WARNING: Problems encountered getting boundary surfaces from Volume");
◆ makePointsNeutral()
Definition at line 151 of file TrackPropagationHelper.cxx.
158 message(
"makePointsNeutral called with null track pointer");
161 const unsigned npars =
track->trackParameters()->size();
163 message(
"makePointsNeutral Error: No TrackParameters on track!");
174 bool problems(
false);
175 for (; tsos_iter != tsos_end; ++tsos_iter) {
190 messageDebug(
"makePointsNeutral WARNING: Track had one or more track parameters which is unsafe to use in job.");
192 messageDebug(
"makePointsNeutral ERROR: Track did not have at least two safe parameters.");
◆ message() [1/3]
void VP1HelperClassBase::message |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ message() [2/3]
void VP1HelperClassBase::message |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 131 of file VP1HelperClassBase.cxx.
133 if (addtostart.isEmpty()) {
137 if (addtoend.isEmpty()) {
138 for (
const QString&
s :
l)
141 for (
const QString&
s :
l)
◆ message() [3/3]
void VP1HelperClassBase::message |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 91 of file VP1HelperClassBase.cxx.
93 if (addtoend.isEmpty()) {
94 for (
const QString&
s :
l)
97 for (
const QString&
s :
l)
◆ messageDebug() [1/3]
void VP1HelperClassBase::messageDebug |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ messageDebug() [2/3]
void VP1HelperClassBase::messageDebug |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 147 of file VP1HelperClassBase.cxx.
151 if (addtostart.isEmpty()) {
155 if (addtoend.isEmpty()) {
156 for (
const QString&
s :
l)
159 for (
const QString&
s :
l)
◆ messageDebug() [3/3]
void VP1HelperClassBase::messageDebug |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 103 of file VP1HelperClassBase.cxx.
107 if (addtoend.isEmpty()) {
108 for (
const QString&
s :
l)
111 for (
const QString&
s :
l)
◆ messageVerbose() [1/3]
void VP1HelperClassBase::messageVerbose |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ messageVerbose() [2/3]
void VP1HelperClassBase::messageVerbose |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 165 of file VP1HelperClassBase.cxx.
169 if (addtostart.isEmpty()) {
173 if (addtoend.isEmpty()) {
174 for (
const QString&
s :
l)
177 for (
const QString&
s :
l)
◆ messageVerbose() [3/3]
void VP1HelperClassBase::messageVerbose |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 117 of file VP1HelperClassBase.cxx.
121 if (addtoend.isEmpty()) {
122 for (
const QString&
s :
l)
125 for (
const QString&
s :
l)
◆ setHelperClassName()
void VP1HelperClassBase::setHelperClassName |
( |
const QString & |
n | ) |
|
|
inlineprotectedinherited |
◆ setSystemBasePointer()
void VP1HelperClassBase::setSystemBasePointer |
( |
IVP1System * |
sys | ) |
|
|
inherited |
◆ showExtrapolationSurfaces()
bool TrackPropagationHelper::showExtrapolationSurfaces |
( |
| ) |
const |
◆ str() [1/30]
◆ str() [2/30]
static QString VP1String::str |
( |
const bool |
b | ) |
|
|
inlinestaticinherited |
Definition at line 53 of file VP1String.h.
53 {
return b?
"True":
"False"; }
◆ str() [3/30]
static QString VP1String::str |
( |
const char * |
c | ) |
|
|
inlinestaticinherited |
◆ str() [4/30]
static QString VP1String::str |
( |
const double & |
d | ) |
|
|
inlinestaticinherited |
◆ str() [5/30]
static QString VP1String::str |
( |
const float & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [6/30]
◆ str() [7/30]
QString VP1String::str |
( |
const QColor & |
c | ) |
|
|
staticinherited |
Definition at line 30 of file VP1String.cxx.
32 return c.isValid() ?
c.name() :
"Invalid";
◆ str() [8/30]
template<class T >
static QString VP1String::str |
( |
const QFlags< T > & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [9/30]
template<class T >
static QString VP1String::str |
( |
const QList< T > & |
t | ) |
|
|
inlinestaticinherited |
◆ str() [10/30]
static QString VP1String::str |
( |
const QString & |
s | ) |
|
|
inlinestaticinherited |
◆ str() [11/30]
QString VP1String::str |
( |
const SbColor & |
c | ) |
|
|
staticinherited |
◆ str() [12/30]
QString VP1String::str |
( |
const SbVec2d & |
v | ) |
|
|
staticinherited |
◆ str() [13/30]
QString VP1String::str |
( |
const SbVec2f & |
v | ) |
|
|
staticinherited |
◆ str() [14/30]
QString VP1String::str |
( |
const SbVec2s & |
v | ) |
|
|
staticinherited |
◆ str() [15/30]
QString VP1String::str |
( |
const SbVec3d & |
v | ) |
|
|
staticinherited |
◆ str() [16/30]
QString VP1String::str |
( |
const SbVec3f & |
v | ) |
|
|
staticinherited |
◆ str() [17/30]
QString VP1String::str |
( |
const SbVec3s & |
v | ) |
|
|
staticinherited |
◆ str() [18/30]
QString VP1String::str |
( |
const SbVec4d & |
v | ) |
|
|
staticinherited |
◆ str() [19/30]
QString VP1String::str |
( |
const SbVec4f & |
v | ) |
|
|
staticinherited |
◆ str() [20/30]
template<class T >
static QString VP1String::str |
( |
const T * |
t | ) |
|
|
inlinestaticinherited |
Definition at line 87 of file VP1String.h.
87 {
return str(
static_cast<const void*
>(
t)); }
◆ str() [21/30]
QString VP1String::str |
( |
const void * |
p | ) |
|
|
staticinherited |
Definition at line 48 of file VP1String.cxx.
54 return QString (
s.str().c_str());
◆ str() [22/30]
◆ str() [23/30]
static QString VP1String::str |
( |
int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [24/30]
static QString VP1String::str |
( |
long |
n | ) |
|
|
inlinestaticinherited |
◆ str() [25/30]
static QString VP1String::str |
( |
qlonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [26/30]
static QString VP1String::str |
( |
qulonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [27/30]
static QString VP1String::str |
( |
short int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [28/30]
static QString VP1String::str |
( |
uint |
n | ) |
|
|
inlinestaticinherited |
◆ str() [29/30]
static QString VP1String::str |
( |
ulong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [30/30]
static QString VP1String::str |
( |
unsigned short int |
n | ) |
|
|
inlinestaticinherited |
◆ systemBase()
IVP1System* VP1HelperClassBase::systemBase |
( |
| ) |
const |
|
inlineinherited |
◆ verbose()
static bool VP1HelperClassBase::verbose |
( |
| ) |
|
|
inlinestaticinherited |
◆ warnUndeletedInstances()
void VP1HelperClassBase::warnUndeletedInstances |
( |
| ) |
|
|
staticinherited |
Definition at line 183 of file VP1HelperClassBase.cxx.
185 if (vp1helperclassbase_instanceMap.empty())
187 std::cout <<
"WARNING: Detected "<<vp1helperclassbase_instanceMap.size()<<
" undeleted helper class instances:"<<std::endl;
190 for (
it = vp1helperclassbase_instanceMap.begin();
it!=
itE;++
it) {
191 std::cout <<
" ==> "<<
it->first<<
": "<<
it->first->m_helpername.toStdString()
192 << (
it->second.isEmpty()?QString(
""):
" (in system "+
it->
second+
")").toStdString()<<std::endl;
◆ m_d
Imp* TrackPropagationHelper::m_d |
|
private |
◆ m_helpername
QString VP1HelperClassBase::m_helpername |
|
privateinherited |
◆ m_system
◆ s_vp1verbose
The documentation for this class was generated from the following files:
JetConstituentVector::iterator iterator
Const iterator class for DataVector/DataList.
const Amg::Vector3D & position() const
Access method for the position.
void messageVerbose(const QString &) const
static const bool s_vp1verbose
bool addPointsBetweenParameters_Charged(std::vector< Amg::Vector3D > &points, const Trk::Track *, const Trk::TrackParameters *par1, const Trk::TrackParameters *par2, Trk::IExtrapolator *extrapolator, Trk::ParticleHypothesis hypo)
static QString str(const QString &s)
std::unique_ptr< VP1TrackSanity > tracksanity
void messageDebug(const QString &) const
static const char * prefix_msg()
const QString & name() const
static QColor sbcol2qcol(const SbColor &)
static const char * prefix_debug()
const Amg::Transform3D & transform() const
Return methods for geometry transform.
bool outsideIDVolume(const Amg::Vector3D &p) const
static const char * prefix_verbose()
const VolumeBounds & volumeBounds() const
returns the volumeBounds()
void message(const QString &) const
bool makePointsCharged_SinglePar(std::vector< Amg::Vector3D > &points, const Trk::Track *, Trk::IExtrapolator *extrapolator, Trk::ParticleHypothesis hypo)
VP1HelperClassBase(IVP1System *sys=0, QString helpername="")
bool makePointsNeutral_SinglePar(std::vector< Amg::Vector3D > &points, const Trk::Track *)
void message(const QString &) const
std::vector< Trk::PlaneSurface > surfaces
For debugging.