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 Attributes
HarpoVertexing Class Reference

Dummy analysis to run as test and example. Give basic histograms of the data. More...

#include <HarpoVertexing.h>

Public Member Functions

 HarpoVertexing ()
 
void Init ()
 
void Save (char *mode=NULL)
 
void process ()
 
void print ()
 Overloaded method which do all job. More...
 
Double_t GetFraction (Int_t ndet, Double_t x, Double_t z, Double_t &phi0, Double_t &phi1)
 Redefine empty default. More...
 
void GetConnex (Int_t i, Int_t j, Int_t n, Int_t n0, HarpoDccMap *m, TH2F *h)
 
void DisplayAnalysis (TRootEmbeddedCanvas *ecTab, TGListBox *infobox)
 
void ConfigFrame (TGMainFrame *fMain, Int_t id)
 
void SetConfig ()
 
void FindVertexes ()
 
void RefineVertexPosition ()
 
void FillVertexAngles ()
 
TArrayD * GetPeaks2 (TH1F *h)
 
TArrayD * GetPeaks (Int_t n, Double_t *x, Double_t *w, Int_t plane, Int_t v)
 
void GetPeak (Int_t n, Double_t *x, Double_t *w, Double_t &muOut, Double_t &sigOut, Int_t plane, Int_t v)
 
void FitVertex (TH2F *h, HarpoRecoVertex *vertex)
 
TGraph * GetGraph (TH2F *h, Int_t n, Double_t x0, Double_t z0, Double_t px, Double_t pz)
 
TArrayD * FitGraph (TGraph *g, const Int_t nFit)
 
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 Attributes

TGNumberEntry * fChooseRadiusX
 
TGNumberEntry * fChooseRadiusZ
 
TGNumberEntry * fChooseMinFrac
 
TGNumberEntry * fChooseSeparation
 
TGNumberEntry * fChooseQmin
 
Double_t fRadiusX
 
Double_t fRadiusZ
 
Double_t fMinFrac
 
Double_t fSeparation
 
Double_t fQmin
 
TH1F * fHist [2][10][3]
 
TH1F * fHist2 [2][10][3]
 
TH2F * fHistProj2Draw [20]
 
TH2F * fHistProj2D [20]
 
TH1F * fHistMean [20]
 
TH2F * fHistMap [20]
 
TH1F * fHistDiff
 
Int_t fNbins
 
Int_t fNbinsTheta
 
Bool_t fDisplay
 

Detailed Description

Dummy analysis to run as test and example. Give basic histograms of the data.

Definition at line 21 of file HarpoVertexing.h.

Constructor & Destructor Documentation

HarpoVertexing::HarpoVertexing ( )
inline

Definition at line 25 of file HarpoVertexing.h.

Member Function Documentation

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

Reimplemented from HarpoAnalyse.

Definition at line 1112 of file HarpoVertexing.cxx.

Here is the call graph for this function:

void HarpoVertexing::DisplayAnalysis ( TRootEmbeddedCanvas *  ecTab,
TGListBox *  infobox 
)
virtual

Reimplemented from HarpoAnalyse.

Definition at line 920 of file HarpoVertexing.cxx.

Here is the call graph for this function:

void HarpoVertexing::FillVertexAngles ( )

Definition at line 103 of file HarpoVertexing.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

void HarpoVertexing::FindVertexes ( )

Definition at line 348 of file HarpoVertexing.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

TArrayD * HarpoVertexing::FitGraph ( TGraph *  g,
const Int_t  nFit 
)

Definition at line 482 of file HarpoVertexing.cxx.

Here is the caller graph for this function:

void HarpoVertexing::FitVertex ( TH2F *  h,
HarpoRecoVertex vertex 
)

Definition at line 425 of file HarpoVertexing.cxx.

Here is the call graph for this function:

void HarpoVertexing::GetConnex ( Int_t  i,
Int_t  j,
Int_t  n,
Int_t  n0,
HarpoDccMap m,
TH2F *  h 
)

Definition at line 887 of file HarpoVertexing.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

Double_t HarpoVertexing::GetFraction ( Int_t  ndet,
Double_t  x,
Double_t  z,
Double_t &  phi0,
Double_t &  phi1 
)

Redefine empty default.

Definition at line 833 of file HarpoVertexing.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

