#include "hrichcleaner.h" |
HRichCleaner
class description - source file - inheritance tree (.pdf)
private:
void DeletePulse(Int_t border, Int_t col, Int_t row)
public:
HRichCleaner()
HRichCleaner(Text_t* name, Text_t* title)
HRichCleaner(const HRichCleaner& source)
virtual ~HRichCleaner()
static TClass* Class()
Int_t CleanAlonePad(Int_t border = 3, Int_t lowerThr = 1)
Int_t CleanHighPulse(Int_t border = 2, Int_t upperThr = 200)
virtual Int_t execute()
virtual Bool_t finalize()
Int_t GetActiveSector()
HParSet* getAnalysisPar()
HCategory* getCalCat()
HRichGeometryPar* getGeometryPar()
HParSet* getGeomPar()
HRichAnalysisPar* getParams()
virtual Bool_t init()
Bool_t initParameters()
virtual TClass* IsA() const
Int_t IsOut(Int_t x, Int_t y, Int_t dx, Int_t dy)
Int_t IsOut(Int_t nowPad, Int_t dx, Int_t dy)
Int_t IsOut(Int_t x, Int_t y)
HRichCleaner& operator=(const HRichCleaner& source)
virtual Bool_t reinit()
void SetActiveSector(Int_t sectornr)
void setAnalysisPar(HParSet* pPar)
void setGeomPar(HParSet* pPar)
Int_t SetNextSector()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
Int_t iCount
protected:
HCategory* m_pCalCat Pointer to the cal data category
HIterator* fIter !
HParSet* fpAnalysisPar
HParSet* fpGeomPar
short* pLeftBorder ! left border of active pad area
short* pRightBorder ! dito right side (largest active col in row)
HRichPadSignal** pPads !
HRichPadSignal* pSectorPads points to pads of active sector
TArrayI iPadActive
Int_t maxCols
Int_t maxRows
Int_t maxPads
Int_t maxFiredSectorPads
Int_t maxFiredTotalPads
Int_t isDirectHit
Int_t fPadFired[6]
Int_t iActiveSector
HRichCleaner
This class cleans pad plane and full cal container
with the cleaned up pad plane.
***************************************************************************
HRichCleaner(Text_t *name,Text_t *title)
: HReconstructor(name, title)
~HRichCleaner()
============================================================================
HRichCleaner(const HRichCleaner& source)
Bool_t init()
Bool_t reinit()
Bool_t initParameters()
void SetActiveSector(Int_t sectornr)
Int_t SetNextSector()
Int_t CleanAlonePad( Int_t border, Int_t lowerThr)
this method deletes all single pad under threshold (lowerThr).
A single pad is defined as pad whose first fired neighbour
has at least a distance of "border" from the pad (4 pads at the moment).
Int_t IsOut(Int_t x, Int_t y, Int_t dx, Int_t dy)
Int_t IsOut(Int_t nowPad, Int_t dx, Int_t dy)
void DeletePulse(Int_t border, Int_t col, Int_t row)
this method deletes a given pad and all the neighbours within
a distance of "border"( 4 pads).
Int_t maxCols = showYou->GetPadsXNr();
cout<< " deleting at col "<<col<< " row " <<row<<" poor ampitude "<<((HRichPadSignal*)(&pSectorPads[col+maxCols*row]))->getAmplitude()<<endl;
Int_t CleanHighPulse( Int_t border, Int_t upperThr)
this method deletes all the pads above upper threshold (upperThr)
and the cluster connected to each pad.
Int_t execute()
Inline Functions
HRichCleaner HRichCleaner(const HRichCleaner& source)
HRichCleaner& operator=(const HRichCleaner& source)
Bool_t finalize()
Int_t IsOut(Int_t x, Int_t y)
HCategory* getCalCat()
HRichAnalysisPar* getParams()
HRichGeometryPar* getGeometryPar()
HParSet* getAnalysisPar()
HParSet* getGeomPar()
void setAnalysisPar(HParSet* pPar)
void setGeomPar(HParSet* pPar)
Int_t GetActiveSector()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Author: Witold Przygoda (przygoda@psja1.if.uj.edu.pl)
Last update: 1999/12/04 by Witold Przygoda (przygoda@psja1.if.uj.edu.pl)
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.