#include "hshowerhitfinder.h" |
HShowerHitFinder
class description - source file - inheritance tree (.pdf)
private:
virtual void calcCoord(HShowerHit* hit, HLocation& fLoc)
virtual void calcCoordWithSigma(HShowerHit* hit, HLocation& fLoc, int nRange)
void fillPID(HShowerHit* hit, HShowerPID* pid)
void fillSums(HShowerHit* hit, HLocation& fLoc)
HShowerHitHeader* getHitHeader(HLocation& fLoc)
void updateClusters(HLocation& fLoc)
void updateFiredCells(HLocation& fLoc)
void updateLocalMax(HLocation& fLoc)
public:
HShowerHitFinder()
HShowerHitFinder(Text_t* name, Text_t* title)
~HShowerHitFinder()
Float_t calculateSum(HLocation& fLoc, int nRange, int* pncs = 0)
Float_t calculateVar(HLocation& fLoc, int nRange, float avg)
static TClass* Class()
virtual Int_t execute()
virtual Bool_t finalize()
HCategory* getCalCat()
HParSet* getGeometry()
HCategory* getHitCat()
HParSet* getHitFPar()
HSpecGeomPar* getHSpecGeomPar()
HCategory* getPIDCat()
virtual Bool_t init()
Bool_t initParameters()
virtual TClass* IsA() const
Bool_t IsFillPID()
Bool_t isLocalMax(HLocation& fLoc)
Bool_t IsSortFlagSet()
Bool_t lookForHit(HShowerCal* cal, HLocation& fLoc)
HShowerHitFinder& operator=(HShowerHitFinder& c)
void setCalCat(HCategory* pCalCat)
void setCriterium(HShowerCriterium* pCrit)
void setFillPID(Bool_t bIsFillPID = kTRUE)
void setGeometry(HParSet* pGeometry)
void setHitCat(HCategory* pHitCat)
void setHitFPar(HParSet* pPar)
void setHSpecGeomPar(HSpecGeomPar* pSpecGeometry)
void setPIDCat(HCategory* pPIDCat)
void setSortFlag(Bool_t bSort = kTRUE)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
HLocation m_Loc
HRaTree* m_pCellArr random access table for searching local maxima
HCategory* m_pCalCat !Pointer to the cal data category
HCategory* m_pHitCat !Pointer to the hit data category
HCategory* m_pPIDCat !Pointer to the hit data category
HCategory* m_pHitHdrCat !Pointer to the hit header data category
HParSet* m_pHitFPar Pointer to the analysis parameters container
HParSet* m_pGeometry !Pointer to geometry parameters container
HSpecGeomPar* m_pHSpecGeomPar
HIterator* fIter !Iterator for calibrated fired pads
Bool_t m_bIsFillPID flag for filling PID level - default TRUE
Bool_t m_bIsSort flag for sorting data by m_nAddress - default FALSE
HShowerCriterium* m_pCriterium !definition of shower criterium
HShowerHitFinder
HShowerHitFinder reconstructor searches local maxima in CAL level
The Shower task is split into several tasks as shown
in the flow diagram below.
----------------------
| HShowerUnpacker |
| (embedding mode) |
| | ------------------
---------------------- | | HGeantShower |
| ------------------
|
| ------------------ -------------> ----------------------
| | HGeantWire | <------------ | HShowerHitDigitizer |
| ------------------ ----------------------
|
------------- ------------------ -------------> -----------------------
-- | HShowerRaw | | HShowerRawMatr | <------------ | HShowerPadDigitizer |
| ------------- ------------------ |( creates track objects|
| | for real tracks in |
---------------------- ------------------ | embedding mode too) |
| HShowerCalibrater | | HShowerTrack | <------------ -----------------------
| (embedding mode) | ------------------
---------------------- -----------------------
| ------------------ ----------> | HShowerCopy |
-------------------> | HShowerCal | <------------ |(add charge of real hit|
------------------ | in embedding too ) |
-----------------------
------------------ -------------> -----------------------
| HShowerHitHdr | <----------- | HShowerHitFinder |
------------------ -----------------------
------------------ |
| HShowerPID | <------------|
------------------ |
------------------ |
| HShowerHit | <------------|
------------------
------------------ -------------> ------------------------
| HShowerHitTrack | <------------ | HShowerHitTrackMatcher |
------------------ ------------------------
In the case of TRACK EMBEDDING of simulated tracks into
experimental data the real data are written by the HShowerUnpacker into
HShowerRaw category. The real hits are taken into
account by the digitizer (adding of charges). The embedding mode is recognized
automatically by analyzing the
gHades->getEmbeddingMode() flag.
Mode ==0 means no embedding
==1 realistic embedding (first real or sim hit makes the game)
==2 keep GEANT tracks (as 1, but GEANT track numbers will always
win against real data. besides the tracknumber the output will
be the same as in 1)
HShowerHitFinder(Text_t *name,Text_t *title) :
HReconstructor(name,title)
HShowerHitFinder()
~HShowerHitFinder(void)
Bool_t init()
Bool_t initParameters()
void setCriterium(HShowerCriterium* pCrit)
Bool_t finalize()
Int_t execute()
Bool_t lookForHit(HShowerCal* cal, HLocation& fLoc)
void fillPID(HShowerHit* hit, HShowerPID* pid)
void fillSums(HShowerHit* hit, HLocation &fLoc)
void calcCoord(HShowerHit* hit, HLocation &fLoc)
void calcCoordWithSigma(HShowerHit* hit, HLocation &fLoc, int nRange)
Bool_t isLocalMax(HLocation &fLoc)
Float_t calculateVar(HLocation &fLoc, int nRange, float avg)
Float_t calculateSum(HLocation &fLoc, int nRange, int* pncs)
HShowerHitHeader* getHitHeader(HLocation &fLoc)
void updateClusters(HLocation &fLoc)
void updateLocalMax(HLocation &fLoc)
void updateFiredCells(HLocation &fLoc)
Inline Functions
HShowerHitFinder& operator=(HShowerHitFinder& c)
HCategory* getCalCat()
HCategory* getHitCat()
HCategory* getPIDCat()
HParSet* getHitFPar()
HParSet* getGeometry()
HSpecGeomPar* getHSpecGeomPar()
void setCalCat(HCategory* pCalCat)
void setHitCat(HCategory* pHitCat)
void setPIDCat(HCategory* pPIDCat)
void setHitFPar(HParSet* pPar)
void setGeometry(HParSet* pGeometry)
void setHSpecGeomPar(HSpecGeomPar* pSpecGeometry)
Bool_t IsSortFlagSet()
Bool_t IsFillPID()
void setSortFlag(Bool_t bSort = kTRUE)
void setFillPID(Bool_t bIsFillPID = kTRUE)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Last update: Fri Jan 26 12:33:23 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.