|
BOSS 8.0.0
BESIII Offline Software System
|
#include <MdcUtilitySvc.h>
Public Member Functions | |
| MdcUtilitySvc (const std::string &name, ISvcLocator *svcloc) | |
| ~MdcUtilitySvc () | |
| virtual StatusCode | initialize () |
| virtual StatusCode | finalize () |
| int | nLayerTrackPassed (const HepVector helix) const |
| int | nLayerTrackPassed (const double helix[5]) const |
| HepVector | patPar2BesPar (const HepVector &helixPar) const |
| HepSymMatrix | patErr2BesErr (const HepSymMatrix &err) const |
| HepVector | besPar2PatPar (const HepVector &helixPar) const |
| HepSymMatrix | besErr2PatErr (const HepSymMatrix &err) const |
| double | doca (int layer, int cell, const HepVector helix, const HepSymMatrix errMat, bool passCellRequired=true, bool doSag=true) const |
| double | doca (int layer, int cell, HepPoint3D eastP, HepPoint3D westP, const HepVector helixBes, const HepSymMatrix errMatBes, bool passCellRequired=true, bool doSag=true) const |
| double | doca (int layer, int cell, const MdcSWire *sWire, const HepVector helixPat, const HepSymMatrix errMatPat, bool passCellRequired=true) const |
| double | docaPatPar (int layer, int cell, const HepVector helixPat, const HepSymMatrix errMatPat, bool passCellRequired=true, bool doSag=true) const |
| double | docaPatPar (int layer, int cell, HepPoint3D eastP, HepPoint3D westP, const HepVector helixBes, const HepSymMatrix errMatBes, bool passCellRequired=true, bool doSag=true) const |
| double | docaPatPar (int layer, int cell, const MdcSWire *sWire, const HepVector helixPat, const HepSymMatrix errMatPat, bool passCellRequired=true) const |
| HepPoint3D | pointOnHelix (const HepVector helixPar, int lay, int innerOrOuter) const |
| HepPoint3D | pointOnHelixPatPar (const HepVector helixPat, int lay, int innerOrOuter) const |
| bool | cellTrackPassedByPhi (const HepVector helix, int layer, int &cellId_in, int &cellId_out) const |
| bool | cellTrackPassedByPhiPatPar (const HepVector helix, int layer, int &cellId_in, int &cellId_out) const |
| bool | cellTrackPassed (const HepVector helix, int layer, int &cellId_in, int &cellId_out) const |
| bool | cellTrackPassedPatPar (const HepVector helix, int layer, int &cellId_in, int &cellId_out) const |
| HepPoint3D | Hel (HepPoint3D piv, double dr, double phi0, double Alpha_L, double kappa, double dz, double dphi, double tanl) const |
| double | p_cms (HepVector helix, int runNo, double mass) const |
| Hep3Vector | momentum (const RecMdcTrack *trk) const |
| double | probab (const int &ndof, const double &chisq) const |
| MdcDigiVec | getMdcDigiVec () const |
| void | getHelixOfMcParticle (const Event::McParticle *mcParticle, Helix &helix) |
| float | getChargeOfMcParticle (const Event::McParticle *mcParticle) |
| void | getMomPosOfMcParticle (const Event::McParticle *mcParticle, HepVector3D &pos, HepVector3D &mom) |
| void | getMdcDigiOnMcParticle (int trackIndex, const std::map< int, std::map< MdcDigi *, Event::MdcMcHit * > > mdcMCAssociation, MdcDigiVec &mdcDigiInput, MdcDigiVec &mdcDigiAssociated) |
| void | getMdcMCAssoiciation (int trackIndex, const std::vector< MdcDigi * > mdcDigiVecInput, std::map< int, std::map< MdcDigi *, Event::MdcMcHit * > > &mdcMCAssociation) |
| Get association of MdcDigi and MdcMcHit according to track id. | |
Definition at line 40 of file MdcUtilitySvc.h.
| MdcUtilitySvc::MdcUtilitySvc | ( | const std::string & | name, |
| ISvcLocator * | svcloc ) |
Definition at line 25 of file MdcUtilitySvc.cxx.
Referenced by MdcUtilitySvc().
| MdcUtilitySvc::~MdcUtilitySvc | ( | ) |
Definition at line 30 of file MdcUtilitySvc.cxx.
| HepSymMatrix MdcUtilitySvc::besErr2PatErr | ( | const HepSymMatrix & | err | ) | const |
Definition at line 838 of file MdcUtilitySvc.cxx.
| HepVector MdcUtilitySvc::besPar2PatPar | ( | const HepVector & | helixPar | ) | const |
Definition at line 822 of file MdcUtilitySvc.cxx.
Referenced by cellTrackPassedByPhi(), doca(), doca(), doca(), nLayerTrackPassed(), and pointOnHelix().
| bool MdcUtilitySvc::cellTrackPassed | ( | const HepVector | helix, |
| int | layer, | ||
| int & | cellId_in, | ||
| int & | cellId_out ) const |
Definition at line 651 of file MdcUtilitySvc.cxx.
Referenced by cellTrackPassedPatPar().
| bool MdcUtilitySvc::cellTrackPassedByPhi | ( | const HepVector | helix, |
| int | layer, | ||
| int & | cellId_in, | ||
| int & | cellId_out ) const |
Definition at line 590 of file MdcUtilitySvc.cxx.
| bool MdcUtilitySvc::cellTrackPassedByPhiPatPar | ( | const HepVector | helix, |
| int | layer, | ||
| int & | cellId_in, | ||
| int & | cellId_out ) const |
Definition at line 600 of file MdcUtilitySvc.cxx.
Referenced by cellTrackPassedByPhi(), and docaPatPar().
| bool MdcUtilitySvc::cellTrackPassedPatPar | ( | const HepVector | helix, |
| int | layer, | ||
| int & | cellId_in, | ||
| int & | cellId_out ) const |
Definition at line 643 of file MdcUtilitySvc.cxx.
| double MdcUtilitySvc::doca | ( | int | layer, |
| int | cell, | ||
| const HepVector | helix, | ||
| const HepSymMatrix | errMat, | ||
| bool | passCellRequired = true, | ||
| bool | doSag = true ) const |
Definition at line 401 of file MdcUtilitySvc.cxx.
Referenced by docaPatPar(), docaPatPar(), and docaPatPar().
| double MdcUtilitySvc::doca | ( | int | layer, |
| int | cell, | ||
| const MdcSWire * | sWire, | ||
| const HepVector | helixPat, | ||
| const HepSymMatrix | errMatPat, | ||
| bool | passCellRequired = true ) const |
Definition at line 424 of file MdcUtilitySvc.cxx.
| double MdcUtilitySvc::doca | ( | int | layer, |
| int | cell, | ||
| HepPoint3D | eastP, | ||
| HepPoint3D | westP, | ||
| const HepVector | helixBes, | ||
| const HepSymMatrix | errMatBes, | ||
| bool | passCellRequired = true, | ||
| bool | doSag = true ) const |
Definition at line 412 of file MdcUtilitySvc.cxx.
| double MdcUtilitySvc::docaPatPar | ( | int | layer, |
| int | cell, | ||
| const HepVector | helixPat, | ||
| const HepSymMatrix | errMatPat, | ||
| bool | passCellRequired = true, | ||
| bool | doSag = true ) const |
Definition at line 435 of file MdcUtilitySvc.cxx.
Referenced by doca(), doca(), doca(), docaPatPar(), and docaPatPar().
| double MdcUtilitySvc::docaPatPar | ( | int | layer, |
| int | cell, | ||
| const MdcSWire * | sWire, | ||
| const HepVector | helixPat, | ||
| const HepSymMatrix | errMatPat, | ||
| bool | passCellRequired = true ) const |
Definition at line 475 of file MdcUtilitySvc.cxx.
| double MdcUtilitySvc::docaPatPar | ( | int | layer, |
| int | cell, | ||
| HepPoint3D | eastP, | ||
| HepPoint3D | westP, | ||
| const HepVector | helixBes, | ||
| const HepSymMatrix | errMatBes, | ||
| bool | passCellRequired = true, | ||
| bool | doSag = true ) const |
Definition at line 456 of file MdcUtilitySvc.cxx.
|
virtual |
Definition at line 74 of file MdcUtilitySvc.cxx.
| float MdcUtilitySvc::getChargeOfMcParticle | ( | const Event::McParticle * | mcParticle | ) |
Definition at line 958 of file MdcUtilitySvc.cxx.
Referenced by getHelixOfMcParticle().
| void MdcUtilitySvc::getHelixOfMcParticle | ( | const Event::McParticle * | mcParticle, |
| Helix & | helix ) |
Definition at line 982 of file MdcUtilitySvc.cxx.
| void MdcUtilitySvc::getMdcDigiOnMcParticle | ( | int | trackIndex, |
| const std::map< int, std::map< MdcDigi *, Event::MdcMcHit * > > | mdcMCAssociation, | ||
| MdcDigiVec & | mdcDigiInput, | ||
| MdcDigiVec & | mdcDigiAssociated ) |
Definition at line 997 of file MdcUtilitySvc.cxx.
| vector< MdcDigi * > MdcUtilitySvc::getMdcDigiVec | ( | ) | const |
Definition at line 81 of file MdcUtilitySvc.cxx.
| void MdcUtilitySvc::getMdcMCAssoiciation | ( | int | trackIndex, |
| const std::vector< MdcDigi * > | mdcDigiVecInput, | ||
| std::map< int, std::map< MdcDigi *, Event::MdcMcHit * > > & | mdcMCAssociation ) |
Get association of MdcDigi and MdcMcHit according to track id.
—get MDC MC hits and make a map vs wire id
loop over MdcDigi
Definition at line 1019 of file MdcUtilitySvc.cxx.
| void MdcUtilitySvc::getMomPosOfMcParticle | ( | const Event::McParticle * | mcParticle, |
| HepVector3D & | pos, | ||
| HepVector3D & | mom ) |
Definition at line 971 of file MdcUtilitySvc.cxx.
| HepPoint3D MdcUtilitySvc::Hel | ( | HepPoint3D | piv, |
| double | dr, | ||
| double | phi0, | ||
| double | Alpha_L, | ||
| double | kappa, | ||
| double | dz, | ||
| double | dphi, | ||
| double | tanl ) const |
Definition at line 807 of file MdcUtilitySvc.cxx.
Referenced by cellTrackPassed().
|
virtual |
Definition at line 32 of file MdcUtilitySvc.cxx.
| Hep3Vector MdcUtilitySvc::momentum | ( | const RecMdcTrack * | trk | ) | const |
Definition at line 883 of file MdcUtilitySvc.cxx.
| int MdcUtilitySvc::nLayerTrackPassed | ( | const double | helix[5] | ) | const |
Definition at line 257 of file MdcUtilitySvc.cxx.
| int MdcUtilitySvc::nLayerTrackPassed | ( | const HepVector | helix | ) | const |
Definition at line 266 of file MdcUtilitySvc.cxx.
Referenced by nLayerTrackPassed().
| double MdcUtilitySvc::p_cms | ( | HepVector | helix, |
| int | runNo, | ||
| double | mass ) const |
Definition at line 854 of file MdcUtilitySvc.cxx.
Referenced by p_cms().
| HepSymMatrix MdcUtilitySvc::patErr2BesErr | ( | const HepSymMatrix & | err | ) | const |
Definition at line 318 of file MdcUtilitySvc.cxx.
| HepVector MdcUtilitySvc::patPar2BesPar | ( | const HepVector & | helixPar | ) | const |
Definition at line 301 of file MdcUtilitySvc.cxx.
Referenced by cellTrackPassedPatPar().
| HepPoint3D MdcUtilitySvc::pointOnHelix | ( | const HepVector | helixPar, |
| int | lay, | ||
| int | innerOrOuter ) const |
Definition at line 337 of file MdcUtilitySvc.cxx.
| HepPoint3D MdcUtilitySvc::pointOnHelixPatPar | ( | const HepVector | helixPat, |
| int | lay, | ||
| int | innerOrOuter ) const |
Definition at line 345 of file MdcUtilitySvc.cxx.
Referenced by docaPatPar(), and pointOnHelix().
| double MdcUtilitySvc::probab | ( | const int & | ndof, |
| const double & | chisq ) const |
Definition at line 901 of file MdcUtilitySvc.cxx.