#include "hrichlocalmaxcal.h"

HRichLocalMaxCal


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

class HRichLocalMaxCal : public HReconstructor

Inheritance Chart:
TObject
<-
TNamed
<-
HTask
<-
HReconstructor
<-
HRichLocalMaxCal
<-
HRichLocalMaxSim

    public:
HRichLocalMaxCal(Text_t* name, Text_t* title, Int_t pads, Int_t hitMin, Int_t sector, Float_t minTheta1, Float_t maxTheta1, Float_t minTheta2, Float_t maxTheta2, Char_t* energyFileName, Int_t secEdge1, Int_t secEdge2, Int_t minHitsecEdge1, Int_t minHitsecEdge2) HRichLocalMaxCal() ~HRichLocalMaxCal() Bool_t checkIsolation(Int_t nRow, Int_t nCol, Int_t nSector, Int_t padNum) Int_t checkLocalMax(Int_t sec, Int_t i, Int_t j, Int_t a) static TClass* Class() virtual Bool_t energyfile() virtual Bool_t energyout() virtual Float_t energyset(Int_t nRow, Int_t nCol, Int_t nSector) virtual Int_t execute() Bool_t fillmatrix(HLocation& fLoc) virtual Bool_t finalize() HCategory* getCalCat() HParSet* getGeometryPar() HCategory* getLocalCat() Bool_t hitcontrol() virtual Bool_t init() virtual TClass* IsA() const Bool_t localanglecut(HLocation& fLoc) Bool_t localmaxcal(HLocation& fLoc) virtual Bool_t multihit(Int_t nRow, Int_t nCol, Int_t nSector, HLocation& fLoc) HRichLocalMaxCal& operator=(HRichLocalMaxCal& c) Bool_t resetmatrix() void setCalCat(HCategory* pCalCat) void setGeometryPar(HParSet* pPar) void setLocalCat(HCategory* pLocalCat) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) Float_t sumcharge(Int_t nRow, Int_t nCol, Int_t nSector) void updateHeaders(Float_t t1, Float_t t2, Int_t i, Float_t* secM, Float_t* meanCS, Int_t evtNum)

Data Members


    protected:
Int_t shadowSector Int_t edgesector1 Int_t edgesector2 Int_t minHitedgesector1 Int_t minHitedgesector2 Int_t padNumber Int_t minHit Int_t localEventNr Int_t eventNr Int_t i Int_t j Int_t n Bool_t hitControl Float_t sumHit[6] Float_t meanCharge[6] Int_t doubleHit[6] Int_t jCol Int_t jRow Int_t iSector Int_t iCol Int_t iRow Float_t thetaMin1 MgF2 Float_t thetaMax1 MgF2 Float_t thetaMin2 SiO2 Float_t thetaMax2 SiO2 Float_t minCharge Float_t maxCharge Float_t sumCharge Float_t sumTheta Float_t sumPhi Int_t nPad Int_t mHit2[6][90][92] Int_t mHit[6][90][92] Float_t mCharge[6][90][92] Float_t mTheta[6][90][92] Float_t mPhi[6][90][92] Float_t energy Float_t fCharge[9] Char_t energyName[16] Char_t filename[128] Int_t count1 Int_t count2 Float_t fTheta1 Float_t fTheta2 TFile* pEnergyLockup TH2F* pEnergySim[6] TNtuple* tCharge ! HParSet* fGeometryPar ! Pointer to geometry parameters HCategory* fCalCat ! Pointer to the cal data category HCategory* fLocalCat ! HCategory* fLocalCatHr ! HIterator* fIter ! HIterator* fIter1 !

Class Description


HRichLocalMaxCal(Text_t *name, Text_t *title, Int_t pads, Int_t hitMin, Int_t sector, Float_t minTheta1, Float_t maxTheta1, Float_t minTheta2, Float_t maxTheta2, Char_t energyFileName[128],Int_t secEdge1, Int_t secEdge2,Int_t minHitsecEdge1, Int_t minHitsecEdge2) : HReconstructor(name,title)

~HRichLocalMaxCal(void)

Bool_t init()

Bool_t finalize()

Int_t execute()
 cout<<" executing hrichlocalmaxcal  "<<endl;
resets the matrixes

Bool_t fillmatrix(HLocation& fLoc)
writes hit and charge from cal container for active pads into matrix
writes theta and phi from pad container for active pads into matrix

Int_t checkLocalMax(Int_t sec,Int_t i,Int_t j,Int_t a)

Float_t sumcharge(Int_t nRow, Int_t nCol, Int_t nSector)
this method calculates the sum of the charge of all the pads that sorround the central pad between a within of 3 pads.

Bool_t checkIsolation(Int_t nRow, Int_t nCol, Int_t nSector,Int_t padNum)
 this method checks that the photon hit candidate is isolated from other hits.

Bool_t localmaxcal(HLocation& fLoc)

Bool_t localanglecut(HLocation& fLoc)

Bool_t resetmatrix()

Bool_t hitcontrol()

void updateHeaders(Float_t t1, Float_t t2,Int_t i,Float_t *secM,Float_t *meanCS,Int_t evtNum)

Bool_t energyfile()

Bool_t multihit(Int_t nRow, Int_t nCol, Int_t nSector, HLocation& fLoc)
this memberfunction is required for hrichlocalmaxsim class

Bool_t energyout()
this memberfunction is required for hrichlocalmaxsim class

Float_t energyset(Int_t nRow, Int_t nCol, Int_t nSector)



Inline Functions


         HRichLocalMaxCal HRichLocalMaxCal()
        HRichLocalMaxCal& operator=(HRichLocalMaxCal& c)
               HCategory* getLocalCat()
               HCategory* getCalCat()
                 HParSet* getGeometryPar()
                     void setLocalCat(HCategory* pLocalCat)
                     void setCalCat(HCategory* pCalCat)
                     void setGeometryPar(HParSet* pPar)
                  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:28:07 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.