HARPO  5.1.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
HarpoKalmanTracking Class Reference

Track finder with Kalman filter. More...

#include <HarpoKalmanTracking.h>

Public Member Functions

virtual ~HarpoKalmanTracking ()
 
 HarpoKalmanTracking ()
 
void Init ()
 
void Save (char *mode=NULL)
 
void process ()
 
void print ()
 Ovreloaded medod whic do all job. More...
 
TGraph * GetGraph (Int_t i, Int_t plane=0)
 
Int_t GetNtr (Int_t plane)
 
Int_t GetId (Int_t i, Int_t plane)
 
void SetCanvas (TVirtualPad *c, Int_t plane)
 
void SetHist (TH2F *h, Int_t plane)
 
void SetQmin (Double_t val)
 
void SetWidthMinT (Double_t val)
 
void SetWidthMinC (Double_t val)
 
void SetWidthMax (Double_t val)
 
void Set (HarpoEvent *event)
 
virtual void ProcessEvent (HarpoEvent *event)
 Set pointer to new event for analyse, anlyse event , and delete. More...
 
void SetRunHeader (HarpoRunHeader *hdr)
 
TFile * OpenHistFile (const char *ananame)
 
virtual void DisplayAnalysis (TRootEmbeddedCanvas *, TGListBox *)
 
virtual void ConfigFrame (TGMainFrame *, Int_t)
 
virtual void SetConfig ()
 

Data Fields

TH1F * hNcl
 Redefine empty default. More...
 
HarpoEventfEvt
 

Protected Member Functions

TArrayI * FindNext (TMatrixD X, TMatrixD C, Double_t angle, Int_t Ntr, TClonesArray *clArray, TArrayI *arr, Int_t ncl, Int_t plane, Int_t color, Int_t fill, Int_t smooth, Int_t q)
 
TArrayI * FindNextClosest (TMatrixD X, TMatrixD C, Double_t angle, Int_t Ntr, TClonesArray *clArray, TArrayI *arr, Int_t ncl, Int_t plane, Int_t color, Int_t fill, Int_t smooth, Int_t q)
 
Double_t GetResolution (HarpoRecoClusters *cl)
 

Protected Attributes

Int_t Ccl [NCHAN][20]
 
Int_t NCcl [NCHAN]
 
Int_t Tcl [NADC][20]
 
Int_t NTcl [NADC]
 
Int_t fNtr [2]
 
Int_t fNclTrack [NTRACK]
 
Double_t fStartPointX [NTRACK][10]
 
Double_t fStartPointZ [NTRACK][10]
 
Double_t fStartDirX [NTRACK][10]
 
Double_t fStartDirZ [NTRACK][10]
 
Double_t fEndPointX [NTRACK][10]
 
Double_t fEndPointZ [NTRACK][10]
 
Double_t fEndDirX [NTRACK][10]
 
Double_t fEndDirZ [NTRACK][10]
 
Int_t fStartIndex [NTRACK]
 
Int_t fEndIndex [NTRACK]
 
ULong64_t fMapTmp [NCHAN][NADC]
 
Int_t used [4000]
 
Int_t reused [4000]
 
Int_t fTrack [4000]
 
TVirtualPad * fCanvas [2]
 
TH2F * fHist [2]
 
TH1F * hDistTracks
 
TH1F * hDistMinTracks
 
TH1F * hThetaTracks
 
TH2F * hThetaTracksNtr
 
TH2F * hThetaDist [10]
 
TH2F * fHistQQtestVsDist
 
TH2F * fHistQQmin
 
Double_t fQmin
 
Double_t fWidthMinT
 
Double_t fWidthMinC
 
Double_t fWidthMax
 
Double_t fMaxSlopeType
 
Double_t fResKalman
 
Double_t fScatKalman
 
Double_t fResFinder
 
Double_t fScatFinder
 
ULong_t nEvents
 
HarpoRunHeaderfRunHeader
 

Private Member Functions

Int_t InitPlane (TClonesArray *clArray, Int_t plane)
 
Int_t GetMapEdges (TClonesArray *clArray, Int_t plane, Int_t &iMin, Int_t &iMax, Int_t &jMin, Int_t &jMax)
 
void FindTrack (TClonesArray *clArray, Int_t icl0, Int_t icl1, TMatrixD Corig, Int_t plane, Int_t &color)
 
Int_t AddTrack (TClonesArray *clArray, Int_t plane)
 
