HYDRA_development_version
|
#include <hmdcrichcorr.h>
Public Member Functions | |
HMdcRichCorr (void) | |
HMdcRichCorr (const Text_t *name, const Text_t *title, Int_t nRCut=1) | |
~HMdcRichCorr (void) | |
Bool_t | init (void) |
Bool_t | reinit (void) |
Bool_t | finalize (void) |
Int_t | execute (void) |
void | printStatus (void) const |
void | makeCalibrater1 (Int_t vers=1, Int_t cut=1, Int_t domerge=0) |
void | setNLayers (const Int_t *lst) |
void | setTypeClFinder (Int_t type) |
void | setLevel (Int_t l4s1, Int_t l5s1) |
void | setDThetaCuts (Float_t dTh1, Float_t dTh2, Float_t nSig=3.) |
void | setDPhiCuts (Float_t dPh1, Float_t dPh2, Float_t nSig=3.) |
void | setDThetaCuts (const Float_t *dTh, Float_t nSig=3.) |
void | setDPhiCuts (const Float_t *dPh, Float_t nSig=3.) |
void | setDThetaCutsSig (Float_t mDTh, Float_t sDTh, Float_t nSig=3.) |
void | setDPhiCutsSig (Float_t mDPh, Float_t sDPh, Float_t nSig=3.) |
void | setDThetaCuts (const Float_t *mDTh, const Float_t *sDTh, Float_t nSig=3.) |
void | setDPhiCuts (const Float_t *mDPh, const Float_t *sDPh, Float_t nSig=3.) |
void | setHistFile (const Char_t *dir, const Char_t *suf, const Char_t *option="NEW") |
void | setTestCond (Float_t cM, Float_t cS1, Float_t cS2) |
void | setSaveFlags (Bool_t hist, Bool_t canv, Bool_t psfile) |
![]() | |
HReconstructor (void) | |
~HReconstructor (void) | |
HReconstructor (const Text_t *name, const Text_t *title) | |
HTask * | next (Int_t &errCode) |
HTask * | getTask (const Char_t *name) |
Bool_t | connectTask (HTask *task, Int_t n=0) |
TObjArray | getTable () |
void | getConnections () |
HTask * | getComposite () |
void | setActive (Bool_t state) |
Bool_t | IsFolder (void) const |
void | Browse (TBrowser *b) |
void | isTimed (Bool_t flag=kTRUE) |
void | resetTimer (void) |
void | printTimer (void) |
![]() | |
HTask (void) | |
HTask (const Text_t name[], const Text_t title[]) | |
virtual | ~HTask (void) |
virtual HTask * | getOwner () |
virtual void | setOwner (HTask *atask) |
virtual Bool_t | setConnections () |
void | setManual () |
Private Member Functions | |
void | setup (void) |
void | fillListByRichHit (void) |
Bool_t | reinitMdcFinder (void) |
void | findMdcClusters (void) |
void | makeHist (void) |
TFile * | openHistFile (const Char_t *flag) |
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) |
void | calcAvMnSg (void) |
void | drawCut (TLine *ln, Float_t mean, Float_t sigma, Float_t nSig, Int_t color, Double_t y) |
Private Attributes | |
TString | fileName |
TString | flNmWoExt |
TString | runId |
TString | eventDate |
TString | eventTime |
HMdcCalibrater1 * | fCalib1 |
HMdcEvntListCells * | pListCells |
Bool_t | isMdcLCellsOwn |
HCategory * | fClusCat |
HIterator * | iterMdcClus |
Int_t | nMdcHits [6] |
HCategory * | fRichHitCat |
HIterator * | iterRichHit |
Int_t | nRichHits [6] |
Float_t | richTheta [6][400] |
Float_t | richPhi [6][400] |
Int_t | nMdcHitRing [6][400] |
Float_t | radToDeg |
HMdcLookUpTb * | fLookUpTb |
Int_t | level4 |
Int_t | level5 |
Int_t | nLayers [6][4] |
Int_t | clFinderType |
Int_t | nRingsCut |
Float_t | dThCuts [6][2][2] |
Float_t | dPhCuts [6][2][2] |
Float_t | numSigTh |
Float_t | numSigPh |
Float_t | planeMeanDTh [2] |
Float_t | planeSigmaDTh [2] |
Float_t | planeMeanDPh [2] |
Float_t | planeSigmaDPh [2] |
Int_t | nEvents |
Int_t | nRingEvents |
Int_t | nMatchedEvents |
Int_t | nMatchedEvents1R |
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 |
Int_t | fitStatDTh [6][2] |
Int_t | fitStatDPh [6][2] |
Additional Inherited Members | |
![]() | |
TList * | fHistograms |
Bool_t | fActive |
TObjArray | fOutputs |
TStopwatch | fTimer |
![]() | |
HTask * | owner |
Bool_t | manual |
Bool_t | isInitialised |
Bool_t | isConnected |
Bool_t | fIsTimed |
Definition at line 37 of file hmdcrichcorr.h.
HMdcRichCorr::HMdcRichCorr | ( | void | ) |
HMdcRichCorr::HMdcRichCorr | ( | const Text_t * | name, |
const Text_t * | title, | ||
Int_t | nRCut = 1 |
||
) |
Definition at line 34 of file hmdcrichcorr.cc.
HMdcRichCorr::~HMdcRichCorr | ( | void | ) |
Definition at line 71 of file hmdcrichcorr.cc.
References HMdcLookUpTb::deleteCont(), HMdcEvntListCells::deleteCont(), and fCalib1.
|
private |
Definition at line 535 of file hmdcrichcorr.cc.
References dPhCuts, dThCuts, meanDPh(), meanDTh(), planeMeanDPh, planeMeanDTh, planeSigmaDPh, planeSigmaDTh, sigmaDPh(), and sigmaDTh().
Referenced by finalize().
|
private |
Definition at line 634 of file hmdcrichcorr.cc.
Referenced by finalize().
|
virtual |
Implements HReconstructor.
Definition at line 262 of file hmdcrichcorr.cc.
References HMdcEvntListCells::clear(), HMdcEvntListCells::collectWires(), dPhCuts, dThCuts, eventDate, eventTime, HMdcCalibrater1::execute(), fCalib1, fileName, fillListByRichHit(), findMdcClusters(), flNmWoExt, HMdcGetContainers::getEventDate(), HMdcGetContainers::getEventTime(), HMdcGetContainers::getFileName(), HMdcGetContainers::getFileNameWInd(), HMdcClus::getIOSeg(), HMdcClus::getMod(), HMdcClus::getPhi(), HMdcGetContainers::getRunId(), HMdcClus::getSec(), HMdcClus::getTheta(), hDPh, hDTh, hNEvents, hNMRings, hNRings, isMdcLCellsOwn, iterMdcClus, iterRichHit, kSkipEvent, nEvents, nMatchedEvents, nMatchedEvents1R, nMdcHitRing, nRichHits, nRingEvents, nRingsCut, pListCells, radToDeg, richPhi, richTheta, and runId.
|
private |
Definition at line 322 of file hmdcrichcorr.cc.
References HRichHit::getPhi(), HRichHit::getSector(), HRichHit::getTheta(), iterRichHit, nMdcHitRing, nRichHits, richPhi, and richTheta.
Referenced by execute().
|
virtual |
Implements HTask.
Definition at line 366 of file hmdcrichcorr.cc.
References calcAvMnSg(), drawCut(), eventDate, eventTime, fCalib1, fileName, HMdcCalibrater1::finalize(), fitStatDPh, fitStatDTh, funDGaus, hDPh, hDPhAll, hDTh, hDThAll, histFile, HMdcDGaus::histFit(), hNEvents, hNMRings, hNRings, meanDPh(), meanDTh(), nEvents, nMatchedEvents, nMatchedEvents1R, nRingEvents, numSigPh, numSigTh, openHistFile(), planeMeanDPh, planeMeanDTh, planeSigmaDPh, planeSigmaDTh, psFile, runId, saveCanv, saveHist, savePSFile, sigmaDPh(), and sigmaDTh().
|
private |
|
virtual |
!!!!!!!!!!!319! ???
Implements HTask.
Definition at line 81 of file hmdcrichcorr.cc.
References catRichHit, fCalib1, fClusCat, fLookUpTb, fRichHitCat, HEvent::getCategory(), HMdcGetContainers::getCatMdcClus(), Hades::getCurrentEvent(), HMdcGetContainers::getObject(), HMdcLookUpTb::getObject(), HMdcEvntListCells::getObject(), gHades, HMdcCalibrater1::init(), isMdcLCellsOwn, iterMdcClus, iterRichHit, nEvents, nMatchedEvents, nMatchedEvents1R, nRingEvents, pListCells, HMdcLookUpTb::setIsCoilOffFlag(), and HMdcTrackDSet::setProjectPlotSizeSeg1().
void HMdcRichCorr::makeCalibrater1 | ( | Int_t | vers = 1 , |
Int_t | cut = 1 , |
||
Int_t | domerge = 0 |
||
) |
Definition at line 77 of file hmdcrichcorr.cc.
References fCalib1.
|
private |
Definition at line 130 of file hmdcrichcorr.cc.
References hDPh, hDPhAll, hDTh, hDThAll, hNEvents, hNMRings, hNRings, meanDPh(), meanDTh(), numSigPh, numSigTh, sigmaDPh(), and sigmaDTh().
Referenced by reinitMdcFinder().
|
inlineprivate |
Definition at line 164 of file hmdcrichcorr.h.
Referenced by calcAvMnSg(), finalize(), and makeHist().
|
inlineprivate |
Definition at line 161 of file hmdcrichcorr.h.
Referenced by calcAvMnSg(), finalize(), and makeHist().
|
private |
Definition at line 560 of file hmdcrichcorr.cc.
References flNmWoExt, histFile, histFileDir, histFileOption, histFileSuffix, and psFile.
Referenced by finalize().
void HMdcRichCorr::printStatus | ( | void | ) | const |
Definition at line 598 of file hmdcrichcorr.cc.
References clFinderType, dPhCuts, dThCuts, level4, level5, nLayers, nRingsCut, numSigPh, and numSigTh.
Referenced by reinitMdcFinder().
|
virtual |
Reimplemented from HTask.
Definition at line 105 of file hmdcrichcorr.cc.
References fCalib1, HTask::reinit(), and reinitMdcFinder().
|
private |
Definition at line 110 of file hmdcrichcorr.cc.
References clFinderType, fLookUpTb, HMdcLookUpTb::initContainer(), HTask::isInitialised, makeHist(), nLayers, and printStatus().
Referenced by reinit().
void HMdcRichCorr::setDPhiCuts | ( | Float_t | dPh1, |
Float_t | dPh2, | ||
Float_t | nSig = 3. |
||
) |
Definition at line 197 of file hmdcrichcorr.cc.
void HMdcRichCorr::setDPhiCuts | ( | const Float_t * | dPh, |
Float_t | nSig = 3. |
||
) |
Definition at line 213 of file hmdcrichcorr.cc.
void HMdcRichCorr::setDPhiCuts | ( | const Float_t * | mDPh, |
const Float_t * | sDPh, | ||
Float_t | nSig = 3. |
||
) |
Definition at line 251 of file hmdcrichcorr.cc.
void HMdcRichCorr::setDPhiCutsSig | ( | Float_t | mDPh, |
Float_t | sDPh, | ||
Float_t | nSig = 3. |
||
) |
Definition at line 230 of file hmdcrichcorr.cc.
void HMdcRichCorr::setDThetaCuts | ( | Float_t | dTh1, |
Float_t | dTh2, | ||
Float_t | nSig = 3. |
||
) |
Definition at line 188 of file hmdcrichcorr.cc.
void HMdcRichCorr::setDThetaCuts | ( | const Float_t * | dTh, |
Float_t | nSig = 3. |
||
) |
Definition at line 206 of file hmdcrichcorr.cc.
void HMdcRichCorr::setDThetaCuts | ( | const Float_t * | mDTh, |
const Float_t * | sDTh, | ||
Float_t | nSig = 3. |
||
) |
Definition at line 240 of file hmdcrichcorr.cc.
void HMdcRichCorr::setDThetaCutsSig | ( | Float_t | mDTh, |
Float_t | sDTh, | ||
Float_t | nSig = 3. |
||
) |
Definition at line 220 of file hmdcrichcorr.cc.
void HMdcRichCorr::setHistFile | ( | const Char_t * | dir, |
const Char_t * | suf, | ||
const Char_t * | option = "NEW" |
||
) |
Definition at line 583 of file hmdcrichcorr.cc.
References histFileDir, histFileOption, and histFileSuffix.
Referenced by setup().
|
inline |
Definition at line 127 of file hmdcrichcorr.h.
void HMdcRichCorr::setNLayers | ( | const Int_t * | lst | ) |
Definition at line 183 of file hmdcrichcorr.cc.
References nLayers.
|
inline |
Definition at line 148 of file hmdcrichcorr.h.
|
inline |
Definition at line 145 of file hmdcrichcorr.h.
References HMdcDGaus::setTestCond().
|
inline |
Definition at line 126 of file hmdcrichcorr.h.
|
private |
Definition at line 40 of file hmdcrichcorr.cc.
References clFinderType, dPhCuts, dThCuts, fCalib1, fClusCat, fLookUpTb, hDPh, hDPhAll, hDTh, hDThAll, hNEvents, hNMRings, hNRings, HTask::isInitialised, level4, level5, nLayers, numSigPh, numSigTh, pListCells, radToDeg, saveCanv, saveHist, savePSFile, and setHistFile().
Referenced by HMdcRichCorr().
|
inlineprivate |
Definition at line 170 of file hmdcrichcorr.h.
Referenced by calcAvMnSg(), finalize(), and makeHist().
|
inlineprivate |
Definition at line 167 of file hmdcrichcorr.h.
Referenced by calcAvMnSg(), finalize(), and makeHist().
|
private |
Definition at line 69 of file hmdcrichcorr.h.
Referenced by printStatus(), reinitMdcFinder(), and setup().
|
private |
Definition at line 74 of file hmdcrichcorr.h.
Referenced by calcAvMnSg(), execute(), printStatus(), setDPhiCuts(), setDPhiCutsSig(), and setup().
|
private |
Definition at line 73 of file hmdcrichcorr.h.
Referenced by calcAvMnSg(), execute(), printStatus(), setDThetaCuts(), setDThetaCutsSig(), and setup().
|
private |
Definition at line 42 of file hmdcrichcorr.h.
Referenced by execute(), and finalize().
|
private |
Definition at line 43 of file hmdcrichcorr.h.
Referenced by execute(), and finalize().
|
private |
Definition at line 45 of file hmdcrichcorr.h.
Referenced by execute(), finalize(), init(), makeCalibrater1(), reinit(), setup(), and ~HMdcRichCorr().
|
private |
Definition at line 50 of file hmdcrichcorr.h.
|
private |
Definition at line 39 of file hmdcrichcorr.h.
Referenced by execute(), and finalize().
|
private |
Definition at line 110 of file hmdcrichcorr.h.
Referenced by finalize().
|
private |
Definition at line 109 of file hmdcrichcorr.h.
Referenced by finalize().
|
private |
Definition at line 40 of file hmdcrichcorr.h.
Referenced by execute(), and openHistFile().
|
private |
Definition at line 65 of file hmdcrichcorr.h.
Referenced by findMdcClusters(), init(), reinitMdcFinder(), and setup().
|
private |
Definition at line 55 of file hmdcrichcorr.h.
Referenced by init().
|
private |
Definition at line 108 of file hmdcrichcorr.h.
Referenced by finalize().
|
private |
Definition at line 98 of file hmdcrichcorr.h.
Referenced by execute(), finalize(), makeHist(), and setup().
|
private |
Definition at line 96 of file hmdcrichcorr.h.
Referenced by finalize(), makeHist(), and setup().
|
private |
Definition at line 97 of file hmdcrichcorr.h.
Referenced by execute(), finalize(), makeHist(), and setup().
|
private |
Definition at line 95 of file hmdcrichcorr.h.
Referenced by finalize(), makeHist(), and setup().
|
private |
Definition at line 93 of file hmdcrichcorr.h.
Referenced by finalize(), and openHistFile().
|
private |
Definition at line 90 of file hmdcrichcorr.h.
Referenced by openHistFile(), and setHistFile().
|
private |
Definition at line 92 of file hmdcrichcorr.h.
Referenced by openHistFile(), and setHistFile().
|
private |
Definition at line 91 of file hmdcrichcorr.h.
Referenced by openHistFile(), and setHistFile().
|
private |
Definition at line 101 of file hmdcrichcorr.h.
Referenced by execute(), finalize(), makeHist(), and setup().
|
private |
Definition at line 100 of file hmdcrichcorr.h.
Referenced by execute(), finalize(), makeHist(), and setup().
|
private |
Definition at line 99 of file hmdcrichcorr.h.
Referenced by execute(), finalize(), makeHist(), and setup().
|
private |
Definition at line 48 of file hmdcrichcorr.h.
|
private |
Definition at line 51 of file hmdcrichcorr.h.
|
private |
Definition at line 56 of file hmdcrichcorr.h.
Referenced by execute(), fillListByRichHit(), and init().
|
private |
Definition at line 66 of file hmdcrichcorr.h.
Referenced by findMdcClusters(), printStatus(), and setup().
|
private |
Definition at line 67 of file hmdcrichcorr.h.
Referenced by findMdcClusters(), printStatus(), and setup().
|
private |
Definition at line 84 of file hmdcrichcorr.h.
Referenced by execute(), finalize(), and init().
|
private |
Definition at line 68 of file hmdcrichcorr.h.
Referenced by findMdcClusters(), printStatus(), reinitMdcFinder(), setNLayers(), and setup().
|
private |
Definition at line 86 of file hmdcrichcorr.h.
Referenced by execute(), finalize(), and init().
|
private |
Definition at line 87 of file hmdcrichcorr.h.
Referenced by execute(), finalize(), and init().
|
private |
Definition at line 61 of file hmdcrichcorr.h.
Referenced by execute(), and fillListByRichHit().
|
private |
Definition at line 53 of file hmdcrichcorr.h.
Referenced by findMdcClusters().
|
private |
Definition at line 58 of file hmdcrichcorr.h.
Referenced by execute(), fillListByRichHit(), and findMdcClusters().
|
private |
Definition at line 85 of file hmdcrichcorr.h.
Referenced by execute(), finalize(), and init().
|
private |
Definition at line 72 of file hmdcrichcorr.h.
Referenced by execute(), HMdcRichCorr(), and printStatus().
|
private |
Definition at line 76 of file hmdcrichcorr.h.
Referenced by finalize(), makeHist(), printStatus(), setDPhiCuts(), setDPhiCutsSig(), and setup().
|
private |
Definition at line 75 of file hmdcrichcorr.h.
Referenced by finalize(), makeHist(), printStatus(), setDThetaCuts(), setDThetaCutsSig(), and setup().
|
private |
Definition at line 80 of file hmdcrichcorr.h.
Referenced by calcAvMnSg(), and finalize().
|
private |
Definition at line 78 of file hmdcrichcorr.h.
Referenced by calcAvMnSg(), and finalize().
|
private |
Definition at line 81 of file hmdcrichcorr.h.
Referenced by calcAvMnSg(), and finalize().
|
private |
Definition at line 79 of file hmdcrichcorr.h.
Referenced by calcAvMnSg(), and finalize().
|
private |
Definition at line 47 of file hmdcrichcorr.h.
|
private |
Definition at line 94 of file hmdcrichcorr.h.
Referenced by finalize(), and openHistFile().
|
private |
Definition at line 63 of file hmdcrichcorr.h.
|
private |
Definition at line 60 of file hmdcrichcorr.h.
Referenced by execute(), and fillListByRichHit().
|
private |
Definition at line 59 of file hmdcrichcorr.h.
Referenced by execute(), and fillListByRichHit().
|
private |
Definition at line 41 of file hmdcrichcorr.h.
Referenced by execute(), and finalize().
|
private |
Definition at line 104 of file hmdcrichcorr.h.
Referenced by finalize(), and setup().
|
private |
Definition at line 103 of file hmdcrichcorr.h.
Referenced by finalize(), and setup().
|
private |
Definition at line 105 of file hmdcrichcorr.h.
Referenced by finalize(), and setup().