Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaVDCCluster Class Reference

Definition at line 40 of file THaVDCCluster.h.

Public Types

enum  EMode { kSimple , kWeighted , kT0 }
 
- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 

Public Member Functions

virtual void AddHit (THaVDCHit *hit)
 
virtual void CalcChisquare (Double_t &chi2, Int_t &nhits) const
 
VDC::chi2_t CalcDist ()
 
virtual void Clear (Option_t *opt="")
 
virtual void ClearFit ()
 
virtual Int_t Compare (const TObject *obj) const
 
virtual void ConvertTimeToDist ()
 
virtual void EstTrackParameters ()
 
virtual void FitTrack (EMode mode=kSimple)
 
Double_t GetChi2 () const
 
THaVDCHitGetHit (Int_t i) const
 
Double_t GetIntercept () const
 
Double_t GetLocalSlope () const
 
Double_t GetNDoF () const
 
THaVDCHitGetPivot () const
 
Int_t GetPivotWireNum () const
 
THaVDCPlaneGetPlane () const
 
VDC::VDCpp_tGetPointPair () const
 
Double_t GetSigmaIntercept () const
 
Double_t GetSigmaSlope () const
 
Double_t GetSigmaT0 () const
 
Int_t GetSize () const
 
Double_t GetSlope () const
 
Double_t GetT0 () const
 
Double_t GetTimeCorrection () const
 
THaTrackGetTrack () const
 
Int_t GetTrackIndex () const
 
Int_t GetTrkNum () const
 
Bool_t IsFitOK () const
 
virtual Bool_t IsSortable () const
 
Bool_t IsUsed () const
 
virtual void Print (Option_t *opt="") const
 
void SetIntercept (Double_t intercept)
 
void SetPivot (THaVDCHit *piv)
 
void SetPlane (THaVDCPlane *plane)
 
void SetPointPair (VDC::VDCpp_t *pp)
 
void SetSlope (Double_t slope)
 
void SetTimeCorrection (Double_t dt)
 
void SetTrack (THaTrack *track)
 
 THaVDCCluster (THaVDCPlane *owner=nullptr)
 
virtual ~THaVDCCluster ()=default
 
- Public Member Functions inherited from TObject
void AbstractMethod (const char *method) const
 
