HYDRA_development_version
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HMdcRichCorr Class Reference

#include <hmdcrichcorr.h>

Inheritance diagram for HMdcRichCorr:
Collaboration diagram for HMdcRichCorr:

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)
 
- Public Member Functions inherited from HReconstructor
 HReconstructor (void)
 
 ~HReconstructor (void)
 
 HReconstructor (const Text_t *name, const Text_t *title)
 
HTasknext (Int_t &errCode)
 
HTaskgetTask (const Char_t *name)
 
Bool_t connectTask (HTask *task, Int_t n=0)
 
TObjArray getTable ()
 
void getConnections ()
 
HTaskgetComposite ()
 
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)
 
- Public Member Functions inherited from HTask
 HTask (void)
 
 HTask (const Text_t name[], const Text_t title[])
 
virtual ~HTask (void)
 
virtual HTaskgetOwner ()
 
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
 
HMdcCalibrater1fCalib1
 
HMdcEvntListCellspListCells
 
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
 
HMdcLookUpTbfLookUpTb
 
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

- Protected Attributes inherited from HReconstructor
TList * fHistograms
 
Bool_t fActive
 
TObjArray fOutputs
 
TStopwatch fTimer
 
- Protected Attributes inherited from HTask
HTaskowner
 
Bool_t manual
 
Bool_t isInitialised
 
Bool_t isConnected
 
Bool_t fIsTimed
 

Detailed Description

Definition at line 37 of file hmdcrichcorr.h.

Constructor & Destructor Documentation

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.

References nRingsCut, and setup().

HMdcRichCorr::~HMdcRichCorr ( void  )

Member Function Documentation

void HMdcRichCorr::calcAvMnSg ( void  )
private
void HMdcRichCorr::drawCut ( TLine *  ln,
Float_t  mean,
Float_t  sigma,
Float_t  nSig,
Int_t  color,
Double_t  y 
)
private

Definition at line 634 of file hmdcrichcorr.cc.

Referenced by finalize().

void HMdcRichCorr::fillListByRichHit ( void  )
private
void HMdcRichCorr::findMdcClusters ( void  )
private

Definition at line 337 of file hmdcrichcorr.cc.

References fLookUpTb, level4, level5, nLayers, nMdcHits, and nRichHits.

Referenced by execute().

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.

void HMdcRichCorr::makeHist ( void  )
private
Float_t HMdcRichCorr::meanDPh ( Int_t  s,
Int_t  m 
)
inlineprivate

Definition at line 164 of file hmdcrichcorr.h.

Referenced by calcAvMnSg(), finalize(), and makeHist().

Float_t HMdcRichCorr::meanDTh ( Int_t  s,
Int_t  m 
)
inlineprivate

Definition at line 161 of file hmdcrichcorr.h.

Referenced by calcAvMnSg(), finalize(), and makeHist().

TFile * HMdcRichCorr::openHistFile ( const Char_t *  flag)
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().

Bool_t HMdcRichCorr::reinit ( void  )
virtual

Reimplemented from HTask.

Definition at line 105 of file hmdcrichcorr.cc.

References fCalib1, HTask::reinit(), and reinitMdcFinder().

Bool_t HMdcRichCorr::reinitMdcFinder ( void  )
private
void HMdcRichCorr::setDPhiCuts ( Float_t  dPh1,
Float_t  dPh2,
Float_t  nSig = 3. 
)

Definition at line 197 of file hmdcrichcorr.cc.

References dPhCuts, and numSigPh.

void HMdcRichCorr::setDPhiCuts ( const Float_t *  dPh,
Float_t  nSig = 3. 
)

Definition at line 213 of file hmdcrichcorr.cc.

References dPhCuts, and numSigPh.

void HMdcRichCorr::setDPhiCuts ( const Float_t *  mDPh,
const Float_t *  sDPh,
Float_t  nSig = 3. 
)

Definition at line 251 of file hmdcrichcorr.cc.

References dPhCuts, and numSigPh.