void SpliceTracks (Int_t plane)
 
Double_t GetQtrack (Int_t itr, Int_t plane)
 
Double_t GetQtracks (Int_t plane)
 

Private Attributes

Int_t fId [NTRACK][2]
 
Double_t fQcommon [NTRACK][NTRACK]
 
TGraph * fGraphs [2][NTRACK]
 
Double_t fQtot
 
Double_t fQused
 
Int_t fNclMin
 
Int_t fNclMin2
 

Detailed Description

Track finder with Kalman filter.

Definition at line 27 of file HarpoKalmanTracking.h.

Constructor & Destructor Documentation

virtual HarpoKalmanTracking::~HarpoKalmanTracking ( )
inlinevirtual

Definition at line 31 of file HarpoKalmanTracking.h.

HarpoKalmanTracking::HarpoKalmanTracking ( )
inline

Definition at line 33 of file HarpoKalmanTracking.h.

Member Function Documentation

Int_t HarpoKalmanTracking::AddTrack ( TClonesArray *  clArray,
Int_t  plane 
)
private

Definition at line 328 of file HarpoKalmanTracking.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void HarpoAnalyse::ConfigFrame ( TGMainFrame *  ,
Int_t   
)
inlinevirtualinherited
virtual void HarpoAnalyse::DisplayAnalysis ( TRootEmbeddedCanvas *  ,
TGListBox *   
)
inlinevirtualinherited
TArrayI * HarpoKalman::FindNext ( TMatrixD  X,
TMatrixD  C,
Double_t  angle,
Int_t  Ntr,
TClonesArray *  clArray,
TArrayI *  arr,
Int_t  ncl,
Int_t  plane,
Int_t  color,
Int_t  fill,
Int_t  smooth,
Int_t  q 
)
protectedinherited

Definition at line 138 of file HarpoKalman.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

TArrayI * HarpoKalman::FindNextClosest ( TMatrixD  X,
TMatrixD  C,
Double_t  angle,
Int_t  Ntr,
TClonesArray *  clArray,
TArrayI *  arr,
Int_t  ncl,
Int_t  plane,
Int_t  color,
Int_t  fill,
Int_t  smooth,
Int_t  q 
)
protectedinherited

Definition at line 145 of file HarpoKalman.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

void HarpoKalmanTracking::FindTrack ( TClonesArray *  clArray,
Int_t  icl0,
Int_t  icl1,
TMatrixD  Corig,
Int_t  plane,
Int_t &  color 
)
private

Definition at line 256 of file HarpoKalmanTracking.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

TGraph* HarpoKalmanTracking::GetGraph ( Int_t  i,
Int_t  plane = 0 
)
inline

Definition at line 41 of file HarpoKalmanTracking.h.

Int_t HarpoKalmanTracking::GetId ( Int_t  i,
Int_t  plane 
)
inline

Definition at line 49 of file HarpoKalmanTracking.h.

Int_t HarpoKalmanTracking::GetMapEdges ( TClonesArray *  clArray,
Int_t  plane,
Int_t &  iMin,
Int_t &  iMax,
Int_t &  jMin,
Int_t &  jMax 
)
private

Definition at line 221 of file HarpoKalmanTracking.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

Int_t HarpoKalmanTracking::GetNtr ( Int_t  plane)
inline

Definition at line 48 of file HarpoKalmanTracking.h.

Double_t HarpoKalmanTracking::GetQtrack ( Int_t  itr,
Int_t  plane 
)
private

Definition at line 779 of file HarpoKalmanTracking.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

Double_t HarpoKalmanTracking::GetQtracks ( Int_t  plane)
private

Definition at line 817 of file HarpoKalmanTracking.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

Double_t HarpoKalman::GetResolution ( HarpoRecoClusters cl)
protectedinherited

Definition at line 439 of file HarpoKalman.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

void HarpoKalmanTracking::Init ( )
virtual

Reimplemented from HarpoKalman.

Definition at line 900 of file HarpoKalmanTracking.cxx.

Here is the call graph for this function:

Int_t HarpoKalmanTracking::InitPlane ( TClonesArray *  clArray,
Int_t  plane 
)
private

Definition at line 209 of file HarpoKalmanTracking.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

TFile * HarpoAnalyse::OpenHistFile ( const char *  ananame)
inherited

Definition at line 150 of file HarpoAnalyse.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

