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
HarpoKalmanFitting Class Reference

A virtual class which define intrafece between HARPO Reader and Event Analysis code. More...

#include <HarpoKalmanFitting.h>

Public Member Functions

virtual ~HarpoKalmanFitting ()
 
 HarpoKalmanFitting ()
 
void Init ()
 
void Save (char *mode=NULL)
 
void process ()
 
void print ()
 Ovreloaded medod whic do all job. More...
 
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]
 
Double_t fQtot
 
Double_t fQused
 
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]
 
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)
 
TMatrixD GetTrackEnd (TClonesArray *clArray, Int_t plane, Int_t iTr)
 
void FindTrack (TClonesArray *clArray, Int_t icl0, Int_t icl1, TMatrixD Corig, Int_t plane, Int_t &color)
 
Int_t FitTrack (TClonesArray *clArray, Int_t plane, HarpoRecoKalmanTracks *track)
 
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]
 
TH2F * fHistQQtestVsDist
 
TH2F * fHistQQmin
 
Int_t fNclMin
 
Int_t fNclMin2
 

Detailed Description

A virtual class which define intrafece between HARPO Reader and Event Analysis code.

The real analysis done in process() proceedure.

Definition at line 27 of file HarpoKalmanFitting.h.

Constructor & Destructor Documentation

virtual HarpoKalmanFitting::~HarpoKalmanFitting ( )
inlinevirtual

Definition at line 31 of file HarpoKalmanFitting.h.

HarpoKalmanFitting::HarpoKalmanFitting ( )
inline

Definition at line 33 of file HarpoKalmanFitting.h.

Member Function Documentation

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 HarpoKalmanFitting::FindTrack ( TClonesArray *  clArray,
Int_t  icl0,
Int_t  icl1,
TMatrixD  Corig,
Int_t  plane,
Int_t &  color 
)
private
Int_t HarpoKalmanFitting::FitTrack ( TClonesArray *  clArray,
Int_t  plane,
HarpoRecoKalmanTracks track 
)
private

Definition at line 141 of file HarpoKalmanFitting.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 49 of file HarpoKalmanFitting.h.

Int_t HarpoKalmanFitting::GetNtr ( Int_t  plane)
inline

Definition at line 48 of file HarpoKalmanFitting.h.

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

Definition at line 261 of file HarpoKalmanFitting.cxx.

Here is the call graph for this function:

Double_t HarpoKalmanFitting::GetQtracks ( Int_t  plane)
private

Definition at line 299 of file HarpoKalmanFitting.cxx.

Here is the call 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:

TMatrixD HarpoKalmanFitting::GetTrackEnd ( TClonesArray *  clArray,
Int_t  plane,
Int_t  iTr 
)
private

Definition at line 101 of file HarpoKalmanFitting.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

void HarpoKalmanFitting::Init ( )
virtual

Reimplemented from HarpoKalman.

Definition at line 382 of file HarpoKalmanFitting.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 87 of file HarpoKalmanFitting.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 HarpoKalmanFitting::print ( )
virtual

Ovreloaded medod whic do all job.

Reimplemented from HarpoKalman.

Definition at line 42 of file HarpoKalmanFitting.cxx.

Here is the call graph for this function:

void HarpoKalmanFitting::process ( )
virtual

Implements HarpoAnalyse.

Definition at line 57 of file HarpoKalmanFitting.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 HarpoKalmanFitting::Save ( char *  mode = NULL)
virtual

Reimplemented from HarpoKalman.

Definition at line 465 of file HarpoKalmanFitting.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 HarpoKalman::SetCanvas ( TVirtualPad *  c,
Int_t  plane 
)
inlineinherited

Definition at line 51 of file HarpoKalman.h.

virtual void HarpoAnalyse::SetConfig ( )
inlinevirtualinherited
void HarpoKalman::SetHist ( TH2F *  h,
Int_t  plane 
)
inlineinherited

Definition at line 52 of file HarpoKalman.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.

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.

TH2F* HarpoKalman::fHist[2]
protectedinherited

Definition at line 101 of file HarpoKalman.h.

TH2F* HarpoKalmanFitting::fHistQQmin
private

Definition at line 67 of file HarpoKalmanFitting.h.

TH2F* HarpoKalmanFitting::fHistQQtestVsDist
private

Definition at line 66 of file HarpoKalmanFitting.h.

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

Definition at line 62 of file HarpoKalmanFitting.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 HarpoKalmanFitting::fNclMin
private

Definition at line 77 of file HarpoKalmanFitting.h.

Int_t HarpoKalmanFitting::fNclMin2
private

Definition at line 78 of file HarpoKalmanFitting.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 HarpoKalmanFitting::fQcommon[NTRACK][NTRACK]
private

Definition at line 63 of file HarpoKalmanFitting.h.

Double_t HarpoKalman::fQmin
protectedinherited

Definition at line 120 of file HarpoKalman.h.

Double_t HarpoKalman::fQtot
protectedinherited

Definition at line 94 of file HarpoKalman.h.

Double_t HarpoKalman::fQused
protectedinherited

Definition at line 95 of file HarpoKalman.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* HarpoKalmanFitting::hNcl

Redefine empty default.

Definition at line 40 of file HarpoKalmanFitting.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: