FairRoot/PandaRoot
|
#include <PndRichReco.h>
Public Member Functions | |
PndRichReco () | |
PndRichReco (UInt_t version) | |
virtual | ~PndRichReco () |
void | Init () |
void | Register () |
void | SetGeoVersion (UInt_t version) |
void | RichFullReconstruction (TVector3 pos, TVector3 dir, Float_t ts, Float_t &chi2, Float_t &chTh, Float_t &dChTh, Int_t &nph) |
std::vector< double > | GetPhis () |
std::vector< double > | GetThetas () |
std::vector< double > | GetDThetas () |
std::vector< PndRichPhoton > | CherenkovPhotonListFlat (PndRichBarPoint *track) |
double | BetaPeakFinding (std::vector< PndRichPhoton > photons, Double_t nopt, Double_t nnz) |
void | HitSelection (std::vector< size_t > &it, std::vector< double > &ph, std::vector< double > &th, std::vector< PndRichPhoton > photons, Double_t beta, Double_t nopt, Double_t nnz, Double_t dthc) |
void | AppendFlatMirrorReflections (std::vector< PndRichPhoton > &ph, TVector3 hit, Double_t hitTime, PndRichBarPoint *track) |
Private Attributes | |
TClonesArray * | fRichPDHit |
PndRichGeo * | fGeo |
PndRichPDHit TCA. More... | |
UInt_t | fEvent |
UInt_t | fGeoVersion |
UInt_t | fGeoVersionMirr |
UInt_t | fParticleID |
Double_t | fMirrorLength |
TVector3 | fTrackPosition |
TVector3 | fTrackDirection |
std::vector< PndRichMirrorSegment > | fMirrSegs |
Double_t | fPhDetAngle |
Double_t | fZamid |
Double_t | fTrackTime |
TVectorT< double > | gResVect |
TMatrixT< double > | gRotMatr |
Definition at line 23 of file PndRichReco.h.
PndRichReco::PndRichReco | ( | ) |
PndRichReco::PndRichReco | ( | UInt_t | version | ) |
|
virtual |
Definition at line 426 of file PndRichReco.cxx.
void PndRichReco::AppendFlatMirrorReflections | ( | std::vector< PndRichPhoton > & | ph, |
TVector3 | hit, | ||
Double_t | hitTime, | ||
PndRichBarPoint * | track | ||
) |
Definition at line 819 of file PndRichReco.cxx.
References fMirrSegs, i, phot, PndRichPhoton::SetHitPos(), PndRichPhoton::SetHitTime(), PndRichPhoton::SetMirror(), PndRichPhoton::SetTrack(), and PndRichPhoton::TrackCalc().
Referenced by CherenkovPhotonListFlat().
double PndRichReco::BetaPeakFinding | ( | std::vector< PndRichPhoton > | photons, |
Double_t | nopt, | ||
Double_t | nnz | ||
) |
Definition at line 674 of file PndRichReco.cxx.
References b, Double_t, fabs(), fTrackTime, and i.
Referenced by RichFullReconstruction().
std::vector< PndRichPhoton > PndRichReco::CherenkovPhotonListFlat | ( | PndRichBarPoint * | track | ) |
Definition at line 793 of file PndRichReco.cxx.
References AppendFlatMirrorReflections(), Double_t, fGeoVersionMirr, fMirrorLength, fRichPDHit, PndRichPDHit::GetPosition(), PndRichPDHit::GetTime(), hit, and nHits.
Referenced by RichFullReconstruction().
std::vector< double > PndRichReco::GetDThetas | ( | ) |
Definition at line 666 of file PndRichReco.cxx.
Referenced by PndRichRecoTask::Exec().
std::vector< double > PndRichReco::GetPhis | ( | ) |
Definition at line 662 of file PndRichReco.cxx.
References fi.
Referenced by PndRichRecoTask::Exec().
std::vector< double > PndRichReco::GetThetas | ( | ) |
Definition at line 664 of file PndRichReco.cxx.
Referenced by PndRichRecoTask::Exec().
void PndRichReco::HitSelection | ( | std::vector< size_t > & | it, |
std::vector< double > & | ph, | ||
std::vector< double > & | th, | ||
std::vector< PndRichPhoton > | photons, | ||
Double_t | beta, | ||
Double_t | nopt, | ||
Double_t | nnz, | ||
Double_t | dthc | ||
) |
Definition at line 715 of file PndRichReco.cxx.
References Double_t, fabs(), fTrackTime, hit, and i.
Referenced by RichFullReconstruction().
void PndRichReco::Init | ( | ) |
Definition at line 481 of file PndRichReco.cxx.
References PndRichGeo::aerogelOffset(), PndRichGeo::aerogelSize(), Double_t, fabs(), fEvent, fGeo, fGeoVersion, fGeoVersionMirr, PndRichGeo::flatMirrorYGlob(), PndRichGeo::flatMirrorZGlob(), fMirrorLength, fMirrSegs, fPhDetAngle, fRichPDHit, fZamid, gResVect, gRotMatr, i, PndRichGeo::init(), PndRichGeo::mirrorLength(), PndRichGeo::phDetAngle(), PndRichGeo::phDetY(), PndRichGeo::phDetZ(), Pi, pnt, point, PndRichGeo::richOffset(), PndRichMirrorSegment::SetDimensions(), PndRichMirrorSegment::SetNormal(), and PndRichMirrorSegment::SetPoint().
Referenced by PndRichReco().
void PndRichReco::Register | ( | ) |
This will create a branch in the output tree called PndRichPDPoint, setting the last parameter to kFALSE means: this collection will not be written to the file, it will exist only during the simulation.
Definition at line 852 of file PndRichReco.cxx.
Referenced by PndRichReco().
void PndRichReco::RichFullReconstruction | ( | TVector3 | pos, |
TVector3 | dir, | ||
Float_t | ts, | ||
Float_t & | chi2, | ||
Float_t & | chTh, | ||
Float_t & | dChTh, | ||
Int_t & | nph | ||
) |
Definition at line 588 of file PndRichReco.cxx.
References BetaPeakFinding(), CherenkovPhotonListFlat(), Double_t, evt, fEvent, fGeoVersionMirr, fRichPDHit, fTrackTime, fZamid, gResVect, gRotMatr, HitSelection(), i, pos, sqrt(), and ts.
Referenced by PndRichRecoTask::Exec().
|
inline |
|
private |
Definition at line 31 of file PndRichReco.h.
Referenced by Init(), and RichFullReconstruction().
|
private |
|
private |
Definition at line 32 of file PndRichReco.h.
Referenced by Init(), PndRichReco(), and SetGeoVersion().
|
private |
Definition at line 33 of file PndRichReco.h.
Referenced by CherenkovPhotonListFlat(), Init(), and RichFullReconstruction().
|
private |
Definition at line 35 of file PndRichReco.h.
Referenced by CherenkovPhotonListFlat(), and Init().
|
private |
Definition at line 39 of file PndRichReco.h.
Referenced by AppendFlatMirrorReflections(), and Init().
|
private |
Definition at line 34 of file PndRichReco.h.
|
private |
Definition at line 41 of file PndRichReco.h.
Referenced by Init().
|
private |
Definition at line 28 of file PndRichReco.h.
Referenced by CherenkovPhotonListFlat(), Init(), and RichFullReconstruction().
|
private |
Definition at line 37 of file PndRichReco.h.
|
private |
Definition at line 36 of file PndRichReco.h.
|
private |
Definition at line 43 of file PndRichReco.h.
Referenced by BetaPeakFinding(), HitSelection(), and RichFullReconstruction().
|
private |
Definition at line 42 of file PndRichReco.h.
Referenced by Init(), and RichFullReconstruction().
|
private |
Definition at line 44 of file PndRichReco.h.
Referenced by Init(), and RichFullReconstruction().
|
private |
Definition at line 45 of file PndRichReco.h.
Referenced by Init(), and RichFullReconstruction().