Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TpcClusterMover Class Reference

#include <coresoftware/blob/master/offline/packages/tpc/TpcClusterMover.h>

Public Member Functions

 TpcClusterMover ()
 constructor
 
void set_verbosity (int verb)
 
std::vector< std::pair
< TrkrDefs::cluskey,
Acts::Vector3 > > 
processTrack (std::vector< std::pair< TrkrDefs::cluskey, Acts::Vector3 >> global_in)
 
void initialize_geometry (PHG4TpcCylinderGeomContainer *cellgeo)
 

Private Member Functions

int get_circle_circle_intersection (double target_radius, double R, double X0, double Y0, double xclus, double yclus, double &x, double &y)
 

Private Attributes

double _z_start =0.0
 
double _y_start =0.0
 
double _x_start =0.0
 
double _z_proj =0.0
 
double _y_proj =0.0
 
double _x_proj =0.0
 
double layer_radius [48] = {0}
 
double inner_tpc_min_radius = 30.0
 
double mid_tpc_min_radius = 40.0
 
double outer_tpc_min_radius = 60.0
 
double outer_tpc_max_radius = 76.4
 
double inner_tpc_spacing = 0.0
 
double mid_tpc_spacing = 0.0
 
double outer_tpc_spacing = 0.0
 
int _verbosity = 0
 

Detailed Description

Definition at line 15 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 15 of file TpcClusterMover.h

Constructor & Destructor Documentation

TpcClusterMover::TpcClusterMover ( )

constructor

Definition at line 18 of file TpcClusterMover.cc.

View newest version in sPHENIX GitHub at line 18 of file TpcClusterMover.cc

References double(), i, inner_tpc_min_radius, inner_tpc_spacing, layer_radius, mid_tpc_min_radius, mid_tpc_spacing, outer_tpc_max_radius, outer_tpc_min_radius, and outer_tpc_spacing.

+ Here is the call graph for this function:

Member Function Documentation

int TpcClusterMover::get_circle_circle_intersection ( double  target_radius,
double  R,
double  X0,
double  Y0,
double  xclus,
double  yclus,
double x,
double y 
)
private

Definition at line 133 of file TpcClusterMover.cc.

View newest version in sPHENIX GitHub at line 133 of file TpcClusterMover.cc

References _verbosity, Fun4AllReturnCodes::ABORTEVENT, TrackFitUtils::circle_circle_intersection(), and Fun4AllReturnCodes::EVENT_OK.

Referenced by processTrack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void TpcClusterMover::initialize_geometry ( PHG4TpcCylinderGeomContainer cellgeo)

Updates the assumed default geometry below to that contained in the cell geo

Definition at line 38 of file TpcClusterMover.cc.

View newest version in sPHENIX GitHub at line 38 of file TpcClusterMover.cc

References PHG4TpcCylinderGeomContainer::get_begin_end(), layer, and layer_radius.

+ Here is the call graph for this function:

std::vector< std::pair< TrkrDefs::cluskey, Acts::Vector3 > > TpcClusterMover::processTrack ( std::vector< std::pair< TrkrDefs::cluskey, Acts::Vector3 >>  global_in)

Definition at line 54 of file TpcClusterMover.cc.

View newest version in sPHENIX GitHub at line 54 of file TpcClusterMover.cc

References _verbosity, _x_proj, _x_start, _y_proj, _y_start, _z_proj, _z_start, A, Fun4AllReturnCodes::ABORTEVENT, TrackFitUtils::circle_fit_by_taubin(), get_circle_circle_intersection(), TrkrDefs::getLayer(), TrkrDefs::getTrkrId(), i, layer, layer_radius, TrackFitUtils::line_fit(), Acts::IntegrationTest::R, TrkrDefs::tpcId, X0, and Y0.

+ Here is the call graph for this function:

void TpcClusterMover::set_verbosity ( int  verb)
inline

Definition at line 22 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 22 of file TpcClusterMover.h

References _verbosity.

Member Data Documentation

int TpcClusterMover::_verbosity = 0
private

Definition at line 51 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 51 of file TpcClusterMover.h

Referenced by get_circle_circle_intersection(), processTrack(), and set_verbosity().

double TpcClusterMover::_x_proj =0.0
private

Definition at line 39 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 39 of file TpcClusterMover.h

Referenced by processTrack().

double TpcClusterMover::_x_start =0.0
private

Definition at line 35 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 35 of file TpcClusterMover.h

Referenced by processTrack().

double TpcClusterMover::_y_proj =0.0
private

Definition at line 38 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 38 of file TpcClusterMover.h

Referenced by processTrack().

double TpcClusterMover::_y_start =0.0
private

Definition at line 34 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 34 of file TpcClusterMover.h

Referenced by processTrack().

double TpcClusterMover::_z_proj =0.0
private

Definition at line 37 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 37 of file TpcClusterMover.h

Referenced by processTrack().

double TpcClusterMover::_z_start =0.0
private

Definition at line 33 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 33 of file TpcClusterMover.h

Referenced by processTrack().

double TpcClusterMover::inner_tpc_min_radius = 30.0
private

Definition at line 42 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 42 of file TpcClusterMover.h

Referenced by TpcClusterMover().

double TpcClusterMover::inner_tpc_spacing = 0.0
private

Definition at line 47 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 47 of file TpcClusterMover.h

Referenced by TpcClusterMover().

double TpcClusterMover::layer_radius[48] = {0}
private

Definition at line 41 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 41 of file TpcClusterMover.h

Referenced by initialize_geometry(), processTrack(), and TpcClusterMover().

double TpcClusterMover::mid_tpc_min_radius = 40.0
private

Definition at line 43 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 43 of file TpcClusterMover.h

Referenced by TpcClusterMover().

double TpcClusterMover::mid_tpc_spacing = 0.0
private

Definition at line 48 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 48 of file TpcClusterMover.h

Referenced by TpcClusterMover().

double TpcClusterMover::outer_tpc_max_radius = 76.4
private

Definition at line 45 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 45 of file TpcClusterMover.h

Referenced by TpcClusterMover().

double TpcClusterMover::outer_tpc_min_radius = 60.0
private

Definition at line 44 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 44 of file TpcClusterMover.h

Referenced by TpcClusterMover().

double TpcClusterMover::outer_tpc_spacing = 0.0
private

Definition at line 49 of file TpcClusterMover.h.

View newest version in sPHENIX GitHub at line 49 of file TpcClusterMover.h

Referenced by TpcClusterMover().


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