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

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

#include <HarpoTrackingPh.h>

Public Member Functions

virtual ~HarpoTrackingPh ()
 
 HarpoTrackingPh ()
 
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 Attributes

ULong_t nEvents
 
HarpoRunHeaderfRunHeader
 

Private 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)
 
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)
 
Double_t GetResolution (HarpoRecoClusters *cl)
 

Private 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]
 
TGraph * fGraphs [2][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]
 
Int_t fId [NTRACK][2]
 
Double_t fQcommon [NTRACK][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]
 
TH2F * fHistQQtestVsDist
 
TH2F * fHistQQmin
 
Double_t fQmin
 
Double_t fWidthMinT
 
Double_t fWidthMinC
 
Double_t fWidthMax
 
Int_t fNclMin
 
Int_t fNclMin2
 
Double_t fMaxSlopeType
 
Double_t fResKalman
 
Double_t fScatKalman
 
Double_t fResFinder
 
Double_t fScatFinder
 

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 26 of file HarpoTrackingPh.h.

Constructor & Destructor Documentation

virtual HarpoTrackingPh::~HarpoTrackingPh ( )
inlinevirtual

Definition at line 30 of file HarpoTrackingPh.h.

HarpoTrackingPh::HarpoTrackingPh ( )
inline

Definition at line 32 of file HarpoTrackingPh.h.

Member Function Documentation

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

Definition at line 414 of file HarpoTrackingPh.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 * HarpoTrackingPh::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 
)
private

Definition at line 985 of file HarpoTrackingPh.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

TArrayI * HarpoTrackingPh::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 
)
private

Definition at line 992 of file HarpoTrackingPh.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 342 of file HarpoTrackingPh.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 40 of file HarpoTrackingPh.h.

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

Definition at line 48 of file HarpoTrackingPh.h.

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

Definition at line 307 of file HarpoTrackingPh.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

Int_t HarpoTrackingPh::GetNtr ( Int_t  plane)
inline

Definition at line 47 of file HarpoTrackingPh.h.

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

Definition at line 865 of file HarpoTrackingPh.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

Double_t HarpoTrackingPh::GetQtracks ( Int_t  plane)
private

Definition at line 903 of file HarpoTrackingPh.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

Double_t HarpoTrackingPh::GetResolution ( HarpoRecoClusters cl)
private

Definition at line 1303 of file HarpoTrackingPh.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

void HarpoTrackingPh::Init ( )
virtual

Reimplemented from HarpoAnalyse.

Definition at line 1318 of file HarpoTrackingPh.cxx.

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

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

Ovreloaded medod whic do all job.

Reimplemented from HarpoAnalyse.

Definition at line 41 of file HarpoTrackingPh.cxx.

Here is the call graph for this function:

void HarpoTrackingPh::process ( )
virtual

Implements HarpoAnalyse.

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

Reimplemented from HarpoAnalyse.

Definition at line 1400 of file HarpoTrackingPh.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 HarpoTrackingPh::SetCanvas ( TVirtualPad *  c,
Int_t  plane 
)
inline

Definition at line 50 of file HarpoTrackingPh.h.

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

Definition at line 51 of file HarpoTrackingPh.h.

void HarpoTrackingPh::SetQmin ( Double_t  val)
inline

Definition at line 53 of file HarpoTrackingPh.h.

void HarpoAnalyse::SetRunHeader ( HarpoRunHeader hdr)
inlineinherited

Definition at line 60 of file HarpoAnalyse.h.

Here is the caller graph for this function:

void HarpoTrackingPh::SetWidthMax ( Double_t  val)
inline

Definition at line 56 of file HarpoTrackingPh.h.

void HarpoTrackingPh::SetWidthMinC ( Double_t  val)
inline

Definition at line 55 of file HarpoTrackingPh.h.

void HarpoTrackingPh::SetWidthMinT ( Double_t  val)
inline

Definition at line 54 of file HarpoTrackingPh.h.

void HarpoTrackingPh::SpliceTracks ( Int_t  plane)
private

Definition at line 502 of file HarpoTrackingPh.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

Field Documentation

Int_t HarpoTrackingPh::Ccl[NCHAN][20]
private

Definition at line 77 of file HarpoTrackingPh.h.

TVirtualPad* HarpoTrackingPh::fCanvas[2]
private

Definition at line 110 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fEndDirX[NTRACK][10]
private

Definition at line 94 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fEndDirZ[NTRACK][10]
private

Definition at line 95 of file HarpoTrackingPh.h.

