42 for(
auto&
p : point ) {
44 p->GetUCluster()->SetTrack(track);
45 p->GetVCluster()->SetTrack(track);
60 for(
auto& cl : clust ) {
61 res = res + cl->CalcDist();
72 if( !obj ||
IsA() != obj->
IsA() )
115 return (px-
x)*(px-
x) + (py-
y)*(py-
y);
138 return any_of(clust, clust + 4, [](
const THaVDCCluster* cl ) {
150 cout <<
"Global track parameters: mu/mv/th/ph = "
167 <<
", dUpper/dLower = "
199 for(
int i = 0; i<2; ++i ) {
winID h TVirtualViewer3D TVirtualGLPainter p
static const char *const here
void SetPointPair(VDC::VDCpp_t *pp)
VDC::VDCpp_t * GetPointPair() const
Double_t GetSlope() const
Int_t GetPivotWireNum() const
Double_t GetError() const
THaVDCPoint * fUpperPoint
virtual Int_t Compare(const TObject *) const
virtual void Print(Option_t *opt="") const
THaVDCPoint * GetUpper() const
THaVDCPoint * GetLower() const
static Double_t CalcError(THaVDCPoint *lowerPoint, THaVDCPoint *upperPoint, Double_t spacing)
static Double_t GetProjectedDistance(THaVDCPoint *here, THaVDCPoint *there, Double_t spacing)
Bool_t HasUsedCluster() const
void Associate(THaTrack *track)
VDC::chi2_t CalcChi2() const
THaTrack * GetTrack() const
THaVDCPoint * fLowerPoint
THaVDCCluster * GetVCluster() const
Double_t GetTheta() const
THaVDCCluster * GetUCluster() const
void SetPartner(THaVDCPoint *partner)
THaTrack * GetTrack() const
void SetSlopes(Double_t mu, Double_t mv)
virtual TClass * IsA() const
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
std::pair< Double_t, Int_t > chi2_t