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 | Static Private Attributes
HarpoMatching Class Reference

#include <HarpoMatching.h>

Public Member Functions

 HarpoMatching ()
 
void Init ()
 
void Save (char *mode=NULL)
 
void process ()
 
void print ()
 Ovreloaded medod whic do all job. More...
 
void Matching (TH1F *hX, TH1F *hY, Double_t &coverageX, Double_t &coverageY, Double_t &chi2)
 Redefine empty default. More...
 
Int_t InitEventNew ()
 
TH1 * GetHist (Int_t i, Int_t match=-1)
 
void DisplayAnalysis (TRootEmbeddedCanvas *ecTab, TGListBox *info)
 
void DrawMatching (HarpoRecoMatching *match, TVirtualPad *c)
 
void ConfigFrame (TGMainFrame *fMain, Int_t id)
 
void SetConfig ()
 
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)
 

Data Fields

HarpoEventfEvt
 

Protected Attributes

ULong_t nEvents
 
HarpoRunHeaderfRunHeader
 

Private Member Functions

void DoMatchingNew ()
 
void DoMatching ()
 
void MakeCompoundTracks (Int_t iTr, ULong64_t mask, Int_t plane)
 
Int_t GetNcom (ULong64_t iTr, ULong64_t mask, Int_t plane)
 
TH1F * GetCompoundHist (ULong64_t mask, Int_t plane)
 
Int_t CombineTracks (ULong64_t mask, Int_t plane)
 

Private Attributes

Double_t FacXY
 
Double_t FacTronc
 
Double_t FacRec
 
Double_t Chi2TroncNcut
 
Int_t fNcomMin
 
TGNumberEntry * fChooseFacXY
 
TGNumberEntry * fChooseFacTronc
 
TGNumberEntry * fChooseFacRec
 
TGNumberEntry * fChooseChi2TroncNcut
 
TGNumberEntry * fChooseNcomMin
 
TH2F * hQxyVsNcom
 
TH1F * hCoverageX
 
TH1F * hCoverageY
 
TH1F * hChi2
 
TH2F * hQxyVsNcomEvent
 
TH1F * hCoverageXEvent
 
TH1F * hCoverageYEvent
 
TH1F * hChi2Event
 
TH1F * hQvsTX [NTRACK]
 
TH1F * hQvsTY [NTRACK]
 
ULong64_t fCompoundTrack [2][kNmaxCompoundTracks]
 
Int_t fNcompoundTracks [2]
 
Int_t fTrMax [2]
 
ULong64_t fMask [NTRACK][2]
 

Static Private Attributes

static const Int_t kNmaxCompoundTracks = NTRACK
 

Detailed Description

Definition at line 34 of file HarpoMatching.h.

Constructor & Destructor Documentation

HarpoMatching::HarpoMatching ( )
inline

Definition at line 39 of file HarpoMatching.h.

Member Function Documentation

Int_t HarpoMatching::CombineTracks ( ULong64_t  mask,
Int_t  plane 
)
private

Definition at line 394 of file HarpoMatching.cxx.

Here is the call graph for this function:

void HarpoMatching::ConfigFrame ( TGMainFrame *  fMain,
Int_t  id 
)
virtual

Reimplemented from HarpoAnalyse.

Definition at line 952 of file HarpoMatching.cxx.

Here is the call graph for this function:

void HarpoMatching::DisplayAnalysis ( TRootEmbeddedCanvas *  ecTab,
TGListBox *  info 
)
virtual

Reimplemented from HarpoAnalyse.

Definition at line 811 of file HarpoMatching.cxx.

Here is the call graph for this function:

void HarpoMatching::DoMatching ( )
private

Definition at line 297 of file HarpoMatching.cxx.

void HarpoMatching::DoMatchingNew ( )
private

Definition at line 108 of file HarpoMatching.cxx.

Here is the call graph for this function:

void HarpoMatching::DrawMatching ( HarpoRecoMatching match,
TVirtualPad *  c 
)

Definition at line 877 of file HarpoMatching.cxx.

Here is the call graph for this function:

TH1F * HarpoMatching::GetCompoundHist ( ULong64_t  mask,
Int_t  plane 
)
private

Definition at line 568 of file HarpoMatching.cxx.

TH1 * HarpoMatching::GetHist ( Int_t  i,
Int_t  match = -1 
)

Definition at line 781 of file HarpoMatching.cxx.

Int_t HarpoMatching::GetNcom ( ULong64_t  iTr,
ULong64_t  mask,
Int_t  plane 
)
private

Definition at line 523 of file HarpoMatching.cxx.

void HarpoMatching::Init ( )
virtual

Reimplemented from HarpoAnalyse.

Definition at line 31 of file HarpoMatching.cxx.

Here is the call graph for this function:

Int_t HarpoMatching::InitEventNew ( )

