#include "hrichanalysissim.h" |
HRichAnalysisSim
class description - source file - inheritance tree (.pdf)
public:
HRichAnalysisSim()
HRichAnalysisSim(Text_t* name, Text_t* title, Bool_t kSkip = kFALSE)
~HRichAnalysisSim()
static TClass* Class()
virtual Int_t execute()
Int_t getFlag(Int_t index)
Int_t getPadsNTrack1(Int_t padx, Int_t pady, Int_t sec)
Int_t getPadsNTrack2()
Int_t getTrack(Int_t index)
virtual Bool_t init()
Bool_t initParameters()
virtual TClass* IsA() const
virtual Bool_t reinit()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void updateHits(Int_t nSec)
private:
Bool_t kSkipEvtIfNoRing
HRichRingFindSim* pRingFindSim
HCategory* m_pTrackCat Pointer to the track container
HRichCalSim* pRichCalSim
public:
HRichHitSim* pRings
Int_t cont
Int_t secCount
______________________________________________________
HRichAnalysisSim
This class besides the Rich Analysis contains
the necessary functions to retrieve the parent track
number corresponding to each pad that belongs to
a Ring structure.
The Ring Finding algorithm is executed by the class
HRichRingFindSim. This class contains 2 different
algorithms to find a ring, once a ring is found
the track numbers of the particles that have hit
the pads belonging to the ring structure are memorized
in an array. (Int_t *iRingTrack).
Once all track numbers are collected,
3 tracks number are saved ( HRichHitSim:track1....)
for each Hit with the corresponding weights (cfr. updateHits).
(The weight
is the number of pads a photon or a Ip has fired.)
A flag for each of the three track numbers is saved too,
to be able to distinguish between a Chrenkov photon
and a direct hit.
use kSkip in the constructor to skip writing of
event if no ring was found
HRichAnalysisSim(void)
HRichAnalysisSim(Text_t *name,Text_t *title, Bool_t kSkip)
: HRichAnalysis(name, title, kSkip)
~HRichAnalysisSim(void)
Bool_t init()
Bool_t initParameters()
Bool_t reinit()
Int_t getPadsNTrack1(Int_t padx, Int_t pady,Int_t sec)
This function returns for each pad the corresponding
NTrack1 value (cfr. HRichCalSim, HRichDigitizer::execute).
All track numbers are stored during digitization in the
catRichTrack Linear Category.
NTrack1 is the index in the Track array corresponding to the
first track for each pad.
Int_t getPadsNTrack2()
Int_t getFlag(Int_t index)
it is called from HRichRingFindSim::LookForTrack().
This function returns the flag contained in the
catRichTrack container at the position index.
This flag is 0 for Chrenkov photons and 1 for IP.
Int_t getTrack(Int_t index)
This function returns the track number contained in the
catRichTrack container at the position index.
Int_t execute()
void updateHits(Int_t nSec)
Each Hit is stored, in addition to real data for simulated one
the tracks number corresponding to each ring are stored too.
Maximal 3 tracks are stored for each ring.
Inline Functions
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Author: Laura Fabbietti
Last update: 08/05/2000 L.Fabbietti
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.