void HMdcRichCorr::setDPhiCutsSig ( Float_t  mDPh,
Float_t  sDPh,
Float_t  nSig = 3. 
)

Definition at line 230 of file hmdcrichcorr.cc.

References dPhCuts, and numSigPh.

void HMdcRichCorr::setDThetaCuts ( Float_t  dTh1,
Float_t  dTh2,
Float_t  nSig = 3. 
)

Definition at line 188 of file hmdcrichcorr.cc.

References dThCuts, and numSigTh.

void HMdcRichCorr::setDThetaCuts ( const Float_t *  dTh,
Float_t  nSig = 3. 
)

Definition at line 206 of file hmdcrichcorr.cc.

References dThCuts, and numSigTh.

void HMdcRichCorr::setDThetaCuts ( const Float_t *  mDTh,
const Float_t *  sDTh,
Float_t  nSig = 3. 
)

Definition at line 240 of file hmdcrichcorr.cc.

References dThCuts, and numSigTh.

void HMdcRichCorr::setDThetaCutsSig ( Float_t  mDTh,
Float_t  sDTh,
Float_t  nSig = 3. 
)

Definition at line 220 of file hmdcrichcorr.cc.

References dThCuts, and numSigTh.

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().

void HMdcRichCorr::setLevel ( Int_t  l4s1,
Int_t  l5s1 
)
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.

void HMdcRichCorr::setSaveFlags ( Bool_t  hist,
Bool_t  canv,
Bool_t  psfile 
)
inline

Definition at line 148 of file hmdcrichcorr.h.

void HMdcRichCorr::setTestCond ( Float_t  cM,
Float_t  cS1,
Float_t  cS2 
)
inline

Definition at line 145 of file hmdcrichcorr.h.

References HMdcDGaus::setTestCond().

void HMdcRichCorr::setTypeClFinder ( Int_t  type)
inline

Definition at line 126 of file hmdcrichcorr.h.

Float_t HMdcRichCorr::sigmaDPh ( Int_t  s,
Int_t  m 
)
inlineprivate

Definition at line 170 of file hmdcrichcorr.h.

Referenced by calcAvMnSg(), finalize(), and makeHist().

Float_t HMdcRichCorr::sigmaDTh ( Int_t  s,
Int_t  m 
)
inlineprivate

Definition at line 167 of file hmdcrichcorr.h.

Referenced by calcAvMnSg(), finalize(), and makeHist().

Member Data Documentation

Int_t HMdcRichCorr::clFinderType
private

Definition at line 69 of file hmdcrichcorr.h.

Referenced by printStatus(), reinitMdcFinder(), and setup().

Float_t HMdcRichCorr::dPhCuts[6][2][2]
private

Definition at line 74 of file hmdcrichcorr.h.

Referenced by calcAvMnSg(), execute(), printStatus(), setDPhiCuts(), setDPhiCutsSig(), and setup().

Float_t HMdcRichCorr::dThCuts[6][2][2]
private

Definition at line 73 of file hmdcrichcorr.h.

Referenced by calcAvMnSg(), execute(), printStatus(), setDThetaCuts(), setDThetaCutsSig(), and setup().

TString HMdcRichCorr::eventDate
private

Definition at line 42 of file hmdcrichcorr.h.

Referenced by execute(), and finalize().

TString HMdcRichCorr::eventTime
private

Definition at line 43 of file hmdcrichcorr.h.

Referenced by execute(), and finalize().

HMdcCalibrater1* HMdcRichCorr::fCalib1
private

Definition at line 45 of file hmdcrichcorr.h.

Referenced by execute(), finalize(), init(), makeCalibrater1(), reinit(), setup(), and ~HMdcRichCorr().

HCategory* HMdcRichCorr::fClusCat
private

Definition at line 50 of file hmdcrichcorr.h.

Referenced by init(), and setup().

TString HMdcRichCorr::fileName
private

Definition at line 39 of file hmdcrichcorr.h.

Referenced by execute(), and finalize().

