epic-drich-beam-test-analysis
ePIC dRICH beam test analysis framework
Loading...
Searching...
No Matches
alcor_recotrackdata.h File Reference

Track-matched reconstructed hit data for the ePIC dRICH prototype. More...

#include "alcor_recodata.h"
#include "tracking_altai.h"
#include <vector>
#include <cmath>
#include "TTree.h"

Go to the source code of this file.

Classes

struct  alcor_recotrackdata_struct
 Track fit parameters and extrapolated position for one telescope plane. More...
 
class  alcor_recotrackdata
 Container for track-matched reconstructed data. More...
 

Functions

double calculate_angle (double detector_to_telescope_plane, double pixel_position)
 Compute the track angle at the detector plane.
 
double calculate_angle_resolution (double detector_to_telescope_plane, double detector_to_telescope_plane_error, double pixel_position, double pixel_position_error)
 Compute track-angle resolution via error propagation (stub).
 

Variables

const double detector_to_telescope_plane_0 = 235.
 Distance to plane 0 [cm].
 
const double detector_to_telescope_plane_1 = detector_to_telescope_plane_0 + 2.55
 Distance to plane 1 [cm].
 
const double detector_to_telescope_plane_2 = detector_to_telescope_plane_1 + 22.5
 Distance to plane 2 [cm].
 
const double detector_to_telescope_plane_3 = detector_to_telescope_plane_2 + 2.55
 Distance to plane 3 [cm].
 
const double pixel_resolution_plane_0 = 3.7e-3
 Plane 0 pixel resolution [cm].
 
const double pixel_resolution_plane_1 = 3.4e-3
 Plane 1 pixel resolution [cm].
 
const double pixel_resolution_plane_2 = 3.4e-3
 Plane 2 pixel resolution [cm].
 
const double pixel_resolution_plane_3 = 3.7e-3
 Plane 3 pixel resolution [cm].
 

Detailed Description

Track-matched reconstructed hit data for the ePIC dRICH prototype.

Extends alcor_recodata with per-track information imported from the ALTAI tracking telescope. Defines alcor_recotrackdata_struct (track fit parameters for one telescope plane) and alcor_recotrackdata (the container class providing track accessors, ROOT TTree I/O, and import from tracking_altai).

Function Documentation

◆ calculate_angle()

double calculate_angle ( double  detector_to_telescope_plane,
double  pixel_position 
)
inline

Compute the track angle at the detector plane.

Returns atan(pixel_position / detector_to_telescope_plane), giving the angle [rad] that the track makes with the beam axis.

Parameters
detector_to_telescope_planeDistance from detector to telescope plane [cm].
pixel_positionPixel displacement from the beam axis [cm].
Returns
Track angle [rad].

◆ calculate_angle_resolution()

double calculate_angle_resolution ( double  detector_to_telescope_plane,
double  detector_to_telescope_plane_error,
double  pixel_position,
double  pixel_position_error 
)
inline

Compute track-angle resolution via error propagation (stub).

Propagates uncertainties on both the plane distance and the pixel position through the atan formula.

Parameters
detector_to_telescope_planeNominal distance [cm].
detector_to_telescope_plane_errorUncertainty on the distance [cm].
pixel_positionNominal pixel displacement [cm].
pixel_position_errorUncertainty on the pixel position [cm].
Returns
Track angle resolution [rad]; returns -1 until implemented.
Todo:
Implement proper error propagation.