#include "hmdcrichcorr.h" |
HMdcRichCorr
class description - source file - inheritance tree (.pdf)
private:
void calcAvMnSg()
void drawCut(TLine* ln, Float_t mean, Float_t sigma, Float_t nSig, Int_t color, Double_t y)
void fillListByMathURich()
void fillListByRichHit()
void findMdcClusters()
void makeHist()
Float_t meanDPh(Int_t s, Int_t m)
Float_t meanDTh(Int_t s, Int_t m)
TFile* openHistFile(const char* flag)
Bool_t reinitMdcFinder()
void setup()
Float_t sigmaDPh(Int_t s, Int_t m)
Float_t sigmaDTh(Int_t s, Int_t m)
public:
HMdcRichCorr()
HMdcRichCorr(Text_t* name, Text_t* title, Int_t nRCut = 1)
~HMdcRichCorr()
static TClass* Class()
virtual Int_t execute()
virtual Bool_t finalize()
virtual Bool_t init()
virtual TClass* IsA() const
void makeCalibrater1(Int_t vers = 1, Int_t cut = 1, Int_t domerge = 0)
void printStatus() const
virtual Bool_t reinit()
void setDPhiCuts(Float_t dPh1, Float_t dPh2, Float_t nSig = 3.)
void setDPhiCuts(const Float_t* dPh, Float_t nSig = 3.)
void setDPhiCuts(const Float_t* mDPh, const Float_t* sDPh, Float_t nSig = 3.)
void setDPhiCutsSig(Float_t mDPh, Float_t sDPh, Float_t nSig = 3.)
void setDThetaCuts(Float_t dTh1, Float_t dTh2, Float_t nSig = 3.)
void setDThetaCuts(const Float_t* dTh, Float_t nSig = 3.)
void setDThetaCuts(const Float_t* mDTh, const Float_t* sDTh, Float_t nSig = 3.)
void setDThetaCutsSig(Float_t mDTh, Float_t sDTh, Float_t nSig = 3.)
void setHistFile(char* dir, char* suf, char* option = "NEW")
void setLevel(Int_t l4s1, Int_t l5s1)
void setNLayers(const Int_t* lst)
void setSaveFlags(Bool_t hist, Bool_t canv, Bool_t psfile)
void setTestCond(Float_t cM, Float_t cS1, Float_t cS2)
void setTypeClFinder(Int_t type)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
TString fileName input file name with extension
TString flNmWoExt input file name without extension
TString runId
TString eventDate
TString eventTime
HMdcCalibrater1* fCalib1 pointer to mdc calibrater1
HCategory* fCal1Cat pointer to CAL1 data category
HIterator* iterCal1 iterator for fCal1Cat
HCategory* fClusCat pointer to HMdcClus data category
HIterator* iterMdcClus iterator
Int_t nMdcHits[6] num. of mdc hits in [sector]
HCategory* fRichHitCat pointer to HMatchURich or HRichHit data cat.
HIterator* iterRichHit
Int_t richFlag =0 - HMatchURich; =1 - HRichHit
Int_t nRichHits[6] num. of rich hits in [sector]
Float_t richTheta[6][400] rings param.
Float_t richPhi[6][400]
Int_t nMdcHitRing[6][400] kTRUE - ring
Float_t radToDeg
HMdcLookUpTb* fLookUpTb clus. finder for MDC1&2 (and 3&4 for type=1)
Int_t level4 Level[seg] of 4-layers finding (<= level4 Mdc hits)
Int_t level5 Level[seg] of 5-layers finding
Int_t nLayers[6][4] Number of layers in modules [sec][mod]
Int_t clFinderType Cluster finder type
HMdcTimeCut* fcut Times cut
Int_t nRingsCut Cut for number of matched rings
Float_t dThCuts[6][2][2] [sec][mod][] dTheta bounds (rich-mdc)
Float_t dPhCuts[6][2][2] [sec][mod][] dPhi bounds (rich-mdc)
Float_t numSigTh +/-sig. cut for dTheta
Float_t numSigPh +/-sig. cut for dPhi
Float_t planeMeanDTh[2]
Float_t planeSigmaDTh[2]
Float_t planeMeanDPh[2]
Float_t planeSigmaDPh[2]
Int_t nEvents Total number of events.
Int_t nRingEvents Number of events with rings
Int_t nMatchedEvents Number of matched events
Int_t nMatchedEvents1R Number of events with 1 matched rings
TString histFileDir
TString histFileSuffix
TString histFileOption
TString histFile
TString psFile
TH1F* hDThAll[2]
TH1F* hDPhAll[2]
TH1F* hDTh[6][2]
TH1F* hDPh[6][2]
TH1F* hNRings
TH1F* hNMRings
TH1F* hNEvents
Bool_t saveHist
Bool_t saveCanv
Bool_t savePSFile
HMdcDGaus funDGaus fit function
Int_t fitStatDTh[6][2] 0-ok.!, 1-mean and/or sigma shifted,
Int_t fitStatDPh[6][2] 2-fit corrupted
HMdcRichCorr(void) : HReconstructor()
HMdcRichCorr(Text_t *name, Text_t *title, Int_t nRCut) :
HReconstructor(name,title)
void setup(void)
~HMdcRichCorr()
void makeCalibrater1(Int_t vers,Int_t cut,Int_t domerge)
Bool_t init(void)
Bool_t reinit(void)
Bool_t reinitMdcFinder(void)
void makeHist(void)
void setNLayers(const Int_t *lst)
void setDThetaCuts(Float_t dTh1, Float_t dTh2, Float_t nSig)
Set the same cuts for all mdc modules, (dTh1<dTh2 !)
void setDPhiCuts(Float_t dPh1, Float_t dPh2, Float_t nSig)
set the same cuts for all mdc modules, (dPh1<dPh2 !)
void setDThetaCuts(const Float_t* dTh, Float_t nSig)
dTheta cuts seting
void setDPhiCuts(const Float_t* dPh, Float_t nSig)
dPhi cuts seting
void setDThetaCutsSig(Float_t mDTh,Float_t sDTh,Float_t nSig)
Set the same cuts for all mdc modules.
Cut: mDTh-nSig*sDTh < dTheta < mDTh+nSig*sDTh
void setDPhiCutsSig(Float_t mDPh,Float_t sDPh,Float_t nSig)
set the same cuts for all mdc modules, (dPh1<dPh2 !)
Cut: mDPh-nSig*sDPh < dPhi < mDPh+nSig*sDPh
void setDThetaCuts(const Float_t* mDTh, const Float_t* sDTh,
Float_t nSig)
dTheta cuts seting
void setDPhiCuts(const Float_t* mDPh, const Float_t* sDPh,
Float_t nSig)
dPheta cuts seting
Int_t execute(void)
void fillListByRichHit(void)
void fillListByMathURich(void)
void findMdcClusters(void)
Bool_t finalize(void)
void calcAvMnSg(void)
TFile* openHistFile(const char* flag)
void setHistFile(char* dir,char* suf,char* option)
void printStatus(void) const
prints the parameters to the screen
void drawCut(TLine* ln,Float_t mean,Float_t sigma,Float_t nSig,
Int_t color, Double_t y)
Inline Functions
void setTypeClFinder(Int_t type)
void setLevel(Int_t l4s1, Int_t l5s1)
void setTestCond(Float_t cM, Float_t cS1, Float_t cS2)
void setSaveFlags(Bool_t hist, Bool_t canv, Bool_t psfile)
Float_t meanDTh(Int_t s, Int_t m)
Float_t meanDPh(Int_t s, Int_t m)
Float_t sigmaDTh(Int_t s, Int_t m)
Float_t sigmaDPh(Int_t s, Int_t m)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Last update: 25/03/2003 by V. Pechenov
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.