TGraph * HarpoVertexing::GetGraph ( TH2F *  h,
Int_t  n,
Double_t  x0,
Double_t  z0,
Double_t  px,
Double_t  pz 
)

Definition at line 443 of file HarpoVertexing.cxx.

Here is the caller graph for this function:

void HarpoVertexing::GetPeak ( Int_t  n,
Double_t *  x,
Double_t *  w,
Double_t &  muOut,
Double_t &  sigOut,
Int_t  plane,
Int_t  v 
)

Definition at line 679 of file HarpoVertexing.cxx.

Here is the caller graph for this function:

TArrayD * HarpoVertexing::GetPeaks ( Int_t  n,
Double_t *  x,
Double_t *  w,
Int_t  plane,
Int_t  v 
)

Definition at line 628 of file HarpoVertexing.cxx.

Here is the call graph for this function:

TArrayD * HarpoVertexing::GetPeaks2 ( TH1F *  h)

Definition at line 563 of file HarpoVertexing.cxx.

Here is the caller graph for this function:

void HarpoVertexing::Init ( )
virtual

Reimplemented from HarpoAnalyse.

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

Overloaded method which do all job.

Reimplemented from HarpoAnalyse.

Definition at line 61 of file HarpoVertexing.cxx.

Here is the call graph for this function:

void HarpoVertexing::process ( )
virtual

Implements HarpoAnalyse.

Definition at line 76 of file HarpoVertexing.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 HarpoVertexing::RefineVertexPosition ( )

Definition at line 306 of file HarpoVertexing.cxx.

Here is the call graph for this function:

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

Reimplemented from HarpoAnalyse.

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

Reimplemented from HarpoAnalyse.

Definition at line 1204 of file HarpoVertexing.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

TGNumberEntry* HarpoVertexing::fChooseMinFrac
private

Definition at line 64 of file HarpoVertexing.h.

TGNumberEntry* HarpoVertexing::fChooseQmin
private

Definition at line 66 of file HarpoVertexing.h.

TGNumberEntry* HarpoVertexing::fChooseRadiusX
private

Definition at line 62 of file HarpoVertexing.h.

TGNumberEntry* HarpoVertexing::fChooseRadiusZ
private

Definition at line 63 of file HarpoVertexing.h.

TGNumberEntry* HarpoVertexing::fChooseSeparation
private

Definition at line 65 of file HarpoVertexing.h.

Bool_t HarpoVertexing::fDisplay
private

Definition at line 86 of file HarpoVertexing.h.

HarpoEvent* HarpoAnalyse::fEvt
inherited

Definition at line 70 of file HarpoAnalyse.h.

TH1F* HarpoVertexing::fHist[2][10][3]
private

Definition at line 74 of file HarpoVertexing.h.

TH1F* HarpoVertexing::fHist2[2][10][3]
private

Definition at line 75 of file HarpoVertexing.h.

TH1F* HarpoVertexing::fHistDiff
private

Definition at line 81 of file HarpoVertexing.h.

TH2F* HarpoVertexing::fHistMap[20]
private

Definition at line 80 of file HarpoVertexing.h.

TH1F* HarpoVertexing::fHistMean[20]
private

Definition at line 79 of file HarpoVertexing.h.

TH2F* HarpoVertexing::fHistProj2D[20]
private

Definition at line 78 of file HarpoVertexing.h.

TH2F* HarpoVertexing::fHistProj2Draw[20]
private

Definition at line 77 of file HarpoVertexing.h.

Double_t HarpoVertexing::fMinFrac
private

Definition at line 70 of file HarpoVertexing.h.

Int_t HarpoVertexing::fNbins
private

Definition at line 83 of file HarpoVertexing.h.

Int_t HarpoVertexing::fNbinsTheta
private

Definition at line 84 of file HarpoVertexing.h.

Double_t HarpoVertexing::fQmin
private

Definition at line 72 of file HarpoVertexing.h.

Double_t HarpoVertexing::fRadiusX
private

Definition at line 68 of file HarpoVertexing.h.

Double_t HarpoVertexing::fRadiusZ
private

Definition at line 69 of file HarpoVertexing.h.

HarpoRunHeader* HarpoAnalyse::fRunHeader
protectedinherited

Definition at line 76 of file HarpoAnalyse.h.

Double_t HarpoVertexing::fSeparation
private

Definition at line 71 of file HarpoVertexing.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: