#include "hshowerhittrackmatcher.h" |
HShowerHitTrackMatcher
class description - source file - inheritance tree (.pdf)
public:
HShowerHitTrackMatcher()
HShowerHitTrackMatcher(Text_t* name, Text_t* title)
~HShowerHitTrackMatcher()
void addHitTrack(HShowerHit* pHit, HShowerTrack* pTrack)
static TClass* Class()
virtual Int_t execute()
virtual Bool_t finalize()
HCategory* getHitCat()
HCategory* getHitTrack()
HCategory* getTrackCat()
virtual Bool_t init()
virtual TClass* IsA() const
void setHitCat(HCategory* pHitCat)
void setHitTrack(HCategory* pHitTrackCat)
void setTrackCat(HCategory* pTrackCat)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
HLocation m_zeroLoc
HCategory* m_pTrackCat !Pointer to the track data category
HCategory* m_pHitCat !Pointer to the hit data category
HCategory* m_pHitTrackCat !Pointer to the hittrack data category
HIterator* fHitIter !Iterator for local maxima
HIterator* fTrackIter !Iterator for tracks
HShowerHitTrackMatcher
HShowerHitTrackMatcher reconstructor searches
data describing the same pad in HShowerHit and HShowerTrack categories
and join its to one object.
Results are stored in HShowerHitTrack category
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)
HShowerHitTrackMatcher(Text_t *name,Text_t *title) :
HReconstructor(name,title)
HShowerHitTrackMatcher()
~HShowerHitTrackMatcher(void)
Bool_t init()
creates the ShowerHit, ShowerTrack and ShowerHitTrack categories
and adds them to the current event
creates an iterator which loops over all local maxima
and an iterator which loops over all track number information
Bool_t finalize(void)
void addHitTrack(HShowerHit* pHit,
HShowerTrack* pTrack)
create one object, which contains data
from HShowerHit and HShowerTrack objects
Int_t execute()
searching all pairs in HShowerHit and HShowerTrack, which
have the same address
Because HShowerHit and HShowerTrack are sorted by m_nAddress
reading data in tables is done once!
Inline Functions
HCategory* getTrackCat()
HCategory* getHitCat()
HCategory* getHitTrack()
void setTrackCat(HCategory* pTrackCat)
void setHitCat(HCategory* pHitCat)
void setHitTrack(HCategory* pHitTrackCat)
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:32 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.