void HarpoKalmanTracking::print ( )
virtual

Ovreloaded medod whic do all job.

Reimplemented from HarpoKalman.

Definition at line 40 of file HarpoKalmanTracking.cxx.

Here is the call graph for this function:

void HarpoKalmanTracking::process ( )
virtual

Implements HarpoAnalyse.

Definition at line 55 of file HarpoKalmanTracking.cxx.

Here is the call graph for this function:

void HarpoAnalyse::ProcessEvent ( HarpoEvent event)
virtualinherited

Set pointer to new event for analyse, anlyse event , and delete.

Reimplemented in HarpoAnalyseWriter.

Definition at line 139 of file HarpoAnalyse.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

void HarpoKalmanTracking::Save ( char *  mode = NULL)
virtual

Reimplemented from HarpoKalman.

Definition at line 983 of file HarpoKalmanTracking.cxx.

Here is the call graph for this function:

void HarpoAnalyse::Set ( HarpoEvent event)
inherited

Definition at line 124 of file HarpoAnalyse.cxx.

Here is the caller graph for this function:

void HarpoKalmanTracking::SetCanvas ( TVirtualPad *  c,
Int_t  plane 
)
inline

Definition at line 51 of file HarpoKalmanTracking.h.

virtual void HarpoAnalyse::SetConfig ( )
inlinevirtualinherited
void HarpoKalmanTracking::SetHist ( TH2F *  h,
Int_t  plane 
)
inline

Definition at line 52 of file HarpoKalmanTracking.h.

void HarpoKalman::SetQmin ( Double_t  val)
inlineinherited

Definition at line 54 of file HarpoKalman.h.

void HarpoAnalyse::SetRunHeader ( HarpoRunHeader hdr)
inlineinherited

Definition at line 60 of file HarpoAnalyse.h.

Here is the caller graph for this function:

void HarpoKalman::SetWidthMax ( Double_t  val)
inlineinherited

Definition at line 57 of file HarpoKalman.h.

void HarpoKalman::SetWidthMinC ( Double_t  val)
inlineinherited

Definition at line 56 of file HarpoKalman.h.

void HarpoKalman::SetWidthMinT ( Double_t  val)
inlineinherited

Definition at line 55 of file HarpoKalman.h.

void HarpoKalmanTracking::SpliceTracks ( Int_t  plane)
private

Definition at line 416 of file HarpoKalmanTracking.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

Field Documentation

Int_t HarpoKalman::Ccl[NCHAN][20]
protectedinherited

Definition at line 68 of file HarpoKalman.h.

TVirtualPad* HarpoKalman::fCanvas[2]
protectedinherited

Definition at line 100 of file HarpoKalman.h.

Double_t HarpoKalman::fEndDirX[NTRACK][10]
protectedinherited

Definition at line 85 of file HarpoKalman.h.

Double_t HarpoKalman::fEndDirZ[NTRACK][10]
protectedinherited

Definition at line 86 of file HarpoKalman.h.

Int_t HarpoKalman::fEndIndex[NTRACK]
protectedinherited

Definition at line 88 of file HarpoKalman.h.

Double_t HarpoKalman::fEndPointX[NTRACK][10]
protectedinherited

Definition at line 83 of file HarpoKalman.h.

Double_t HarpoKalman::fEndPointZ[NTRACK][10]
protectedinherited

Definition at line 84 of file HarpoKalman.h.

HarpoEvent* HarpoAnalyse::fEvt
inherited

Definition at line 70 of file HarpoAnalyse.h.

TGraph* HarpoKalmanTracking::fGraphs[2][NTRACK]
private

Definition at line 66 of file HarpoKalmanTracking.h.

TH2F* HarpoKalman::fHist[2]
protectedinherited

Definition at line 101 of file HarpoKalman.h.

TH2F* HarpoKalman::fHistQQmin
protectedinherited

Definition at line 110 of file HarpoKalman.h.

TH2F* HarpoKalman::fHistQQtestVsDist
protectedinherited

Definition at line 109 of file HarpoKalman.h.

Int_t HarpoKalmanTracking::fId[NTRACK][2]
private

Definition at line 64 of file HarpoKalmanTracking.h.

ULong64_t HarpoKalman::fMapTmp[NCHAN][NADC]
protectedinherited

Definition at line 93 of file HarpoKalman.h.

Double_t HarpoKalman::fMaxSlopeType
protectedinherited