Definition at line 590 of file HarpoMatching.cxx.

Here is the call graph for this function:

void HarpoMatching::MakeCompoundTracks ( Int_t  iTr,
ULong64_t  mask,
Int_t  plane 
)
private

Definition at line 492 of file HarpoMatching.cxx.

void HarpoMatching::Matching ( TH1F *  hX,
TH1F *  hY,
Double_t &  coverageX,
Double_t &  coverageY,
Double_t &  chi2 
)

Redefine empty default.

Definition at line 697 of file HarpoMatching.cxx.

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 HarpoMatching::print ( )
inlinevirtual

Ovreloaded medod whic do all job.

Reimplemented from HarpoAnalyse.

Definition at line 44 of file HarpoMatching.h.

void HarpoMatching::process ( )
virtual

Implements HarpoAnalyse.

Definition at line 99 of file HarpoMatching.cxx.

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 HarpoMatching::Save ( char *  mode = NULL)
virtual

Reimplemented from HarpoAnalyse.

Definition at line 1054 of file HarpoMatching.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 HarpoMatching::SetConfig ( )
virtual

Reimplemented from HarpoAnalyse.

Definition at line 1040 of file HarpoMatching.cxx.

void HarpoAnalyse::SetRunHeader ( HarpoRunHeader hdr)
inlineinherited

Definition at line 60 of file HarpoAnalyse.h.

Here is the caller graph for this function:

Field Documentation

Double_t HarpoMatching::Chi2TroncNcut
private

Definition at line 96 of file HarpoMatching.h.

Double_t HarpoMatching::FacRec
private

Definition at line 95 of file HarpoMatching.h.

Double_t HarpoMatching::FacTronc
private

Definition at line 94 of file HarpoMatching.h.

Double_t HarpoMatching::FacXY
private

Definition at line 93 of file HarpoMatching.h.

TGNumberEntry* HarpoMatching::fChooseChi2TroncNcut
private

Definition at line 101 of file HarpoMatching.h.

TGNumberEntry* HarpoMatching::fChooseFacRec
private

Definition at line 100 of file HarpoMatching.h.

TGNumberEntry* HarpoMatching::fChooseFacTronc
private

Definition at line 99 of file HarpoMatching.h.

TGNumberEntry* HarpoMatching::fChooseFacXY
private

Definition at line 98 of file HarpoMatching.h.

TGNumberEntry* HarpoMatching::fChooseNcomMin
private

Definition at line 102 of file HarpoMatching.h.

ULong64_t HarpoMatching::fCompoundTrack[2][kNmaxCompoundTracks]
private

Definition at line 116 of file HarpoMatching.h.

HarpoEvent* HarpoAnalyse::fEvt
inherited

Definition at line 70 of file HarpoAnalyse.h.

ULong64_t HarpoMatching::fMask[NTRACK][2]
private

Definition at line 119 of file HarpoMatching.h.

Int_t HarpoMatching::fNcomMin
private

Definition at line 97 of file HarpoMatching.h.

Int_t HarpoMatching::fNcompoundTracks[2]
private

Definition at line 117 of file HarpoMatching.h.

HarpoRunHeader* HarpoAnalyse::fRunHeader
protectedinherited

Definition at line 76 of file HarpoAnalyse.h.

Int_t HarpoMatching::fTrMax[2]
private

Definition at line 118 of file HarpoMatching.h.

TH1F* HarpoMatching::hChi2
private

Definition at line 107 of file HarpoMatching.h.

TH1F* HarpoMatching::hChi2Event
private

Definition at line 111 of file HarpoMatching.h.

TH1F* HarpoMatching::hCoverageX
private

Definition at line 105 of file HarpoMatching.h.

TH1F* HarpoMatching::hCoverageXEvent
private

Definition at line 109 of file HarpoMatching.h.

TH1F* HarpoMatching::hCoverageY
private

Definition at line 106 of file HarpoMatching.h.

TH1F* HarpoMatching::hCoverageYEvent
private

Definition at line 110 of file HarpoMatching.h.

TH1F* HarpoMatching::hQvsTX[NTRACK]
private

Definition at line 112 of file HarpoMatching.h.

TH1F* HarpoMatching::hQvsTY[NTRACK]
private

Definition at line 113 of file HarpoMatching.h.

TH2F* HarpoMatching::hQxyVsNcom
private

Definition at line 104 of file HarpoMatching.h.

TH2F* HarpoMatching::hQxyVsNcomEvent
private

Definition at line 108 of file HarpoMatching.h.

const Int_t HarpoMatching::kNmaxCompoundTracks = NTRACK
staticprivate

Definition at line 115 of file HarpoMatching.h.

ULong_t HarpoAnalyse::nEvents
protectedinherited

Definition at line 75 of file HarpoAnalyse.h.


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