Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/TrackFinding/RoiDescriptor.hpp>
Public Types | |
using | roi_iterator = std::vector< const RoiDescriptor * >::const_iterator |
Public Member Functions | |
RoiDescriptor (double eta, double etaMinus, double etaPlus, double phi, double phiMinus, double phiPlus, double zed=0, double zedMinus=-s_zedWidthDefault, double zedPlus=s_zedWidthDefault) | |
constructor | |
RoiDescriptor (const RoiDescriptor &roi) | |
RoiDescriptor & | operator= (const RoiDescriptor &r) |
~RoiDescriptor () | |
double | phi () const |
double | eta () const |
double | zed () const |
double | zedPlus () const |
z at the most forward end of the RoI | |
double | zedMinus () const |
z at the most backward end of the RoI | |
double | etaPlus () const |
gets eta at zedPlus | |
double | etaMinus () const |
gets eta at zMinus | |
double | phiPlus () const |
gets phiPlus | |
double | phiMinus () const |
gets phiMinus | |
int | version () const |
versioning | |
void | version (int v) |
bool | isFullscan () const |
output | |
bool | composite () const |
SuperRoI compatibility methods. | |
void | setComposite (bool b=true) |
bool | manageConstituents () const |
always manage constituents ??? | |
void | manageConstituents (bool b) |
unsigned | size () const |
number of constituents | |
const RoiDescriptor * | at (int i) const |
find an RoiDescriptor constituent | |
void | clear () |
clear the vector | |
void | reserve (size_t s) |
reserve elements in vector | |
void | push_back (const RoiDescriptor *roi) |
add a RoiDescriptor | |
roi_iterator | begin () const |
iterators | |
roi_iterator | end () const |
double | dzdrMinus () const |
return the gradients | |
double | dzdrPlus () const |
dz/dr at the front of the RoI | |
double | drdzMinus () const |
dr/dz at the rear of the RoI | |
double | drdzPlus () const |
dr/dz at the front of the RoI | |
double | zedMin (double r) const |
double | zedMax (double r) const |
double | zedOuterPlus () const |
z at the most forward end of the RoI | |
double | zedOuterMinus () const |
z at the most backward end of the RoI | |
double | rhoMin (double z) const |
double | rhoMax (double z) const |
unsigned int | roiId () const |
unsigned int | l1Id () const |
unsigned int | roiWord () const |
Static Public Member Functions | |
static double | zedWidthDefault () |
static void | zedWidthDefault (double d) |
set default z-width (but only before any RoiDescriptor has been created) | |
Static Public Attributes | |
static constexpr bool | FULLSCAN = true |
convenient | |
static constexpr bool | ROI = false |
Private Attributes | |
float | m_phi {} |
phi of RoI center | |
float | m_eta {} |
eta of RoI center | |
float | m_zed {} |
zed of RoI center | |
float | m_phiMinus {} |
most negative RoI in azimuthal | |
float | m_phiPlus {} |
most positive RoI in azimuthal | |
float | m_etaMinus {} |
eta of RoI at zedMinus | |
float | m_etaPlus {} |
eta of RoI at zedPlus | |
float | m_zedMinus {} |
float | m_zedPlus {} |
z position at most positive position along the beamline | |
float | m_dzdrMinus {} |
dz/dr at the rear of the RoI | |
float | m_dzdrPlus {} |
dz/dr at the front of the RoI | |
float | m_drdzMinus {} |
dr/dz at the rear of the RoI | |
float | m_drdzPlus {} |
dr/dz at the front of the RoI | |
float | m_zedOuterMinus {} |
z at rear of RoI at the outer radius ( = 1100 mm) | |
float | m_zedOuterPlus {} |
z at front of RoI at the outer radius ( = 1100 mm) | |
bool | m_fullscan {} |
flag this as a full detector RoI | |
bool | m_composite {} |
flag this as a composite RoI | |
bool | m_manageConstituents {} |
int | m_version {} |
transient version identifier | |
std::vector< const RoiDescriptor * > | m_roiDescriptors |
roi constituents | |
unsigned int | m_l1Id {0} |
lvl1 event number | |
unsigned int | m_roiId {0} |
RoI number. | |
unsigned int | m_roiWord {0} |
Static Private Attributes | |
static std::atomic< double > | s_zedWidthDefault |
default parameters - there may be better ways, but this will do | |
static std::atomic< bool > | s_firstInstanceCreated |
to ensure default width is only set once at job startup | |
Definition at line 22 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 22 of file RoiDescriptor.hpp
using Acts::RoiDescriptor::roi_iterator = std::vector<const RoiDescriptor*>::const_iterator |
Definition at line 25 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 25 of file RoiDescriptor.hpp
Acts::RoiDescriptor::RoiDescriptor | ( | double | eta, |
double | etaMinus, | ||
double | etaPlus, | ||
double | phi, | ||
double | phiMinus, | ||
double | phiPlus, | ||
double | zed = 0 , |
||
double | zedMinus = -s_zedWidthDefault , |
||
double | zedPlus = s_zedWidthDefault |
||
) |
constructor
eta | eta of RoI |
etaMinus | eta at rear of RoI |
etaPlus | eta at front of RoI |
phi | phi of RoI |
phiMinus | minimum phi of RoI |
phiPlus | maximum phi of RoI |
zed | zed of RoI |
zedMinus | zed at rear of RoI |
zedPlus | zed at front of RoI |
Definition at line 17 of file RoiDescriptor.cpp.
View newest version in sPHENIX GitHub at line 17 of file RoiDescriptor.cpp
Acts::RoiDescriptor::RoiDescriptor | ( | const RoiDescriptor & | roi | ) |
|
default |
|
inline |
find an RoiDescriptor constituent
Definition at line 104 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 104 of file RoiDescriptor.hpp
References m_roiDescriptors.
|
inline |
iterators
Definition at line 119 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 119 of file RoiDescriptor.hpp
References m_roiDescriptors.
|
inline |
clear the vector
Definition at line 107 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 107 of file RoiDescriptor.hpp
References m_roiDescriptors.
|
inline |
SuperRoI compatibility methods.
am I a SuperRoi?
Definition at line 93 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 93 of file RoiDescriptor.hpp
References m_composite.
|
inline |
dr/dz at the rear of the RoI
Definition at line 130 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 130 of file RoiDescriptor.hpp
References m_drdzMinus.
|
inline |
dr/dz at the front of the RoI
Definition at line 133 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 133 of file RoiDescriptor.hpp
References m_drdzPlus.
|
inline |
return the gradients
dz/dr at the rear of the RoI
Definition at line 123 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 123 of file RoiDescriptor.hpp
References m_dzdrMinus.
Referenced by Acts::SeedFinderFTF< external_spacepoint_t >::runGNN_TrackFinder().
|
inline |
dz/dr at the front of the RoI
Definition at line 126 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 126 of file RoiDescriptor.hpp
References m_dzdrPlus.
Referenced by Acts::SeedFinderFTF< external_spacepoint_t >::runGNN_TrackFinder().
|
inline |
Definition at line 120 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 120 of file RoiDescriptor.hpp
References m_roiDescriptors.
|
inline |
Definition at line 60 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 60 of file RoiDescriptor.hpp
References m_eta.
|
inline |
gets eta at zMinus
Definition at line 75 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 75 of file RoiDescriptor.hpp
References m_etaMinus.
|
inline |
gets eta at zedPlus
Definition at line 74 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 74 of file RoiDescriptor.hpp
References m_etaPlus.
|
inline |
output
is this a full scan RoI?
Definition at line 88 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 88 of file RoiDescriptor.hpp
References m_fullscan.
|
inline |
Definition at line 159 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 159 of file RoiDescriptor.hpp
References m_l1Id.
|
inline |
always manage constituents ???
Definition at line 97 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 97 of file RoiDescriptor.hpp
References m_manageConstituents.
|
inline |
Definition at line 98 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 98 of file RoiDescriptor.hpp
References KFPMath::b, and m_manageConstituents.
RoiDescriptor& Acts::RoiDescriptor::operator= | ( | const RoiDescriptor & | r | ) |
|
inline |
Definition at line 59 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 59 of file RoiDescriptor.hpp
References m_phi.
|
inline |
gets phiMinus
Definition at line 78 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 78 of file RoiDescriptor.hpp
References m_phiMinus.
|
inline |
gets phiPlus
Definition at line 77 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 77 of file RoiDescriptor.hpp
References m_phiPlus.
|
inline |
add a RoiDescriptor
Definition at line 113 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 113 of file RoiDescriptor.hpp
References m_roiDescriptors, and setComposite().
|
inline |
reserve elements in vector
Definition at line 110 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 110 of file RoiDescriptor.hpp
References m_roiDescriptors.
|
inline |
Definition at line 158 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 158 of file RoiDescriptor.hpp
References m_roiId.
|
inline |
Definition at line 160 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 160 of file RoiDescriptor.hpp
References m_roiWord.
|
inline |
Definition at line 94 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 94 of file RoiDescriptor.hpp
References KFPMath::b, and m_composite.
Referenced by push_back().
|
inline |
number of constituents
Definition at line 101 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 101 of file RoiDescriptor.hpp
References m_roiDescriptors.
|
inline |
versioning
Definition at line 81 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 81 of file RoiDescriptor.hpp
References m_version.
|
inline |
Definition at line 82 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 82 of file RoiDescriptor.hpp
References m_version, and testSigmaEff::v.
|
inline |
Definition at line 61 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 61 of file RoiDescriptor.hpp
References m_zed.
methods to calculate z position at the RoI boundary at a given radius
|
inline |
z at the most backward end of the RoI
Definition at line 70 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 70 of file RoiDescriptor.hpp
References m_zedMinus.
|
inline |
z at the most backward end of the RoI
Definition at line 145 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 145 of file RoiDescriptor.hpp
References m_zedOuterMinus.
|
inline |
z at the most forward end of the RoI
Definition at line 142 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 142 of file RoiDescriptor.hpp
References m_zedOuterPlus.
|
inline |
z at the most forward end of the RoI
these quantities probably don't need to be used any more
Definition at line 67 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 67 of file RoiDescriptor.hpp
References m_zedPlus.
|
inlinestatic |
Definition at line 152 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 152 of file RoiDescriptor.hpp
References s_zedWidthDefault.
|
static |
set default z-width (but only before any RoiDescriptor has been created)
|
static |
convenient
Definition at line 27 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 27 of file RoiDescriptor.hpp
|
private |
flag this as a composite RoI
Definition at line 193 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 193 of file RoiDescriptor.hpp
Referenced by composite(), and setComposite().
|
private |
dr/dz at the rear of the RoI
Definition at line 184 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 184 of file RoiDescriptor.hpp
Referenced by drdzMinus().
|
private |
dr/dz at the front of the RoI
Definition at line 185 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 185 of file RoiDescriptor.hpp
Referenced by drdzPlus().
|
private |
dz/dr at the rear of the RoI
Definition at line 181 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 181 of file RoiDescriptor.hpp
Referenced by dzdrMinus().
|
private |
dz/dr at the front of the RoI
Definition at line 182 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 182 of file RoiDescriptor.hpp
Referenced by dzdrPlus().
|
private |
eta of RoI center
Definition at line 169 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 169 of file RoiDescriptor.hpp
Referenced by eta().
|
private |
eta of RoI at zedMinus
Definition at line 174 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 174 of file RoiDescriptor.hpp
Referenced by etaMinus().
|
private |
eta of RoI at zedPlus
Definition at line 175 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 175 of file RoiDescriptor.hpp
Referenced by etaPlus().
|
private |
flag this as a full detector RoI
Definition at line 192 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 192 of file RoiDescriptor.hpp
Referenced by isFullscan().
|
private |
lvl1 event number
Definition at line 202 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 202 of file RoiDescriptor.hpp
Referenced by l1Id().
|
private |
flag to determine whether constituents should be managed
Definition at line 194 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 194 of file RoiDescriptor.hpp
Referenced by manageConstituents().
|
private |
phi of RoI center
Definition at line 168 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 168 of file RoiDescriptor.hpp
Referenced by phi().
|
private |
most negative RoI in azimuthal
Definition at line 172 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 172 of file RoiDescriptor.hpp
Referenced by phiMinus().
|
private |
most positive RoI in azimuthal
Definition at line 173 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 173 of file RoiDescriptor.hpp
Referenced by phiPlus().
|
private |
roi constituents
Definition at line 199 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 199 of file RoiDescriptor.hpp
Referenced by at(), begin(), clear(), end(), push_back(), reserve(), and size().
|
private |
RoI number.
Definition at line 203 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 203 of file RoiDescriptor.hpp
Referenced by roiId().
|
private |
lvl1 RoI word from which this RoI was initially constructed
Definition at line 204 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 204 of file RoiDescriptor.hpp
Referenced by roiWord().
|
private |
transient version identifier
Definition at line 197 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 197 of file RoiDescriptor.hpp
Referenced by version().
|
private |
zed of RoI center
Definition at line 170 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 170 of file RoiDescriptor.hpp
Referenced by zed().
|
private |
z position at most negative position along the beamline
Definition at line 176 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 176 of file RoiDescriptor.hpp
Referenced by zedMinus().
|
private |
z at rear of RoI at the outer radius ( = 1100 mm)
Definition at line 188 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 188 of file RoiDescriptor.hpp
Referenced by zedOuterMinus().
|
private |
z at front of RoI at the outer radius ( = 1100 mm)
Definition at line 190 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 190 of file RoiDescriptor.hpp
Referenced by zedOuterPlus().
|
private |
z position at most positive position along the beamline
Definition at line 179 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 179 of file RoiDescriptor.hpp
Referenced by zedPlus().
|
static |
Definition at line 28 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 28 of file RoiDescriptor.hpp
|
staticprivate |
to ensure default width is only set once at job startup
Definition at line 166 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 166 of file RoiDescriptor.hpp
|
staticprivate |
default parameters - there may be better ways, but this will do
Definition at line 164 of file RoiDescriptor.hpp.
View newest version in sPHENIX GitHub at line 164 of file RoiDescriptor.hpp
Referenced by zedWidthDefault().