#include <T2TrackBeamSpotTool.h>
|
| void | updateBS (std::vector< const Trk::Track * > &&tracks, unsigned bcid) const |
| | Update beam spot data with new track information.
|
| void | updateBS (std::vector< TrackData > &&tracks) const |
| | Update beam spot data with new track information.
|
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleKey>
|
Definition at line 27 of file T2TrackBeamSpotTool.h.
◆ StoreGateSvc_t
◆ TrackData
◆ T2TrackBeamSpotTool()
| T2TrackBeamSpotTool::T2TrackBeamSpotTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Definition at line 113 of file T2TrackBeamSpotTool.cxx.
115{
119}
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
◆ ~T2TrackBeamSpotTool()
| PESA::T2TrackBeamSpotTool::~T2TrackBeamSpotTool |
( |
| ) |
|
|
default |
◆ declareGaudiProperty()
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
158 {
161 hndl.documentation());
162
163 }
◆ declareProperty()
Definition at line 145 of file AthCommonDataStore.h.
145 {
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
◆ detStore()
◆ evtStore()
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ initialize()
| StatusCode T2TrackBeamSpotTool::initialize |
( |
| ) |
|
|
final |
Definition at line 121 of file T2TrackBeamSpotTool.cxx.
122{
124
125
128
129 return StatusCode::SUCCESS;
130}
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ msg()
◆ msgLvl()
| bool AthCommonMsg< AlgTool >::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
Definition at line 380 of file AthCommonDataStore.h.
381 {
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateBS() [1/3]
| void T2TrackBeamSpotTool::updateBS |
( |
const TrackCollection & | tracks, |
|
|
EventIDBase const & | eventID ) const |
Update beam spot data with new track information.
Parameter provides a lists of tracks.
Definition at line 132 of file T2TrackBeamSpotTool.cxx.
133{
134
136
137 std::vector<TrackData> bsTracks;
139 eventID.bunch_crossing_id(), &bsTracks);
140
141
142 if (has_bs) {
143 if (not bsTracks.empty()) {
145 } else {
147 }
148 }
149}
◆ updateBS() [2/3]
| void T2TrackBeamSpotTool::updateBS |
( |
std::vector< const Trk::Track * > && | tracks, |
|
|
unsigned | bcid ) const |
|
private |
Update beam spot data with new track information.
Parameter provides a lists of tracks.
Definition at line 151 of file T2TrackBeamSpotTool.cxx.
152{
153 auto timer = Monitored::Timer(
"TIME_updateBS");
155 ATH_MSG_DEBUG(
"Fill LS matrices with " << tracks.size() <<
" Trk::Track tracks");
156 MonitoredLSMatrices lsMatrices;
157 for (auto& track: tracks) {
160 }
162 }
164 ATH_MSG_DEBUG(
"Fill LL coefficients with " << tracks.size() <<
" Trk::Track tracks");
165 std::vector<double> poly_coeff;
167 for (auto& track: tracks) {
168 auto const&
par =
track->perigeeParameters()->parameters();
169 auto const&
cov =
track->perigeeParameters()->covariance();
171 }
172 if (not poly_coeff.empty()) {
175 }
176 }
178}
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
constexpr double coeff(const unsigned l, const unsigned k)
Calculates the n-th coefficient of the legendre polynomial series.
timer(name, disabled=False)
◆ updateBS() [3/3]
| void T2TrackBeamSpotTool::updateBS |
( |
std::vector< TrackData > && | tracks | ) |
const |
|
private |
Update beam spot data with new track information.
This method does exactly the same as above but uses different track representation. Two methods defined mostly for performance reasons to avoid conversion.
Definition at line 180 of file T2TrackBeamSpotTool.cxx.
181{
182 auto timer = Monitored::Timer(
"TIME_updateBS");
184 ATH_MSG_DEBUG(
"Fill LS matrices with " << tracks.size() <<
" TrackData tracks");
185 MonitoredLSMatrices lsMatrices;
186 for (auto& track: tracks) {
188 }
190 }
192 ATH_MSG_DEBUG(
"Fill LL coefficients with " << tracks.size() <<
" TrackData tracks");
193 std::vector<double> poly_coeff;
195 for (auto& track: tracks) {
197 }
200 }
202}
◆ updateVHKA()
Definition at line 308 of file AthCommonDataStore.h.
308 {
309
310
313 for (
auto k :
keys) {
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka
◆ m_beamSizeLS
| double PESA::T2TrackBeamSpotTool::m_beamSizeLS |
|
private |
◆ m_detStore
◆ m_doLeastSquares
| bool PESA::T2TrackBeamSpotTool::m_doLeastSquares |
|
private |
◆ m_doLogLikelihood
| bool PESA::T2TrackBeamSpotTool::m_doLogLikelihood |
|
private |
◆ m_evtStore
◆ m_monTool
| ToolHandle<GenericMonitoringTool> PESA::T2TrackBeamSpotTool::m_monTool {this, "MonTool", "", "Monitoring tool"} |
|
private |
◆ m_trackFilterTool
| ToolHandle<T2BSTrackFilterTool> PESA::T2TrackBeamSpotTool::m_trackFilterTool {this, "TrackFilter", "PESA::T2BSTrackFilterTool/T2BSTrackFilterTool" } |
|
private |
Definition at line 67 of file T2TrackBeamSpotTool.h.
67{this, "TrackFilter", "PESA::T2BSTrackFilterTool/T2BSTrackFilterTool" };
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: