#include "hrichanalysisIPUSim.h"

HRichAnalysisIPUSim


class description - source file - inheritance tree (.pdf)

class HRichAnalysisIPUSim : public HRichAnalysisIPU

Inheritance Chart:
TObject
<-
TNamed
<-
HTask
<-
HReconstructor
<-
HRichAnalysisIPU
<-
HRichAnalysisIPUSim

    public:
HRichAnalysisIPUSim() HRichAnalysisIPUSim(Text_t* name, Text_t* title) ~HRichAnalysisIPUSim() static TClass* Class() virtual Int_t execute() virtual Bool_t finalize() Int_t getFlag(Int_t index) Int_t getPadsNTrack1(Int_t padx, Int_t pady, Int_t sec) Int_t getPadsNTrack2() TObjArray* getRings() Int_t getTrack(Int_t index) virtual Bool_t init() virtual TClass* IsA() const void setRings(TObjArray* ring) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void updateHits(Int_t nSec)

Data Members

    private:
HRichRingFindIPUSim* pHardRingFindSim ! HCategory* m_pTrackCat ! Pointer to the track container HRichCalSim* pRichCalSim !

Class Description


HRichAnalysisIPUSim() : HRichAnalysisIPU()
 Default constructor

 Input parameters:
   none

 Output parameters:
   none

 Return code:
   none

HRichAnalysisIPUSim(Text_t *name,Text_t *title) :HRichAnalysisIPU(name, title)
 Default constructor

 Input parameters:
   Text_t *name
     Name of the object
   Text_t *title
     Title /desciption of the object

 Output parameters:
   none

 Return code:
   none

~HRichAnalysisIPUSim(void)
 Destructor

 Input parameters:
   none

 Output parameters:
   none

 Return code:
   none

Bool_t init(void)
 Initialization function.
   Checks for needed categories and parameter containers.

 Input parameters:
   none

 Output parameters:
   none

 Return code:
   none

Bool_t finalize(void)
 Finalize the job of the task

 Input parameters:
   none

 Output parameters:
   none

 Return code:
   Returns allways kTRUE.

Int_t execute(void)
 Execute the job of the task

 Input parameters:
   none

 Output parameters:
   none

 Return code:
   Returns allways kTRUE;

void updateHits(Int_t nSec)
 Store acquired information in output category.

 Input parameters:
   Int_t nSec
     Number of sector for which to write output.

 Output parameters:
   none

 Return code:
   none

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.
 This function is called from HRichRingFindIPUSim::LookForTrack

 Input parameters:
   Int_t padx
     x coordinate of pad
   Int_t pady
     y coordinate of pad
   Int_t sec
     sector number [0..5]

 Output parameters:
   none

 Return code:
   Index in the track array of HRichCalSim coresponding to the first track for the pad.

Int_t getPadsNTrack2(void)
 This functions returns NTrack2, which is the index in
 the Track Array corresponding to the last track for each pad.
 Pad must be identified by calling getPadsNTrack1(...) first.

 Input parametrs:
   none

 Output parameters:
   none

 Return code:
   Index in the track array of HRichCalSim coresponding to the last track for the pad.

Int_t getFlag(Int_t index)
 This function returns the flag contained in the
 catRichTrack container at the position index.
 This flag is 0 for Cherenkov photons and 1 for IP.
 It is called from HRichRingFindIPUSim::LookForTrack().

 Input parametrs:
   Int_t index
     Index in the HRichTrach category.

 Output parameters:
   none

 Return code:
   Flag from HRichTrack, 0 for Cherencov photons, 1 for IP.
   -1 if no entry for the index exists.

Int_t getTrack(Int_t index)
 This function returns the track number contained in the
 catRichTrack container at the position index.

 Input parameters:
   Int_t index
     Index into HRichTrack category

 Output parameters:
   none

 Return code:
   Track number of the track at position index



Inline Functions


         TObjArray* getRings()
               void setRings(TObjArray* ring)
            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:24:52 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.