|
ATLAS Offline Software
|
#include <InDetProjHelper.h>
|
virtual | ~InDetProjHelper () |
|
InDetProjFlags::InDetProjPartsFlags | setParts (InDetProjFlags::InDetProjPartsFlags) |
|
InDetProjFlags::InDetProjPartsFlags | parts () const |
|
void | clipPath (const std::vector< Amg::Vector3D > &path, Amg::SetVectorVector3D &resulting_subpaths) const |
|
void | clipPath (const std::vector< Amg::Vector3D > &path, Amg::SetVectorVector3D &resulting_subpaths_barrelA, Amg::SetVectorVector3D &resulting_subpaths_barrelC, Amg::SetVectorVector3D &resulting_subpaths_endcapA, Amg::SetVectorVector3D &resulting_subpaths_endcapC) const |
|
void | projectPath (const std::vector< Amg::Vector3D > &path, Amg::SetVectorVector3D &resulting_projections) const |
|
void | projectPath (const std::vector< Amg::Vector3D > &path, Amg::SetVectorVector3D &resulting_projections_barrelA, Amg::SetVectorVector3D &resulting_projections_barrelC, Amg::SetVectorVector3D &resulting_projections_endcapA, Amg::SetVectorVector3D &resulting_projections_endcapC) const |
|
PartsFlags | touchedParts (const std::vector< Amg::Vector3D > &path) 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 |
|
QString | helperClassName () const |
|
|
| InDetProjHelper (double surfacethickness, double data_disttosurface_epsilon, double barrel_inner_radius, double barrel_outer_radius, double barrel_posneg_z, double endcap_surface_z, double endcap_surface_length, double endcap_inner_radius, double endcap_outer_radius, double endcap_zasr_innerradius, double endcap_zasr_endcapz_begin, double endcap_zasr_squeezefact, IVP1System *sys) |
|
Definition at line 34 of file InDetProjHelper.h.
◆ PartsFlag
Enumerator |
---|
NoParts | |
BarrelA | |
BarrelC | |
EndCapA | |
EndCapC | |
Definition at line 66 of file InDetProjHelper.h.
◆ ~InDetProjHelper()
InDetProjHelper::~InDetProjHelper |
( |
| ) |
|
|
virtual |
◆ InDetProjHelper()
InDetProjHelper::InDetProjHelper |
( |
double |
surfacethickness, |
|
|
double |
data_disttosurface_epsilon, |
|
|
double |
barrel_inner_radius, |
|
|
double |
barrel_outer_radius, |
|
|
double |
barrel_posneg_z, |
|
|
double |
endcap_surface_z, |
|
|
double |
endcap_surface_length, |
|
|
double |
endcap_inner_radius, |
|
|
double |
endcap_outer_radius, |
|
|
double |
endcap_zasr_innerradius, |
|
|
double |
endcap_zasr_endcapz_begin, |
|
|
double |
endcap_zasr_squeezefact, |
|
|
IVP1System * |
sys |
|
) |
| |
|
private |
◆ clipPath() [1/2]
◆ clipPath() [2/2]
Definition at line 281 of file InDetProjHelper.cxx.
290 resulting_subpaths_barrelA.clear();
291 resulting_subpaths_barrelC.clear();
292 resulting_subpaths_endcapA.clear();
293 resulting_subpaths_endcapC.clear();
301 if (
path.size()<2 ) {
316 if (paths_clipped.empty()) {
328 if ( ( (enabled_brlA?1:0) + (enabled_brlC?1:0) + (enabled_ecA?1:0) + (enabled_ecC?1:0) ) == 1 ) {
330 resulting_subpaths_barrelA = paths_clipped;
336 resulting_subpaths_barrelC = paths_clipped;
342 resulting_subpaths_endcapA = paths_clipped;
348 resulting_subpaths_endcapC = paths_clipped;
359 Amg::SetVectorVector3D::const_iterator
it,
itE(paths_clipped.end());
360 for (
it = paths_clipped.begin();
it!=
itE;++
it) {
◆ createPixelHelper()
◆ createSCTHelper()
◆ createTRTHelper()
◆ helperClassName()
QString VP1HelperClassBase::helperClassName |
( |
| ) |
const |
|
inlineinherited |
◆ 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 |
◆ message() [3/3]
void VP1HelperClassBase::message |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ 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 |
◆ messageDebug() [3/3]
void VP1HelperClassBase::messageDebug |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ 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 |
◆ messageVerbose() [3/3]
void VP1HelperClassBase::messageVerbose |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ parts()
InDetProjFlags::InDetProjPartsFlags InDetProjHelper::parts |
( |
| ) |
const |
◆ projectPath() [1/2]
◆ projectPath() [2/2]
Definition at line 826 of file InDetProjHelper.cxx.
835 resulting_projections_barrelA.clear();
836 resulting_projections_barrelC.clear();
837 resulting_projections_endcapA.clear();
838 resulting_projections_endcapC.clear();
846 if (
path.size()<2 ) {
855 clipPath(
path,paths_brlA, paths_brlC, paths_ecA,paths_ecC);
864 Amg::SetVectorVector3D::const_iterator
it,
itE;
867 itE = paths_brlA.end();
869 for (
it = paths_brlA.begin();
it!=
itE; ++
it )
872 for (
it = paths_brlA.begin();
it!=
itE; ++
it )
876 itE = paths_brlC.end();
878 for (
it = paths_brlC.begin();
it!=
itE; ++
it )
881 for (
it = paths_brlC.begin();
it!=
itE; ++
it )
885 itE = paths_ecA.end();
887 for (
it = paths_ecA.begin();
it!=
itE; ++
it )
890 for (
it = paths_ecA.begin();
it!=
itE; ++
it )
894 for (
it = paths_ecA.begin();
it!=
itE; ++
it )
899 for (
it = paths_ecA.begin();
it!=
itE; ++
it )
904 itE = paths_ecC.end();
906 for (
it = paths_ecC.begin();
it!=
itE; ++
it )
909 for (
it = paths_ecC.begin();
it!=
itE; ++
it )
913 for (
it = paths_ecC.begin();
it!=
itE; ++
it )
918 for (
it = paths_ecC.begin();
it!=
itE; ++
it )
◆ setHelperClassName()
void VP1HelperClassBase::setHelperClassName |
( |
const QString & |
n | ) |
|
|
inlineprotectedinherited |
◆ setParts()
InDetProjFlags::InDetProjPartsFlags InDetProjHelper::setParts |
( |
InDetProjFlags::InDetProjPartsFlags |
newparts | ) |
|
◆ setSystemBasePointer()
void VP1HelperClassBase::setSystemBasePointer |
( |
IVP1System * |
sys | ) |
|
|
inherited |
◆ 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 |
◆ touchedParts()
InDetProjHelper::PartsFlags InDetProjHelper::touchedParts |
( |
const std::vector< Amg::Vector3D > & |
path | ) |
const |
◆ transformECPointToZPlane_specialZtoR()
void InDetProjHelper::transformECPointToZPlane_specialZtoR |
( |
Amg::Vector3D & |
p, |
|
|
const double & |
planeZ, |
|
|
const double & |
planeRBegin, |
|
|
const double & |
endcapZBegin, |
|
|
const double & |
squeezeFactor |
|
) |
| |
|
static |
Definition at line 780 of file InDetProjHelper.cxx.
786 if (
p.x()==0.0 &&
p.y()==0.0 ) {
787 VP1Msg::message(
"InDetProjHelper::transformECPointToZPlane_specialZtoR ERROR: "
788 "Point has x==0 and y==0. Ambiguous projection of point.");
792 const double r = planeRBegin + (fabs(
p.z())-endcapZBegin)/squeezeFactor;
793 const double s =
r / sqrt(
p.x()*
p.x()+
p.y()*
p.y() );
◆ 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* InDetProjHelper::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
void clipPathToHollowCylinder(const std::vector< Amg::Vector3D > &in, Amg::SetVectorVector3D &out, const double &rmin, const double &rmax, const double &zmin, const double &zmax) const
static double sct_endcap_surface_z()
static double trt_endcap_zasr_endcapz_begin()
static double trt_endcap_outer_radius()
static double trt_endcap_surface_z()
path
python interpreter configuration --------------------------------------—
static double sct_endcap_zasr_endcapz_begin()
static double pixel_barrel_posneg_z()
static double pixel_endcap_zasr_endcapz_begin()
double endcap_inner_radius
static double sct_barrel_posneg_z()
static double pixel_barrel_outer_radius()
void messageVerbose(const QString &) const
static double sct_barrel_outer_radius()
static const bool s_vp1verbose
static double trt_barrel_inner_radius()
double endcap_surface_length
static double sct_barrel_inner_radius()
static double sct_data_disttosurface_epsilon()
void projectPathToZPlane_specialZtoR(const std::vector< Amg::Vector3D > &in, Amg::SetVectorVector3D &outset, const double &z) const
InDetProjHelper * theclass
bool touchesHollowCylinder(const std::vector< Amg::Vector3D > &path, const double &rmin, const double &rmax, const double &zmin, const double &zmax) const
std::set< std::vector< Amg::Vector3D >, VectorVector3DComparer > SetVectorVector3D
static QString str(const QString &s)
void messageDebug(const QString &) const
static double trt_barrel_posneg_z()
static double trt_endcap_zasr_squeezefact()
double endcap_outer_radius
double endcap_zasr_innerradius
static double sct_endcap_outer_radius()
static double sct_endcap_zasr_innerradius()
double endcap_zasr_squeezefact
static double pixel_endcap_zasr_squeezefact()
static const char * prefix_msg()
void projectPath(const std::vector< Amg::Vector3D > &path, Amg::SetVectorVector3D &resulting_projections) const
static double surfacethickness()
static double pixel_endcap_zasr_innerradius()
double data_disttosurface_epsilon
static double sct_endcap_inner_radius()
const QString & name() const
void projectPathToInfiniteCylinder(const std::vector< Amg::Vector3D > &in, Amg::SetVectorVector3D &outset, const double &r) const
static double trt_barrel_outer_radius()
void clipPath(const std::vector< Amg::Vector3D > &path, Amg::SetVectorVector3D &resulting_subpaths) const
void projectPathToZPlane(const std::vector< Amg::Vector3D > &in, Amg::SetVectorVector3D &outset, const double &z) const
static double sct_endcap_zasr_squeezefact()
static double pixel_data_disttosurface_epsilon()
static QColor sbcol2qcol(const SbColor &)
InDetProjFlags::InDetProjPartsFlags parts
static double pixel_endcap_outer_radius()
double endcap_zasr_endcapz_begin
static double pixel_barrel_inner_radius()
static const char * prefix_debug()
static double trt_data_disttosurface_epsilon()
static const char * prefix_verbose()
static double sct_endcap_surface_length()
static void message(const QString &, IVP1System *sys=0)
static double pixel_endcap_surface_z()
static double trt_endcap_zasr_innerradius()
void message(const QString &) const
static double pixel_endcap_surface_length()
VP1HelperClassBase(IVP1System *sys=0, QString helpername="")
double barrel_outer_radius
double barrel_inner_radius
InDetProjHelper(double surfacethickness, double data_disttosurface_epsilon, double barrel_inner_radius, double barrel_outer_radius, double barrel_posneg_z, double endcap_surface_z, double endcap_surface_length, double endcap_inner_radius, double endcap_outer_radius, double endcap_zasr_innerradius, double endcap_zasr_endcapz_begin, double endcap_zasr_squeezefact, IVP1System *sys)
static double trt_endcap_surface_length()
static double trt_endcap_inner_radius()
void message(const QString &) const
static double pixel_endcap_inner_radius()