2 #ifndef _SQVERTEXING_V2_H
3 #define _SQVERTEXING_V2_H
7 #include <ktracker/GFField.h>
8 #include <ktracker/GFTrack.h>
23 SQVertexing_v2(
const std::string& name =
"SQVertexing_v2",
int sign1 = 1,
int sign2 = -1);
An SQ interface class to hold a list of SQDimuon objects.
An SQ interface class to hold a list of SQTrack objects.
An SQ interface class to hold one true or reconstructed track.
void set_legacy_rec_container(const bool enable=true)
bool processOneMuon(SRecTrack *track)
SQGenFit::GFField * gfield
double findDimuonZVertex(SRecDimuon &dimuon, SQGenFit::GFTrack &track1, SQGenFit::GFTrack &track2)
double refitTrkToVtx(SQGenFit::GFTrack &track, double z, TVector3 *pos=nullptr, TVector3 *mom=nullptr)
void set_legacy_in_container(const bool enable=true)
double calcZsclp(double p)
SQVertexing_v2(const std::string &name="SQVertexing_v2", int sign1=1, int sign2=-1)
double swimTrackToVertex(SQGenFit::GFTrack &track, double z, TVector3 *pos=nullptr, TVector3 *mom=nullptr)
int InitGeom(PHCompositeNode *topNode)
void set_geom_file_name(const std::string &geomFileName)
int InitField(PHCompositeNode *topNode)
std::string geom_file_name
int GetNodes(PHCompositeNode *topNode)
int Init(PHCompositeNode *topNode)
bool processOneDimuon(SRecTrack *track1, SRecTrack *track2, SRecDimuon &dimuon)
int process_event(PHCompositeNode *topNode)
int End(PHCompositeNode *topNode)
Called at the end of all processing.
void set_legacy_out_container(const bool enable=true)
int InitRun(PHCompositeNode *topNode)
void set_single_retracking(const bool enable=true)
SQTrackVector * recTrackVec
bool enableSingleRetracking
int MakeNodes(PHCompositeNode *topNode)
SQDimuonVector * recDimuonVec