class HTofHitF: public HReconstructor

_HADES_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.


Function Members (Methods)

public:
HTofHitF()
HTofHitF(const Text_t* name, const Text_t* title)
virtual~HTofHitF()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidHReconstructor::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual Bool_tHReconstructor::connectTask(HTask* task, Int_t n = 0)
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual Int_texecute()
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual Bool_tfinalize()
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual HTask*HReconstructor::getComposite()
virtual voidHReconstructor::getConnections()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual HTask*HTask::getOwner()
TObjArrayHReconstructor::getTable()
virtual HTask*HReconstructor::getTask(const Char_t* name)
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual Bool_tinit()
voidinitParContainer(HSpectrometer*, HRuntimeDb*)
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tHReconstructor::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
virtual voidHReconstructor::isTimed(Bool_t flag = kTRUE)
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual HTask*HReconstructor::next(Int_t& errCode)
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
HTask&HTask::operator=(const HTask&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual voidHReconstructor::printTimer()
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual Bool_tHTask::reinit()
voidTObject::ResetBit(UInt_t f)
virtual voidHReconstructor::resetTimer()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidHReconstructor::setActive(Bool_t state)MENU
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual Bool_tHTask::setConnections()
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidHTask::setManual()
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidHTask::setOwner(HTask* atask)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidfillGeometry(HTofHit*)
virtual voidfillHit(HTofHit*, HTofRaw*)
voidfillHitCat(Bool_t sim = kFALSE, Bool_t embed = kFALSE)
virtual HTofHit*makeHit(TObject* address)
voidTObject::MakeZombie()
voidmergeHitCats()

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Bool_tHReconstructor::fActiveActive flag
HTofCalPar*fCalPar!Calibration parameters
HTofCalPar*fCalParSim!Calibration parameters of sim for embedding
TList*HReconstructor::fHistogramsList of histograms generated by this reconstructor.
HCategory*fHitCat!Pointer to the hits category
HCategory*fHitCatTmp!Pointer to the tmp hits category
Bool_tHTask::fIsTimedtimer flag
HLocationfLoc!
TStringTNamed::fNameobject identifier
TObjArrayHReconstructor::fOutputs
HCategory*fRawCat!Raw data category
HCategory*fRawCatTmp!Raw tmp data category
HSpecGeomPar*fSpecGeometry
HCategory*fStartHitCat! Category with start hits
TStopwatchHReconstructor::fTimerTask timer
TStringTNamed::fTitleobject title
HTofGeomPar*fTofGeometry!Container for TOF geometry
Bool_tfTofSimulation
Bool_tHTask::isConnected
Bool_tHTask::isInitialised
HIterator*iter!
HIterator*iterTmp!
Bool_tHTask::manual
HTask*HTask::owner

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void initParContainer(HSpectrometer* , HRuntimeDb* )
 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(const Text_t* name, const Text_t* title)
~HTofHitF(void)
HTofHit * makeHit(TObject* address)
void fillHit(HTofHit* , HTofRaw* )
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* )
 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 = kFALSE, Bool_t embed = kFALSE)
void mergeHitCats()
Bool_t finalize(void)
{return kTRUE;}

Last change: Sat May 22 13:16:13 2010
Last generated: 2010-05-22 13:16

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.