![]() |
Project
|
#include <CalibLaserTracks.h>
Public Member Functions | |
| CalibLaserTracks () | |
| CalibLaserTracks (const CalibLaserTracks &other) | |
| ~CalibLaserTracks ()=default | |
| void | fill (const gsl::span< const TrackTPC > tracks, float tp=0) |
| void | fill (std::vector< TrackTPC > const &tracks, float tp=0) |
| void | processTrack (const TrackTPC &track) |
| process single track | |
| int | findLaserTrackID (TrackPar track, int side=-1) |
| void | setTriggerPos (int triggerPos) |
| trigger position for track z position correction | |
| void | merge (const CalibLaserTracks *other) |
| merge data with other calibration object | |
| void | endTF () |
| End processing of this TF. | |
| void | finalize () |
| Finalize full processing. | |
| void | print () const |
| print information | |
| bool | hasEnoughData (size_t numTFs=1) const |
| size_t | getMatchedPairs () const |
| number of associated laser tracks on both sides for all processed TFs | |
| size_t | getMatchedPairsA () const |
| number of associated laser tracks for all processed TFs on the A-Side | |
| size_t | getMatchedPairsC () const |
| number of associated laser tracks for all processed TFs on the C-Side | |
| size_t | getMatchedPairsTFA () const |
| number of associated laser tracks presently processed TFs on the A-Side | |
| size_t | getMatchedPairsTFC () const |
| number of associated laser tracks presently processed TFs on the C-Side | |
| void | setTFtimes (uint64_t tfStart, uint64_t tfEnd=0) |
| uint64_t | getTFstart () const |
| uint64_t | getTFend () const |
| void | setWriteDebugTree (bool write) |
| bool | getWriteDebugTree () const |
| TimePair | fit (const std::vector< TimePair > &trackMatches, std::string_view info) const |
| extract DV correction and T0 offset | |
| void | sort (std::vector< TimePair > &trackMatches) |
| sort TimePoint vectors | |
| const LtrCalibData & | getCalibDataTF () |
| drift velocity fit information for presently processed time frame | |
| const LtrCalibData & | getCalibData () |
| drift velocity fit information for full data set | |
| void | setDebugOutputName (std::string_view name) |
| name of the debug output tree | |
| void | setVDriftRef (float v) |
Static Public Member Functions | |
| static float | getPhiNearbyLaserRod (const TrackPar ¶m, int side) |
| calculate phi of nearest laser rod | |
| static bool | hasNearbyLaserRod (const TrackPar ¶m, int side) |
| check if param is closer to a laser rod than 1/4 of a sector width | |
Static Public Attributes | |
| static constexpr size_t | MinTrackPerSidePerTF = 50 |
Definition at line 45 of file CalibLaserTracks.h.
|
inline |
Definition at line 50 of file CalibLaserTracks.h.
|
inline |
Definition at line 56 of file CalibLaserTracks.h.
|
default |
| void CalibLaserTracks::endTF | ( | ) |
End processing of this TF.
Definition at line 304 of file CalibLaserTracks.cxx.
process all tracks of one TF
| tp | ratio of temperature over pressure |
Definition at line 33 of file CalibLaserTracks.cxx.
process all tracks of one TF
| tp | ratio of temperature over pressure |
Definition at line 27 of file CalibLaserTracks.cxx.
| void CalibLaserTracks::finalize | ( | ) |
Finalize full processing.
Definition at line 322 of file CalibLaserTracks.cxx.
| int CalibLaserTracks::findLaserTrackID | ( | TrackPar | track, |
| int | side = -1 |
||
| ) |
try to associate track with ideal laser track
Definition at line 160 of file CalibLaserTracks.cxx.
| TimePair CalibLaserTracks::fit | ( | const std::vector< TimePair > & | trackMatches, |
| std::string_view | info | ||
| ) | const |
extract DV correction and T0 offset
Definition at line 365 of file CalibLaserTracks.cxx.
|
inline |
drift velocity fit information for full data set
Definition at line 154 of file CalibLaserTracks.h.
|
inline |
drift velocity fit information for presently processed time frame
Definition at line 151 of file CalibLaserTracks.h.
|
inline |
number of associated laser tracks on both sides for all processed TFs
Definition at line 116 of file CalibLaserTracks.h.
|
inline |
number of associated laser tracks for all processed TFs on the A-Side
Definition at line 119 of file CalibLaserTracks.h.
|
inline |
number of associated laser tracks for all processed TFs on the C-Side
Definition at line 122 of file CalibLaserTracks.h.
|
inline |
number of associated laser tracks presently processed TFs on the A-Side
Definition at line 125 of file CalibLaserTracks.h.
|
inline |
number of associated laser tracks presently processed TFs on the C-Side
Definition at line 128 of file CalibLaserTracks.h.
|
static |
calculate phi of nearest laser rod
Definition at line 224 of file CalibLaserTracks.cxx.
|
inline |
Definition at line 139 of file CalibLaserTracks.h.
|
inline |
Definition at line 138 of file CalibLaserTracks.h.
|
inline |
Definition at line 142 of file CalibLaserTracks.h.
|
inline |
check amount of data (to be improved) at least numTFs with laser track candidate and MinTrackPerSidePerTF tracks per side per TF
Definition at line 113 of file CalibLaserTracks.h.
|
static |
check if param is closer to a laser rod than 1/4 of a sector width
Definition at line 234 of file CalibLaserTracks.cxx.
| void CalibLaserTracks::merge | ( | const CalibLaserTracks * | other | ) |
merge data with other calibration object
Definition at line 255 of file CalibLaserTracks.cxx.
| void CalibLaserTracks::print | ( | ) | const |
print information
Definition at line 421 of file CalibLaserTracks.cxx.
process single track
Definition at line 78 of file CalibLaserTracks.cxx.
|
inline |
name of the debug output tree
Definition at line 157 of file CalibLaserTracks.h.
time frame time of presently processed time frame should be called before calling processTrack(s)
Definition at line 132 of file CalibLaserTracks.h.
|
inline |
trigger position for track z position correction
Definition at line 97 of file CalibLaserTracks.h.
Definition at line 159 of file CalibLaserTracks.h.
Definition at line 141 of file CalibLaserTracks.h.
sort TimePoint vectors
Definition at line 415 of file CalibLaserTracks.cxx.
|
staticconstexpr |
Definition at line 48 of file CalibLaserTracks.h.