virtual void AppendPad (Option_t *option="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual TObjectClone (const char *newname="") const
 
virtual void Copy (TObject &object) const
 
virtual void Delete (Option_t *option="")
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual void Draw (Option_t *option="")
 
virtual void DrawClass () const
 
virtual TObjectDrawClone (Option_t *option="") const
 
virtual void Dump () const
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual const char * GetName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
virtual ULong_t Hash () const
 
Bool_t HasInconsistentHash () const
 
virtual void Info (const char *method, const char *msgfmt,...) const
 
virtual Bool_t InheritsFrom (const char *classname) const
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 
virtual void Inspect () const
 
void InvertBit (UInt_t f)
 
virtual TClassIsA () const
 
Bool_t IsDestructed () const
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 
void MayNotUse (const char *method) const
 
virtual Bool_t Notify ()
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 
void operator delete (void *ptr)
 
void operator delete[] (void *ptr)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Paint (Option_t *option="")
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetDrawOption (Option_t *option="")
 
virtual void SetUniqueID (UInt_t uid)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
 TObject ()
 
 TObject (const TObject &object)
 
virtual void UseCurrentStyle ()
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 
virtual ~TObject ()
 

Protected Member Functions

VDC::chi2_t CalcChisquare (Double_t slope, Double_t icpt, Double_t d0) const
 
void CalcLocalDist ()
 
void DoCalcChisquare (Double_t &chi2, Int_t &nhits, Double_t slope, bool do_print=false) const
 
void FitSimpleTrack (Bool_t weighted=false)
 
void Linear3DFit (Double_t &slope, Double_t &icpt, Double_t &d0) const
 
Int_t LinearClusterFitWithT0 ()
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 

Protected Attributes

Double_t fChi2
 
Int_t fClsBeg
 
Int_t fClsEnd
 
VDC::Vcoord_t fCoord
 
Bool_t fFitOK
 
VDC::Vhit_t fHits
 
Double_t fInt
 
Double_t fLocalSlope
 
Double_t fNDoF
 
THaVDCHitfPivot
 
THaVDCPlanefPlane
 
VDC::VDCpp_tfPointPair
 
Double_t fSigmaInt
 
Double_t fSigmaSlope
 
Double_t fSigmaT0
 
Double_t fSlope
 
Double_t fT0
 
Double_t fTimeCorrection
 
THaTrackfTrack
 
Int_t fTrkNum
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

Additional Inherited Members

- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 

#include <THaVDCCluster.h>

Inheritance diagram for THaVDCCluster:

Member Enumeration Documentation

◆ EMode

Enumerator
kSimple 
kWeighted 
kT0 

Definition at line 47 of file THaVDCCluster.h.

Constructor & Destructor Documentation

◆ THaVDCCluster()

THaVDCCluster::THaVDCCluster ( THaVDCPlane owner = nullptr)
explicit

Definition at line 25 of file THaVDCCluster.cxx.

◆ ~THaVDCCluster()

virtual THaVDCCluster::~THaVDCCluster ( )
virtualdefault

Member Function Documentation

◆ AddHit()

void THaVDCCluster::AddHit ( THaVDCHit hit)
virtual

Definition at line 39 of file THaVDCCluster.cxx.

◆ CalcChisquare() [1/2]

void THaVDCCluster::CalcChisquare ( Double_t chi2,
Int_t nhits 
) const
virtual

Definition at line 678 of file THaVDCCluster.cxx.

◆ CalcChisquare() [2/2]

chi2_t THaVDCCluster::CalcChisquare ( Double_t  slope,
Double_t  icpt,
Double_t  d0 
) const
protected

Definition at line 601 of file THaVDCCluster.cxx.

◆ CalcDist()

chi2_t THaVDCCluster::CalcDist ( )

Definition at line 154 of file THaVDCCluster.cxx.

◆ CalcLocalDist()

void THaVDCCluster::CalcLocalDist ( )
protected

Definition at line 188 of file THaVDCCluster.cxx.

◆ Clear()

void THaVDCCluster::Clear ( Option_t opt = "")
virtual

Reimplemented from TObject.

Definition at line 53 of file THaVDCCluster.cxx.

◆ ClearFit()

void THaVDCCluster::ClearFit ( )
virtual

Definition at line 69 of file THaVDCCluster.cxx.

◆ Compare()

Int_t THaVDCCluster::Compare ( const TObject obj) const
virtual

Reimplemented from TObject.

Definition at line 87 of file THaVDCCluster.cxx.

◆ ConvertTimeToDist()

void THaVDCCluster::ConvertTimeToDist ( )
virtual

Definition at line 144 of file THaVDCCluster.cxx.

◆ DoCalcChisquare()

void THaVDCCluster::DoCalcChisquare ( Double_t chi2,
Int_t nhits,
Double_t  slope,
bool  do_print = false 
) const
protected

Definition at line 620 of file THaVDCCluster.cxx.

◆ EstTrackParameters()

void THaVDCCluster::EstTrackParameters ( )
virtual

Definition at line 105 of file THaVDCCluster.cxx.

◆ FitSimpleTrack()

void THaVDCCluster::FitSimpleTrack ( Bool_t  weighted = false)
protected

Definition at line 237 of file THaVDCCluster.cxx.

◆ FitTrack()

void THaVDCCluster::FitTrack ( EMode  mode = kSimple)
virtual

Definition at line 214 of file THaVDCCluster.cxx.

◆ GetChi2()

Double_t THaVDCCluster::GetChi2 ( ) const
inline

Definition at line 81 of file THaVDCCluster.h.

◆ GetHit()

THaVDCHit * THaVDCCluster::GetHit ( Int_t  i) const
inline

Definition at line 64 of file THaVDCCluster.h.

◆ GetIntercept()

Double_t THaVDCCluster::GetIntercept ( ) const
inline

Definition at line 70 of file THaVDCCluster.h.

◆ GetLocalSlope()

Double_t THaVDCCluster::GetLocalSlope ( ) const
inline

Definition at line 68 of file THaVDCCluster.h.

◆ GetNDoF()

Double_t THaVDCCluster::GetNDoF ( ) const
inline

Definition at line 82 of file THaVDCCluster.h.

◆ GetPivot()

THaVDCHit * THaVDCCluster::GetPivot ( ) const
inline

Definition at line 72 of file THaVDCCluster.h.

◆ GetPivotWireNum()

Int_t THaVDCCluster::GetPivotWireNum ( ) const

Definition at line 571 of file THaVDCCluster.cxx.

◆ GetPlane()

THaVDCPlane * THaVDCCluster::GetPlane ( ) const
inline

Definition at line 65 of file THaVDCCluster.h.

◆ GetPointPair()

VDC::VDCpp_t * THaVDCCluster::GetPointPair ( ) const
inline

Definition at line 76 of file THaVDCCluster.h.

◆ GetSigmaIntercept()

Double_t THaVDCCluster::GetSigmaIntercept ( ) const
inline

Definition at line 71 of file THaVDCCluster.h.

◆ GetSigmaSlope()

Double_t THaVDCCluster::GetSigmaSlope ( ) const
inline

Definition at line 69 of file THaVDCCluster.h.

◆ GetSigmaT0()

Double_t THaVDCCluster::GetSigmaT0 ( ) const
inline

Definition at line 80 of file THaVDCCluster.h.

◆ GetSize()

Int_t THaVDCCluster::GetSize ( ) const
inline

Definition at line 66 of file THaVDCCluster.h.

◆ GetSlope()

Double_t THaVDCCluster::GetSlope ( ) const
inline

Definition at line 67 of file THaVDCCluster.h.

◆ GetT0()

Double_t THaVDCCluster::GetT0 ( ) const
inline

Definition at line 75 of file THaVDCCluster.h.

◆ GetTimeCorrection()

Double_t THaVDCCluster::GetTimeCorrection ( ) const
inline

Definition at line 74 of file THaVDCCluster.h.

◆ GetTrack()

THaTrack * THaVDCCluster::GetTrack ( ) const
inline

Definition at line 77 of file THaVDCCluster.h.

◆ GetTrackIndex()

Int_t THaVDCCluster::GetTrackIndex ( ) const

Definition at line 205 of file THaVDCCluster.cxx.

◆ GetTrkNum()

Int_t THaVDCCluster::GetTrkNum ( ) const
inline

Definition at line 79 of file THaVDCCluster.h.

◆ IsFitOK()

Bool_t THaVDCCluster::IsFitOK ( ) const
inline

Definition at line 83 of file THaVDCCluster.h.

◆ IsSortable()

virtual Bool_t THaVDCCluster::IsSortable ( ) const
inlinevirtual

Reimplemented from TObject.

Definition at line 60 of file THaVDCCluster.h.

◆ IsUsed()

Bool_t THaVDCCluster::IsUsed ( ) const
inline

Definition at line 84 of file THaVDCCluster.h.

◆ Linear3DFit()

void THaVDCCluster::Linear3DFit ( Double_t slope,
Double_t icpt,
Double_t d0 
) const
protected

Definition at line 486 of file THaVDCCluster.cxx.

◆ LinearClusterFitWithT0()

Int_t THaVDCCluster::LinearClusterFitWithT0 ( )
protected

Definition at line 370 of file THaVDCCluster.cxx.

◆ Print()

void THaVDCCluster::Print ( Option_t opt = "") const
virtual

Reimplemented from TObject.

Definition at line 687 of file THaVDCCluster.cxx.

◆ SetIntercept()

void THaVDCCluster::SetIntercept ( Double_t  intercept)
inline

Definition at line 87 of file THaVDCCluster.h.

◆ SetPivot()

void THaVDCCluster::SetPivot ( THaVDCHit piv)
inline

Definition at line 89 of file THaVDCCluster.h.

◆ SetPlane()

void THaVDCCluster::SetPlane ( THaVDCPlane plane)
inline

Definition at line 86 of file THaVDCCluster.h.

◆ SetPointPair()

void THaVDCCluster::SetPointPair ( VDC::VDCpp_t pp)
inline

Definition at line 91 of file THaVDCCluster.h.

◆ SetSlope()

void THaVDCCluster::SetSlope ( Double_t  slope)
inline

Definition at line 88 of file THaVDCCluster.h.

◆ SetTimeCorrection()

void THaVDCCluster::SetTimeCorrection ( Double_t  dt)
inline

Definition at line 90 of file THaVDCCluster.h.

◆ SetTrack()

void THaVDCCluster::SetTrack ( THaTrack track)

Definition at line 580 of file THaVDCCluster.cxx.

Member Data Documentation

◆ fChi2

Double_t THaVDCCluster::fChi2
protected

Definition at line 112 of file THaVDCCluster.h.

◆ fClsBeg

Int_t THaVDCCluster::fClsBeg
protected

Definition at line 114 of file THaVDCCluster.h.

◆ fClsEnd

Int_t THaVDCCluster::fClsEnd
protected

Definition at line 115 of file THaVDCCluster.h.

◆ fCoord

VDC::Vcoord_t THaVDCCluster::fCoord
protected

Definition at line 118 of file THaVDCCluster.h.

◆ fFitOK

Bool_t THaVDCCluster::fFitOK
protected

Definition at line 111 of file THaVDCCluster.h.

◆ fHits

VDC::Vhit_t THaVDCCluster::fHits
protected

Definition at line 95 of file THaVDCCluster.h.

◆ fInt

Double_t THaVDCCluster::fInt
protected

Definition at line 105 of file THaVDCCluster.h.

◆ fLocalSlope

Double_t THaVDCCluster::fLocalSlope
protected

Definition at line 103 of file THaVDCCluster.h.

◆ fNDoF

Double_t THaVDCCluster::fNDoF
protected

Definition at line 113 of file THaVDCCluster.h.

◆ fPivot

THaVDCHit* THaVDCCluster::fPivot
protected

Definition at line 107 of file THaVDCCluster.h.

◆ fPlane

THaVDCPlane* THaVDCCluster::fPlane
protected

Definition at line 96 of file THaVDCCluster.h.

◆ fPointPair

VDC::VDCpp_t* THaVDCCluster::fPointPair
protected

Definition at line 97 of file THaVDCCluster.h.

◆ fSigmaInt

Double_t THaVDCCluster::fSigmaInt
protected

Definition at line 105 of file THaVDCCluster.h.

◆ fSigmaSlope

Double_t THaVDCCluster::fSigmaSlope
protected

Definition at line 104 of file THaVDCCluster.h.

◆ fSigmaT0

Double_t THaVDCCluster::fSigmaT0
protected

Definition at line 106 of file THaVDCCluster.h.

◆ fSlope

Double_t THaVDCCluster::fSlope
protected

Definition at line 102 of file THaVDCCluster.h.

◆ fT0

Double_t THaVDCCluster::fT0
protected

Definition at line 106 of file THaVDCCluster.h.

◆ fTimeCorrection

Double_t THaVDCCluster::fTimeCorrection
protected

Definition at line 109 of file THaVDCCluster.h.

◆ fTrack

THaTrack* THaVDCCluster::fTrack
protected

Definition at line 98 of file THaVDCCluster.h.

◆ fTrkNum

Int_t THaVDCCluster::fTrkNum
protected

Definition at line 99 of file THaVDCCluster.h.

Collaboration diagram for THaVDCCluster:

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