All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
TOFUtils.h File Reference
#include <vector>
#include "EVENT/ReconstructedParticle.h"
#include "IMPL/TrackStateImpl.h"
#include "MarlinTrk/IMarlinTrkSystem.h"
#include "MarlinTrk/IMarlinTrack.h"
#include "DDRec/Vector3D.h"
Include dependency graph for TOFUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 TOFUtils
 

Functions

bool TOFUtils::sortByRho (EVENT::TrackerHit *a, EVENT::TrackerHit *b)
 Comparator function by radius for tracker hits. More...
 
IMPL::TrackStateImpl TOFUtils::getTrackStateAtHit (MarlinTrk::IMarlinTrack *marlinTrk, EVENT::TrackerHit *hit)
 Get track state at tracker hit. More...
 
dd4hep::rec::Vector3D TOFUtils::getHelixMomAtTrackState (const EVENT::TrackState &ts, double bField)
 Get track momentum at the track state. More...
 
double TOFUtils::getHelixArcLength (const EVENT::TrackState &ts1, const EVENT::TrackState &ts2)
 Get track length. More...
 
double TOFUtils::getHelixLengthAlongZ (const EVENT::TrackState &ts1, const EVENT::TrackState &ts2)
 Get track length. More...
 
double TOFUtils::getHelixNRevolutions (const EVENT::TrackState &ts1, const EVENT::TrackState &ts2)
 Get number of helix revolutions. More...
 
double TOFUtils::getTPCOuterR ()
 Returns TPC outer radius from the DD4hep detector geometry. More...
 
EVENT::TrackerHit * TOFUtils::getSETHit (EVENT::Track *track, double tpcOuterR)
 Returns SET hit. More...
 
std::vector
< EVENT::CalorimeterHit * > 
TOFUtils::selectFrankEcalHits (EVENT::Cluster *cluster, EVENT::Track *track, int maxEcalLayer, double bField)
 Get a subset of the cluster calorimeter hits. More...
 
std::vector< EVENT::Track * > TOFUtils::getSubTracks (EVENT::Track *track)
 Get all subtracks of the Track. More...
 
std::vector< IMPL::TrackStateImpl > TOFUtils::getTrackStatesPerHit (std::vector< EVENT::Track * > tracks, MarlinTrk::IMarlinTrkSystem *trkSystem, bool extrapolateToEcal, double bField)
 Get list of track states. More...
 
double TOFUtils::getTofClosest (EVENT::Cluster *cluster, EVENT::Track *track, double timeResolution)
 Get the time-of-flight using the closest ECal hit. More...
 
double TOFUtils::getTofFrankAvg (std::vector< EVENT::CalorimeterHit * > selectedHits, EVENT::Track *track, double timeResolution)
 Get the time-of-flight using average of the Frank ECal hits. More...
 
double TOFUtils::getTofFrankFit (std::vector< EVENT::CalorimeterHit * > selectedHits, EVENT::Track *track, double timeResolution)
 Get the time-of-flight using fit of the Frank ECal hits. More...