#include "hmdcvertexfind.h" |
HMdcVertexFind
class description - source file - inheritance tree (.pdf)
protected:
Bool_t hasConverged(HGeomVector& v, HGeomVector& oldV)
void initVars()
Bool_t pointsToTarget(const HGeomVector& r, HGeomVector& alpha, Int_t sector, Int_t module)
Bool_t readHits(HGeomVector& estimate)
Bool_t readSegments(HGeomVector& estimate)
void transform(HMdcSeg* data, HGeomVector& r, HGeomVector& alpha)
public:
HMdcVertexFind(Text_t* name, Text_t* title, HMdcVertexFind::EInputMode m = kSegments, Bool_t tukey = kFALSE)
virtual ~HMdcVertexFind()
static TClass* Class()
virtual Int_t execute()
virtual Bool_t finalize()
Double_t getEpsilon()
HMdcVertexFind::EInputMode getInputMode()
Int_t getMaxIterations()
Double_t getTukeyConstant()
virtual Bool_t init()
virtual TClass* IsA() const
void setDebugMode(Bool_t flag)
void setEpsilon(Double_t ep)
void setMaxIterations(Int_t max)
void setTukeyConstant(Double_t d)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void useTukeyWeights(Bool_t flag)
protected:
HGeomVertexFit fFitter !
TNtuple* fControl !
TClonesArray fPos ! r for each track
TClonesArray fAlpha ! alpha vector for each track
HCategory* fInput ! Geant MDC data
HMdcGeomPar* fGeometry ! Geometry transformation
HSpecGeomPar* fSpecGeometry ! Spectrometer's geometry
HIterator* fIter !
Double_t fTukeyConst Value used as Tukey constant
Int_t fMaxIterations Maximum number of iterations
Bool_t fUsingTukey Flag turning on and off Tukey weights
Bool_t fDebugMode Debug mode on/off
Double_t fEpsilon Used for convergence criterium
HMdcVertexFind::EInputMode fInputMode Read segments or hits?
public:
static const HMdcVertexFind::EInputMode kSegments
static const HMdcVertexFind::EInputMode kHits
HMdcVertexFind
Vertex finder using weighted LSM with optional Tukey weights
To use it in a macro just add
taskset->add(new HMdcVertexFind("name","title",input_mode,tukey)
where
input_mode is one of HMdcVertexFind::kSegments or HMdcVertexFind::kHits.
In the first case HMdcSeg objecst will be used as input (recomended for
now) while in the secon HMdcHit objects will be used
As for 'tukey' it can be kTRUE or kFALSE depending on if Tukey weights
should be used in the minimization. For low multiplicity environments
like C+C I would recomend kFALSE; at least until I have found better
parameters for the Tukey weigths minimization.
HMdcVertexFind(Text_t name[],Text_t title[],EInputMode m,
Bool_t tukey) :
HReconstructor(name,title),fPos("HGeomVector",200),
fAlpha("HGeomVector",200)
~HMdcVertexFind(void)
void initVars(void)
Bool_t init(void)
Bool_t finalize(void)
Bool_t pointsToTarget(const HGeomVector &r,HGeomVector &alpha,
Int_t sector,Int_t module)
Gilipollas el HMdcSeg ya tiene esta informacion.....
void transform(HMdcSeg *hit,
HGeomVector &r,HGeomVector &alpha)
Calculates position and direction vector for a HMdcHit
Bool_t readSegments(HGeomVector &estimate)
Bool_t readHits(HGeomVector &estimate)
Int_t execute(void)
Bool_t hasConverged(HGeomVector &v,HGeomVector &oldV)
Inline Functions
void useTukeyWeights(Bool_t flag)
void setDebugMode(Bool_t flag)
void setTukeyConstant(Double_t d)
void setMaxIterations(Int_t max)
void setEpsilon(Double_t ep)
HMdcVertexFind::EInputMode getInputMode()
Double_t getTukeyConstant()
Int_t getMaxIterations()
Double_t getEpsilon()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Author: M.Sanchez (14.06.2000)
Last update: Fri Jan 26 12:18:33 2007
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.