/Home/aooliver/hepsoft/lcdroot/LCDRootApps/PhUtil/src/LCDVToplGhost.cxx File Reference

#include "LCDVToplGhost.h"
#include "TVirtualFitter.h"
#include "TArrayD.h"
#include <stdio.h>
#include <iostream.h>

Go to the source code of this file.

Functions

void LCDVToplGhostAxisFit (Int_t &npar, Double_t *gin, Double_t &f, Double_t *u, Int_t flag)
Int_t LCDNNSeedVertexGhostZpole (Float_t *in, Float_t *out, Int_t init)
Int_t LCDNNSeedVertexOneProngGhostZpole (Float_t *in, Float_t *out, Int_t init)
Int_t LCDNNTrackAttachGhostZpole (Float_t *in, Float_t *out, Int_t init)
Int_t LCDNNHFSelectGhostZpole (Float_t *in, Float_t *out, Int_t init)
Int_t LCDNNHFSelectOneProngGhostZpole (Float_t *in, Float_t *out, Int_t init)
Int_t LCDNNHFSelectNoVertexGhostZpole (Float_t *in, Float_t *out, Int_t init)
Int_t LCDNNSeedVertexGhostZH (Float_t *in, Float_t *out, Int_t init)
Int_t LCDNNSeedVertexOneProngGhostZH (Float_t *in, Float_t *out, Int_t init)
Int_t LCDNNTrackAttachGhostZH (Float_t *in, Float_t *out, Int_t init)
 ClassImp (LCDVToplGhost) LCDVToplGhost

Variables

TVirtualFitter * hFitter = 0


Function Documentation

ClassImp LCDVToplGhost   ) 
 

Definition at line 34 of file LCDVToplGhost.cxx.

00038                              {
00039   m_dblevel=0;
00040   Init();
00041 }

Int_t LCDNNHFSelectGhostZpole Float_t *  in,
Float_t *  out,
Int_t  init
 

Int_t LCDNNHFSelectNoVertexGhostZpole Float_t *  in,
Float_t *  out,
Int_t  init
 

Int_t LCDNNHFSelectOneProngGhostZpole Float_t *  in,
Float_t *  out,
Int_t  init
 

Int_t LCDNNSeedVertexGhostZH Float_t *  in,
Float_t *  out,
Int_t  init
 

Int_t LCDNNSeedVertexGhostZpole Float_t *  in,
Float_t *  out,
Int_t  init
 

Int_t LCDNNSeedVertexOneProngGhostZH Float_t *  in,
Float_t *  out,
Int_t  init
 

Int_t LCDNNSeedVertexOneProngGhostZpole Float_t *  in,
Float_t *  out,
Int_t  init
 

Int_t LCDNNTrackAttachGhostZH Float_t *  in,
Float_t *  out,
Int_t  init
 

Int_t LCDNNTrackAttachGhostZpole Float_t *  in,
Float_t *  out,
Int_t  init
 

void LCDVToplGhostAxisFit Int_t &  npar,
Double_t *  gin,
Double_t &  f,
Double_t *  u,
Int_t  flag
 

Definition at line 1075 of file LCDVToplGhost.cxx.

References LCDVToplGhost::CalcChi2ForGhostTrackAxis(), LCDVToplGhost::GetGhostAxis(), and hFitter.

01076                                                    {
01077 
01078   LCDVToplGhost* a=(LCDVToplGhost*)hFitter->GetObjectFit();
01079 
01080   Double_t phiv   =u[0];
01081   Double_t thetav =u[1];
01082   Double_t csphi  =TMath::Cos(phiv);
01083   Double_t snphi  =TMath::Sin(phiv);
01084   Double_t cstheta=TMath::Cos(thetav);
01085   Double_t sntheta=TMath::Sin(thetav);
01086   a->GetGhostAxis()->SetXYZ(sntheta*csphi,sntheta*snphi,cstheta);
01087   f=a->CalcChi2ForGhostTrackAxis(0);
01088 }


Variable Documentation

TVirtualFitter* hFitter = 0
 

Definition at line 12 of file LCDVToplGhost.cxx.

Referenced by LCDVToplGhostAxisFit().


Generated on Tue Jul 18 18:34:06 2006 for LCDROOT by  doxygen 1.4.6