Int_t HMdcRichCorr::fitStatDPh[6][2]
private

Definition at line 110 of file hmdcrichcorr.h.

Referenced by finalize().

Int_t HMdcRichCorr::fitStatDTh[6][2]
private

Definition at line 109 of file hmdcrichcorr.h.

Referenced by finalize().

TString HMdcRichCorr::flNmWoExt
private

Definition at line 40 of file hmdcrichcorr.h.

Referenced by execute(), and openHistFile().

HMdcLookUpTb* HMdcRichCorr::fLookUpTb
private

Definition at line 65 of file hmdcrichcorr.h.

Referenced by findMdcClusters(), init(), reinitMdcFinder(), and setup().

HCategory* HMdcRichCorr::fRichHitCat
private

Definition at line 55 of file hmdcrichcorr.h.

Referenced by init().

HMdcDGaus HMdcRichCorr::funDGaus
private

Definition at line 108 of file hmdcrichcorr.h.

Referenced by finalize().

TH1F* HMdcRichCorr::hDPh[6][2]
private

Definition at line 98 of file hmdcrichcorr.h.

Referenced by execute(), finalize(), makeHist(), and setup().

TH1F* HMdcRichCorr::hDPhAll[2]
private

Definition at line 96 of file hmdcrichcorr.h.

Referenced by finalize(), makeHist(), and setup().

TH1F* HMdcRichCorr::hDTh[6][2]
private

Definition at line 97 of file hmdcrichcorr.h.

Referenced by execute(), finalize(), makeHist(), and setup().

TH1F* HMdcRichCorr::hDThAll[2]
private

Definition at line 95 of file hmdcrichcorr.h.

Referenced by finalize(), makeHist(), and setup().

TString HMdcRichCorr::histFile
private

Definition at line 93 of file hmdcrichcorr.h.

Referenced by finalize(), and openHistFile().

TString HMdcRichCorr::histFileDir
private

Definition at line 90 of file hmdcrichcorr.h.

Referenced by openHistFile(), and setHistFile().

TString HMdcRichCorr::histFileOption
private

Definition at line 92 of file hmdcrichcorr.h.

Referenced by openHistFile(), and setHistFile().

TString HMdcRichCorr::histFileSuffix
private

Definition at line 91 of file hmdcrichcorr.h.

Referenced by openHistFile(), and setHistFile().

TH1F* HMdcRichCorr::hNEvents
private

Definition at line 101 of file hmdcrichcorr.h.

Referenced by execute(), finalize(), makeHist(), and setup().

TH1F* HMdcRichCorr::hNMRings
private

Definition at line 100 of file hmdcrichcorr.h.

Referenced by execute(), finalize(), makeHist(), and setup().

TH1F* HMdcRichCorr::hNRings
private

Definition at line 99 of file hmdcrichcorr.h.

Referenced by execute(), finalize(), makeHist(), and setup().

Bool_t HMdcRichCorr::isMdcLCellsOwn
private

Definition at line 48 of file hmdcrichcorr.h.

Referenced by execute(), and init().

HIterator* HMdcRichCorr::iterMdcClus
private

Definition at line 51 of file hmdcrichcorr.h.

Referenced by execute(), and init().

HIterator* HMdcRichCorr::iterRichHit
private

Definition at line 56 of file hmdcrichcorr.h.

Referenced by execute(), fillListByRichHit(), and init().

Int_t HMdcRichCorr::level4
private

Definition at line 66 of file hmdcrichcorr.h.

Referenced by findMdcClusters(), printStatus(), and setup().

Int_t HMdcRichCorr::level5
private

Definition at line 67 of file hmdcrichcorr.h.

Referenced by findMdcClusters(), printStatus(), and setup().

Int_t HMdcRichCorr::nEvents
private

Definition at line 84 of file hmdcrichcorr.h.

Referenced by execute(), finalize(), and init().

Int_t HMdcRichCorr::nLayers[6][4]
private

Definition at line 68 of file hmdcrichcorr.h.

