![]() |
Project
|
#include <CalibLaserTracks.h>
Public Member Functions | |
CalibLaserTracks () | |
CalibLaserTracks (const CalibLaserTracks &other) | |
~CalibLaserTracks ()=default | |
void | fill (const gsl::span< const TrackTPC > tracks) |
process all tracks of one TF | |
void | fill (std::vector< TrackTPC > const &tracks) |
process all tracks of one TF | |
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 46 of file CalibLaserTracks.h.
|
inline |
Definition at line 51 of file CalibLaserTracks.h.
|
inline |
Definition at line 57 of file CalibLaserTracks.h.
|
default |
void CalibLaserTracks::endTF | ( | ) |
End processing of this TF.
Definition at line 287 of file CalibLaserTracks.cxx.
process all tracks of one TF
Definition at line 33 of file CalibLaserTracks.cxx.
process all tracks of one TF
Definition at line 27 of file CalibLaserTracks.cxx.
void CalibLaserTracks::finalize | ( | ) |
Finalize full processing.
Definition at line 304 of file CalibLaserTracks.cxx.
try to associate track with ideal laser track
Definition at line 155 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 346 of file CalibLaserTracks.cxx.
|
inline |
drift velocity fit information for full data set
Definition at line 153 of file CalibLaserTracks.h.
|
inline |
drift velocity fit information for presently processed time frame
Definition at line 150 of file CalibLaserTracks.h.
|
inline |
number of associated laser tracks on both sides for all processed TFs
Definition at line 115 of file CalibLaserTracks.h.
|
inline |
number of associated laser tracks for all processed TFs on the A-Side
Definition at line 118 of file CalibLaserTracks.h.
|
inline |
number of associated laser tracks for all processed TFs on the C-Side
Definition at line 121 of file CalibLaserTracks.h.
|
inline |
number of associated laser tracks presently processed TFs on the A-Side
Definition at line 124 of file CalibLaserTracks.h.
|
inline |
number of associated laser tracks presently processed TFs on the C-Side
Definition at line 127 of file CalibLaserTracks.h.
|
static |
calculate phi of nearest laser rod
Definition at line 219 of file CalibLaserTracks.cxx.
|
inline |
Definition at line 138 of file CalibLaserTracks.h.
|
inline |
Definition at line 137 of file CalibLaserTracks.h.
|
inline |
Definition at line 141 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 112 of file CalibLaserTracks.h.
|
static |
check if param is closer to a laser rod than 1/4 of a sector width
Definition at line 229 of file CalibLaserTracks.cxx.
void CalibLaserTracks::merge | ( | const CalibLaserTracks * | other | ) |
merge data with other calibration object
Definition at line 250 of file CalibLaserTracks.cxx.
void CalibLaserTracks::print | ( | ) | const |
print information
Definition at line 402 of file CalibLaserTracks.cxx.
process single track
Definition at line 75 of file CalibLaserTracks.cxx.
|
inline |
name of the debug output tree
Definition at line 156 of file CalibLaserTracks.h.
|
inline |
time frame time of presently processed time frame should be called before calling processTrack(s)
Definition at line 131 of file CalibLaserTracks.h.
trigger position for track z position correction
Definition at line 96 of file CalibLaserTracks.h.
|
inline |
Definition at line 158 of file CalibLaserTracks.h.
|
inline |
Definition at line 140 of file CalibLaserTracks.h.
sort TimePoint vectors
Definition at line 396 of file CalibLaserTracks.cxx.
|
staticconstexpr |
Definition at line 49 of file CalibLaserTracks.h.