Definition at line 126 of file HarpoKalman.h.

Int_t HarpoKalmanTracking::fNclMin
private

Definition at line 80 of file HarpoKalmanTracking.h.

Int_t HarpoKalmanTracking::fNclMin2
private

Definition at line 81 of file HarpoKalmanTracking.h.

Int_t HarpoKalman::fNclTrack[NTRACK]
protectedinherited

Definition at line 74 of file HarpoKalman.h.

Int_t HarpoKalman::fNtr[2]
protectedinherited

Definition at line 72 of file HarpoKalman.h.

Double_t HarpoKalmanTracking::fQcommon[NTRACK][NTRACK]
private

Definition at line 65 of file HarpoKalmanTracking.h.

Double_t HarpoKalman::fQmin
protectedinherited

Definition at line 120 of file HarpoKalman.h.

Double_t HarpoKalmanTracking::fQtot
private

Definition at line 68 of file HarpoKalmanTracking.h.

Double_t HarpoKalmanTracking::fQused
private

Definition at line 69 of file HarpoKalmanTracking.h.

Double_t HarpoKalman::fResFinder
protectedinherited

Definition at line 129 of file HarpoKalman.h.

Double_t HarpoKalman::fResKalman
protectedinherited

Definition at line 127 of file HarpoKalman.h.

HarpoRunHeader* HarpoAnalyse::fRunHeader
protectedinherited

Definition at line 76 of file HarpoAnalyse.h.

Double_t HarpoKalman::fScatFinder
protectedinherited

Definition at line 130 of file HarpoKalman.h.

Double_t HarpoKalman::fScatKalman
protectedinherited

Definition at line 128 of file HarpoKalman.h.

Double_t HarpoKalman::fStartDirX[NTRACK][10]
protectedinherited

Definition at line 81 of file HarpoKalman.h.

Double_t HarpoKalman::fStartDirZ[NTRACK][10]
protectedinherited

Definition at line 82 of file HarpoKalman.h.

Int_t HarpoKalman::fStartIndex[NTRACK]
protectedinherited

Definition at line 87 of file HarpoKalman.h.

Double_t HarpoKalman::fStartPointX[NTRACK][10]
protectedinherited

Definition at line 78 of file HarpoKalman.h.

Double_t HarpoKalman::fStartPointZ[NTRACK][10]
protectedinherited

Definition at line 79 of file HarpoKalman.h.

Int_t HarpoKalman::fTrack[4000]
protectedinherited

Definition at line 99 of file HarpoKalman.h.

Double_t HarpoKalman::fWidthMax
protectedinherited

Definition at line 123 of file HarpoKalman.h.

Double_t HarpoKalman::fWidthMinC
protectedinherited

Definition at line 122 of file HarpoKalman.h.

Double_t HarpoKalman::fWidthMinT
protectedinherited

Definition at line 121 of file HarpoKalman.h.

TH1F* HarpoKalman::hDistMinTracks
protectedinherited

Definition at line 104 of file HarpoKalman.h.

TH1F* HarpoKalman::hDistTracks
protectedinherited

Definition at line 103 of file HarpoKalman.h.

TH1F* HarpoKalmanTracking::hNcl

Redefine empty default.

Definition at line 40 of file HarpoKalmanTracking.h.

TH2F* HarpoKalman::hThetaDist[10]
protectedinherited

Definition at line 107 of file HarpoKalman.h.

TH1F* HarpoKalman::hThetaTracks
protectedinherited

Definition at line 105 of file HarpoKalman.h.

TH2F* HarpoKalman::hThetaTracksNtr
protectedinherited

Definition at line 106 of file HarpoKalman.h.

Int_t HarpoKalman::NCcl[NCHAN]
protectedinherited

Definition at line 69 of file HarpoKalman.h.

ULong_t HarpoAnalyse::nEvents
protectedinherited

Definition at line 75 of file HarpoAnalyse.h.

Int_t HarpoKalman::NTcl[NADC]
protectedinherited

Definition at line 71 of file HarpoKalman.h.

Int_t HarpoKalman::reused[4000]
protectedinherited

Definition at line 98 of file HarpoKalman.h.

Int_t HarpoKalman::Tcl[NADC][20]
protectedinherited

Definition at line 70 of file HarpoKalman.h.

Int_t HarpoKalman::used[4000]
protectedinherited

Definition at line 97 of file HarpoKalman.h.


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