#include "hshowercheckIPU.h"

HShowerCheckIPU


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

class HShowerCheckIPU : public HReconstructor

Inheritance Chart:
TObject
<-
TNamed
<-
HTask
<-
HReconstructor
<-
HShowerCheckIPU

    protected:
void checkDoubles() Int_t checkDoubles(HShowerHitIPUAddres* pArr, Int_t iMax, Int_t iType) void matchHits() void setDefault(Int_t iRatio, const char* pOut) public:
HShowerCheckIPU(Int_t iRatio = 100, const char* pOut) HShowerCheckIPU(Text_t* name, Text_t* title, Int_t iRatio = 100, const char* pOut) ~HShowerCheckIPU() static TClass* Class() void dumpEvent() const virtual Int_t execute() virtual Bool_t finalize() Int_t getErrors() const Int_t getEvents() const const TH1* getHist(UInt_t i) const const TH1* getHistCorrX() const const TH1* getHistCorrY() const const TH1* getHistDoubleAna() const const TH1* getHistDoubleIPU() const Int_t getHistEvents() const const TH1* getHistNoCorrAna() const const TH1* getHistNoCorrIPU() const Int_t getInfoRate() const const char* getOutputFile() const HQAMaker* getQA() const Int_t getVerbose() const virtual Bool_t init() virtual TClass* IsA() const Bool_t putHistograms(TList* pList) void setHistEvents(Int_t i) void setInfoRate(Int_t iRate) void setOutputFile(const Char_t* pName) void setQA(HQAMaker* p) void setVerbose(Int_t i) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) Bool_t writeHistograms() void writeInfo() const

Data Members


    protected:
HIterator* pitAna HIterator* pitIPU HShowerHitIPUAddres asAna[6000] HShowerHitIPUAddres asIPU[6000] Int_t iAnaNum Int_t iIPUNum TH1* ahOut[11] TString sOutputFile Int_t iInfoRatio Int_t iVerbose Int_t iEvents Int_t iErrors Bool_t bInitOk Int_t iHistEvents HQAMaker* pQA public:
static const enum HShowerCheckIPU:: kHistCorrX static const enum HShowerCheckIPU:: kHistCorrY static const enum HShowerCheckIPU:: kHistCorr static const enum HShowerCheckIPU:: kHistNoCorrAna static const enum HShowerCheckIPU:: kHistNoCorrIPU static const enum HShowerCheckIPU:: kHistNoCorrXY static const enum HShowerCheckIPU:: kHistDoubleAna static const enum HShowerCheckIPU:: kHistDoubleIPU static const enum HShowerCheckIPU:: kHistIPUInEvent static const enum HShowerCheckIPU:: kHistAnaInEvent static const enum HShowerCheckIPU:: kHistErrorInEvent static const enum HShowerCheckIPU:: kHistMax static const enum HShowerCheckIPU:: kMaxAna static const enum HShowerCheckIPU:: kMaxIPU

Class Description

                                                                            
 HShowerCheckIPU                                                            
                                                                            
 Compare the results of the software IPU emulation with the data from MU    
 The class makes some debug histograms and save them in finalize() method.  
 The location of the output is set cY setOutputFile() method.               
 If pName is empty then the histograms are written to gFile                 
 If it is `!' then the histograms are not written anywhere                  
 otherwise there are stored with the RECREATED file named pName             
                                                                            


HShowerCheckIPU(Int_t iRatio, const char *pOut) : HReconstructor("ShowerCheckIPU", "Check shower IPU with the software data")
 Default constructor.

HShowerCheckIPU(Text_t name[], Text_t title[], Int_t iRatio, const char *pOut) : HReconstructor(name, title)
 Constructor with names

~HShowerCheckIPU(void)
 Delete all alocated objects

void setDefault(Int_t iRatio, const char *pOut)
 Called in constructors to set default valuest to the members

Bool_t init(void)
 Get the iterators and create the histogrmas

Bool_t finalize(void)
 Writes the output

Int_t execute(void)
 Make the loop over all entries and check the matching

void checkDoubles(void)
 Check any doubles in the hits

Int_t checkDoubles(HShowerHitIPUAddres *pArr, Int_t iMax, Int_t iType)
 Check an array of HShowerHitIPUAddres for doubles

void matchHits(void)
 Check matches

Bool_t putHistograms(TList *pList)

Bool_t writeHistograms(void)
 Writes histogram to the gFile

void dumpEvent(void) const
 Dump all hits to the stdout

void writeInfo(void) const
 Write info about the status



Inline Functions


               void setInfoRate(Int_t iRate)
              Int_t getInfoRate() const
               void setVerbose(Int_t i)
              Int_t getVerbose() const
               void setOutputFile(const Char_t* pName)
        const char* getOutputFile() const
               void setHistEvents(Int_t i)
              Int_t getHistEvents() const
              Int_t getEvents() const
              Int_t getErrors() const
         const TH1* getHist(UInt_t i) const
         const TH1* getHistCorrX() const
         const TH1* getHistCorrY() const
         const TH1* getHistNoCorrAna() const
         const TH1* getHistNoCorrIPU() const
         const TH1* getHistDoubleAna() const
         const TH1* getHistDoubleIPU() const
               void setQA(HQAMaker* p)
          HQAMaker* getQA() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: Jerzy Pietraszko & Marcin Jaskula 02/11/2002
Last update: Fri Jan 26 12:32:40 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.