class HShowerHitFinderIPU: public HReconstructor

_HADES_CLASS_DESCRIPTION


 HShowerHitFinderIPU

 Reconstructor for searching local maxima in the same way as
 the PreSHOWER IPU does it.

 Parameters:
 thr1,  thr2 - used in the same way like in the hardware
 m_iAlgFlag - defines the mask for the conditions:
      0x01 - look for charges above thr1
      0x02 - check if the pad is a local maximum from 5 pads
      0x04 - check if (sum1>sum0+thr2 || sum2>sum0+thr2) (sumX from 9 pads)
      0x08 - check if (sum1>thr2 || sum2>thr2)
      WARNING: In hardware 0x08 works only if 0x04 is set.
      In this algorithm they work independently.

 If m_iAlgFlag is 0 then every hit which fulfills ANY condition is stored.
 Otherwise the hits for which ALL conditions defined in the m_iAlgFlag
 are fulfilled are written out.


Function Members (Methods)

public:
HShowerHitFinderIPU()
HShowerHitFinderIPU(Int_t iAlgFlag, Int_t iThr1 = 0, Int_t iThr2 = 0)
HShowerHitFinderIPU(const Text_t* name, const Text_t* title, Int_t iAlgFlag = 0, Int_t iThr1 = 0, Int_t iThr2 = 0)
virtual~HShowerHitFinderIPU()
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
Int_tgetAlgorithm() 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)
Int_tgetThreshold1() const
Int_tgetThreshold2() const
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()
Bool_tinitParameters()
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
voidsetAlgorithm(Int_t a)
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)
voidsetThreshold1(Int_t a)
voidsetThreshold2(Int_t a)
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
voidTObject::MakeZombie()
private:
voidfillSums(HShowerCalIPU* pCal, UShort_t* nSum)
Bool_tisLocalMax(HShowerCalIPU* pRef)
Bool_tlookForHit(HShowerCalIPU* pCal)
voidsetDefault()

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
TList*HReconstructor::fHistogramsList of histograms generated by this reconstructor.
Bool_tHTask::fIsTimedtimer flag
TStringTNamed::fNameobject identifier
TObjArrayHReconstructor::fOutputs
TStopwatchHReconstructor::fTimerTask timer
TStringTNamed::fTitleobject title
Bool_tHTask::isConnected
Bool_tHTask::isInitialised
Bool_tHTask::manual
HTask*HTask::owner
private:
HIterator*fIter!Iterator for calibrated fired pads
HLocationm_Loc
Int_tm_iAlgFlagflag for the algorithm
Int_tm_iThr1thresholds
Int_tm_iThr2
HCategory*m_pCalCat!Pointer to the cal data category
HRaTree*m_pCellArrrandom access table for searching local maxima
HCategory*m_pHitCat!Pointer to the hit data category

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HShowerHitFinderIPU(const Text_t* name, const Text_t* title, Int_t iAlgFlag = 0, Int_t iThr1 = 0, Int_t iThr2 = 0)
HShowerHitFinderIPU(Int_t iAlgFlag, Int_t iThr1 = 0, Int_t iThr2 = 0)
HShowerHitFinderIPU(void)
void setDefault(void)
~HShowerHitFinderIPU(void)
Bool_t init(void)
Bool_t initParameters(void)
 Now it is a dummy function
Bool_t finalize(void)
Int_t execute(void)
Bool_t lookForHit(HShowerCalIPU* pCal)
 checks the conditions and makes new entry in HShowerHitIPU cat
void fillSums(HShowerCalIPU* pCal, UShort_t* nSum)
 Fills sums
Bool_t isLocalMax(HShowerCalIPU* pRef)
 Check if the pRef is a local maximum from 4 pads (up/down/left/right).
 The checking is the same like the one done in the IPU
void setAlgorithm(Int_t a)
{ m_iAlgFlag = a; }
Int_t getAlgorithm(void)
{ return m_iAlgFlag; }
void setThreshold1(Int_t a)
{ m_iThr1 = a; }
Int_t getThreshold1(void)
{ return m_iThr1; }
void setThreshold2(Int_t a)
{ m_iThr2 = a; }
Int_t getThreshold2(void)
Float_t calculateVar(HLocation &fLoc, Int_t nRange, Float_t avg);
HShowerHitFinderIPU &operator=(HShowerHitFinderIPU &c);

HCategory* getCalCat(){return m_pCalCat;}
HCategory* getHitCat(){return m_pHitCat;}
HCategory* getPIDCat(){return m_pPIDCat;}
HParSet* getHitFPar(){return m_pHitFPar;}
HParSet* getGeometry(){return m_pGeometry;}

void setCalCat(HCategory* pCalCat){m_pCalCat = pCalCat;}
void setHitCat(HCategory* pHitCat){m_pHitCat = pHitCat;}
void setPIDCat(HCategory* pPIDCat){m_pPIDCat = pPIDCat;}
void setHitFPar(HParSet* pPar){m_pHitFPar= pPar;}
void setGeometry(HParSet* pGeometry){m_pGeometry= pGeometry;}
void setCriterium(HShowerCriterium* pCrit);

Bool_t IsSortFlagSet(){return m_bIsSort;}
Bool_t IsFillPID(){return m_bIsFillPID;}
void setSortFlag(Bool_t bSort = kTRUE){m_bIsSort = bSort;}
void setFillPID(Bool_t bIsFillPID = kTRUE){m_bIsFillPID = bIsFillPID;}

{ return m_iThr2; }

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

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.