#include "htofhitf.h"

HTofHitF


class description - source file - inheritance tree (.pdf)

class HTofHitF : public HReconstructor

Inheritance Chart:
TObject
<-
TNamed
<-
HTask
<-
HReconstructor
<-
HTofHitF
<-
HTofHitFSim

    protected:
void fillGeometry(HTofHit*) virtual void fillHit(HTofHit*, HTofRaw*) void fillHitCat(Bool_t sim = kFALSE, Bool_t embed = kFALSE) virtual HTofHit* makeHit(TObject* address) void mergeHitCats() public:
HTofHitF() HTofHitF(Text_t* name, Text_t* title) ~HTofHitF() static TClass* Class() virtual Int_t execute() virtual Bool_t finalize() virtual Bool_t init() void initParContainer(HSpectrometer*, HRuntimeDb*) virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
HCategory* fRawCat !Raw data category HCategory* fRawCatTmp !Raw tmp data category HCategory* fHitCat !Pointer to the hits category HCategory* fHitCatTmp !Pointer to the tmp hits category HCategory* fStartHitCat ! Category with start hits HTofCalPar* fCalPar !Calibration parameters HTofCalPar* fCalParSim !Calibration parameters of sim for embedding HLocation fLoc ! HIterator* iter ! HIterator* iterTmp ! HTofGeomPar* fTofGeometry !Container for TOF geometry HSpecGeomPar* fSpecGeometry Bool_t fTofSimulation

Class Description

 HTofHitF Tof hit finder

 adapted from /u/halo/packages/abase/new by Manuel Sanchez (17/06/98)

 HTofHitF is the reconstructor class that iterates over RAW data
 and finds the TOF hits.
 The HIT is only created and filled if both left and right TDC time
 is available.

 Left (right) TDC time is used to find xpos and tof of hit (see HTofHit).
 Then HIT coordinates in the LAB, phi, theta and distance from the
 target are calculated by using HTofGeomPar.

 Left (right) ADC amplitude is used to find xposAdc and energy
 deposited in the rod . Additional information amplL and amplR
 is calculated (see HTofHit).
 The flagAdc have been added to distinguish levels of ADC info
 available:  no ADC         - flagAdc = 0
             left ADC only  - flagAdc = -1
             right ADC only - flagAdc = 1
             both ADC's     - flagAdc = 2
 Important!!!: Note that if only one ADC is available (case flagAdc = -1 or 1)
 the xposAdc cannot be calculated. Also amplL (amplR) cannot be found
 when left (right) ADC has not provided the signal.

 Empirical dependence of tof on position along the rod included
 (see talk of P.Tlusty in Coll.Meeting XI at Smolenice, TOF detector performance.)

 Time walk correction is included in the tof reconstruction.



void initParContainer(HSpectrometer *spec, HRuntimeDb *rtdb)
 Adds to the runtime database "rtdb" the containers needed by the Hit Finder
spec is used to get information of the spectrometer setup.

HTofHitF(void)

HTofHitF(Text_t *name,Text_t *title) : HReconstructor (name,title)

~HTofHitF(void)

HTofHit* makeHit(TObject *address)

void fillHit(HTofHit *hit, HTofRaw *raw)

Bool_t init(void)
 Initializes data levels and container parameters for operation of the
hit finder

Int_t execute(void)
 Find the hits.
See also HReconstructor::execute

void fillGeometry(HTofHit *hit)
 Fills in the LAB position parameters for the given HTofHit.

 This is done by transforming the point (x,0,0) in the ROD coordinate
 system to the LAB coordinate system. Where x is the reconstructed
 x position inside the hit.

void fillHitCat(Bool_t sim,Bool_t embed)

void mergeHitCats()
--------------------------------------------------



Inline Functions


             Bool_t finalize()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Last update: 14/11/2004 by P. Tlusty -


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.