Int_t HarpoTrackingPh::fEndIndex[NTRACK]
private

Definition at line 98 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fEndPointX[NTRACK][10]
private

Definition at line 92 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fEndPointZ[NTRACK][10]
private

Definition at line 93 of file HarpoTrackingPh.h.

HarpoEvent* HarpoAnalyse::fEvt
inherited

Definition at line 70 of file HarpoAnalyse.h.

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

Definition at line 84 of file HarpoTrackingPh.h.

TH2F* HarpoTrackingPh::fHist[2]
private

Definition at line 111 of file HarpoTrackingPh.h.

TH2F* HarpoTrackingPh::fHistQQmin
private

Definition at line 120 of file HarpoTrackingPh.h.

TH2F* HarpoTrackingPh::fHistQQtestVsDist
private

Definition at line 119 of file HarpoTrackingPh.h.

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

Definition at line 99 of file HarpoTrackingPh.h.

ULong64_t HarpoTrackingPh::fMapTmp[NCHAN][NADC]
private

Definition at line 103 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fMaxSlopeType
private

Definition at line 136 of file HarpoTrackingPh.h.

Int_t HarpoTrackingPh::fNclMin
private

Definition at line 134 of file HarpoTrackingPh.h.

Int_t HarpoTrackingPh::fNclMin2
private

Definition at line 135 of file HarpoTrackingPh.h.

Int_t HarpoTrackingPh::fNclTrack[NTRACK]
private

Definition at line 83 of file HarpoTrackingPh.h.

Int_t HarpoTrackingPh::fNtr[2]
private

Definition at line 81 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fQcommon[NTRACK][NTRACK]
private

Definition at line 100 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fQmin
private

Definition at line 130 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fQtot
private

Definition at line 104 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fQused
private

Definition at line 105 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fResFinder
private

Definition at line 139 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fResKalman
private

Definition at line 137 of file HarpoTrackingPh.h.

HarpoRunHeader* HarpoAnalyse::fRunHeader
protectedinherited

Definition at line 76 of file HarpoAnalyse.h.

Double_t HarpoTrackingPh::fScatFinder
private

Definition at line 140 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fScatKalman
private

Definition at line 138 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fStartDirX[NTRACK][10]
private

Definition at line 90 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fStartDirZ[NTRACK][10]
private

Definition at line 91 of file HarpoTrackingPh.h.

Int_t HarpoTrackingPh::fStartIndex[NTRACK]
private

Definition at line 97 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fStartPointX[NTRACK][10]
private

Definition at line 87 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fStartPointZ[NTRACK][10]
private

Definition at line 88 of file HarpoTrackingPh.h.

Int_t HarpoTrackingPh::fTrack[4000]
private

Definition at line 109 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fWidthMax
private

Definition at line 133 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fWidthMinC
private

Definition at line 132 of file HarpoTrackingPh.h.

Double_t HarpoTrackingPh::fWidthMinT
private

Definition at line 131 of file HarpoTrackingPh.h.

TH1F* HarpoTrackingPh::hDistMinTracks
private

Definition at line 114 of file HarpoTrackingPh.h.

TH1F* HarpoTrackingPh::hDistTracks
private

Definition at line 113 of file HarpoTrackingPh.h.

TH1F* HarpoTrackingPh::hNcl

Redefine empty default.

Definition at line 39 of file HarpoTrackingPh.h.

TH2F* HarpoTrackingPh::hThetaDist[10]
private

Definition at line 117 of file HarpoTrackingPh.h.

TH1F* HarpoTrackingPh::hThetaTracks
private

Definition at line 115 of file HarpoTrackingPh.h.

TH2F* HarpoTrackingPh::hThetaTracksNtr
private

Definition at line 116 of file HarpoTrackingPh.h.

Int_t HarpoTrackingPh::NCcl[NCHAN]
private

Definition at line 78 of file HarpoTrackingPh.h.

ULong_t HarpoAnalyse::nEvents
protectedinherited

Definition at line 75 of file HarpoAnalyse.h.

Int_t HarpoTrackingPh::NTcl[NADC]
private

Definition at line 80 of file HarpoTrackingPh.h.

Int_t HarpoTrackingPh::reused[4000]
private

Definition at line 108 of file HarpoTrackingPh.h.

Int_t HarpoTrackingPh::Tcl[NADC][20]
private

Definition at line 79 of file HarpoTrackingPh.h.

Int_t HarpoTrackingPh::used[4000]
private

Definition at line 107 of file HarpoTrackingPh.h.


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