Referenced by findMdcClusters(), printStatus(), reinitMdcFinder(), setNLayers(), and setup().

Int_t HMdcRichCorr::nMatchedEvents
private

Definition at line 86 of file hmdcrichcorr.h.

Referenced by execute(), finalize(), and init().

Int_t HMdcRichCorr::nMatchedEvents1R
private

Definition at line 87 of file hmdcrichcorr.h.

Referenced by execute(), finalize(), and init().

Int_t HMdcRichCorr::nMdcHitRing[6][400]
private

Definition at line 61 of file hmdcrichcorr.h.

Referenced by execute(), and fillListByRichHit().

Int_t HMdcRichCorr::nMdcHits[6]
private

Definition at line 53 of file hmdcrichcorr.h.

Referenced by findMdcClusters().

Int_t HMdcRichCorr::nRichHits[6]
private

Definition at line 58 of file hmdcrichcorr.h.

Referenced by execute(), fillListByRichHit(), and findMdcClusters().

Int_t HMdcRichCorr::nRingEvents
private

Definition at line 85 of file hmdcrichcorr.h.

Referenced by execute(), finalize(), and init().

Int_t HMdcRichCorr::nRingsCut
private

Definition at line 72 of file hmdcrichcorr.h.

Referenced by execute(), HMdcRichCorr(), and printStatus().

Float_t HMdcRichCorr::numSigPh
private

Definition at line 76 of file hmdcrichcorr.h.

Referenced by finalize(), makeHist(), printStatus(), setDPhiCuts(), setDPhiCutsSig(), and setup().

Float_t HMdcRichCorr::numSigTh
private

Definition at line 75 of file hmdcrichcorr.h.

Referenced by finalize(), makeHist(), printStatus(), setDThetaCuts(), setDThetaCutsSig(), and setup().

Float_t HMdcRichCorr::planeMeanDPh[2]
private

Definition at line 80 of file hmdcrichcorr.h.

Referenced by calcAvMnSg(), and finalize().

Float_t HMdcRichCorr::planeMeanDTh[2]
private

Definition at line 78 of file hmdcrichcorr.h.

Referenced by calcAvMnSg(), and finalize().

Float_t HMdcRichCorr::planeSigmaDPh[2]
private

Definition at line 81 of file hmdcrichcorr.h.

Referenced by calcAvMnSg(), and finalize().

Float_t HMdcRichCorr::planeSigmaDTh[2]
private

Definition at line 79 of file hmdcrichcorr.h.

Referenced by calcAvMnSg(), and finalize().

HMdcEvntListCells* HMdcRichCorr::pListCells
private

Definition at line 47 of file hmdcrichcorr.h.

Referenced by execute(), init(), and setup().

TString HMdcRichCorr::psFile
private

Definition at line 94 of file hmdcrichcorr.h.

Referenced by finalize(), and openHistFile().

Float_t HMdcRichCorr::radToDeg
private

Definition at line 63 of file hmdcrichcorr.h.

Referenced by execute(), and setup().

Float_t HMdcRichCorr::richPhi[6][400]
private

Definition at line 60 of file hmdcrichcorr.h.

Referenced by execute(), and fillListByRichHit().

Float_t HMdcRichCorr::richTheta[6][400]
private

Definition at line 59 of file hmdcrichcorr.h.

Referenced by execute(), and fillListByRichHit().

TString HMdcRichCorr::runId
private

Definition at line 41 of file hmdcrichcorr.h.

Referenced by execute(), and finalize().

Bool_t HMdcRichCorr::saveCanv
private

Definition at line 104 of file hmdcrichcorr.h.

Referenced by finalize(), and setup().

Bool_t HMdcRichCorr::saveHist
private

Definition at line 103 of file hmdcrichcorr.h.

Referenced by finalize(), and setup().

Bool_t HMdcRichCorr::savePSFile
private

Definition at line 105 of file hmdcrichcorr.h.

Referenced by finalize(), and setup().


The documentation for this class was generated from the following files: