hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Private Attributes | List of all members
TrackBiasingTool Class Reference

#include <TrackBiasingTool.h>

Public Member Functions

 TrackBiasingTool (const std::string &biasingfile, const std::string &tracks="KalmanFullTracks")
 
double biasTrackP (const Track &track)
 
double getCorrection (const double &p, const double tanL, const int q)
 
void updateVertexWithBiasP (Vertex *vtx)
 
void updateWithBiasP (Track &trk, double scaleFactor)
 
void updateWithBiasP (Track &trk)
 

Private Attributes

std::shared_ptr< TFile > biasingfile_
 
TH1D * eop_h_top_
 
TH1D * eop_h_bot_
 
bool debug_ {false}
 

Detailed Description

Definition at line 24 of file TrackBiasingTool.h.

Constructor & Destructor Documentation

◆ TrackBiasingTool()

TrackBiasingTool ( const std::string &  biasingfile,
const std::string &  tracks = "KalmanFullTracks" 
)

Definition at line 8 of file TrackBiasingTool.cxx.

Member Function Documentation

◆ biasTrackP()

double biasTrackP ( const Track track)

Definition at line 39 of file TrackBiasingTool.cxx.

◆ getCorrection()

double getCorrection ( const double &  p,
const double  tanL,
const int  q 
)

Definition at line 27 of file TrackBiasingTool.cxx.

◆ updateVertexWithBiasP()

void updateVertexWithBiasP ( Vertex vtx)

Definition at line 86 of file TrackBiasingTool.cxx.

◆ updateWithBiasP() [1/2]

void updateWithBiasP ( Track trk)

Definition at line 60 of file TrackBiasingTool.cxx.

◆ updateWithBiasP() [2/2]

void updateWithBiasP ( Track trk,
double  scaleFactor 
)

Definition at line 75 of file TrackBiasingTool.cxx.

Member Data Documentation

◆ biasingfile_

std::shared_ptr<TFile> biasingfile_
private

Definition at line 47 of file TrackBiasingTool.h.

◆ debug_

bool debug_ {false}
private

Definition at line 56 of file TrackBiasingTool.h.

◆ eop_h_bot_

TH1D* eop_h_bot_
private

Definition at line 53 of file TrackBiasingTool.h.

◆ eop_h_top_

TH1D* eop_h_top_
private

Definition at line 52 of file TrackBiasingTool.h.


The documentation for this class was generated from the following files: