CGEM BOSS 6.6.5.i
BESIII Offline Software System
|
#include <CgemLineFit.h>
Public Member Functions | |
CgemLineFit (const std::string &name, ISvcLocator *pSvcLocator) | |
~CgemLineFit () | |
StatusCode | initialize () |
StatusCode | execute () |
StatusCode | finalize () |
bool | Data_Max () |
bool | Data_Closest () |
bool | Loop_All () |
bool | Loop_MaxQ () |
bool | ToyMC () |
void | OrderClusters () |
void | OrderClusterSizeQ () |
void | FilterClusters () |
bool | Erase_outer () |
void | erase (int i) |
int | GetVirLay (int geolay, double phi) |
void | Discard (int layer) |
StraightLine * | IniPar (double phi1, double z1, int i, double phi2, double z2, int j) |
void | Filter (int layerid, StraightLine *l1) |
void | Store_Trk (TMinuit *fit, int trkid) |
TMinuit * | Fit (StraightLine *l_outer, int sheetflag, int typ) |
bool | Get_MCInf () |
void | GetIntersection (StraightLine *line) |
vector< double > | MC_truth () |
vector< double > | Get4Par (HepLorentzVector p4, Hep3Vector bp) |
bool | HitPos (HepLorentzVector p4, Hep3Vector bp) |
void | Get_OtherIniPar (int clst_0, int clst_1, int clst_2) |
vector< double > | Get_Clusters (vector< double >Vec_truth) |
void | Rec_Clusters () |
void | Rec_Clusters_mTPC () |
void | Rec_ClusterSize () |
void | Rec_ClusterQ () |
void | fireStripQ () |
void | fireStripT () |
void | fireStripID () |
void | Fit_Clusters (double par[]) |
void | InAngle (StraightLine sl) |
double | RealPhi (double SimuPhi) |
StatusCode | registerTrack (RecMdcTrackCol *&recMdcTrackCol, RecMdcHitCol *&recMdcHitCol) |
void | Erase (int _layerid) |
double | Min_dis (int R_id, double x, double z, StraightLine *l1) |
double | Min_dis_up (int R_id, double x, double z, StraightLine *l1) |
double | Min_dis_down (int R_id, double x, double z, StraightLine *l1) |
bool | Layer_cross (int R_id, StraightLine *l1) |
void | Swap (int i, int j) |
Static Public Member Functions | |
static void | fcn (Int_t &npar, Double_t *gin, Double_t &f, Double_t *par, Int_t iflag) |
static void | fcn2 (Int_t &npar, Double_t *gin, Double_t &f, Double_t *par, Int_t iflag) |
static void | fcn3 (Int_t &npar, Double_t *gin, Double_t &f, Double_t *par, Int_t iflag) |
static double | dx (double layerid, double R, double dr, double phi0, double z0, double tanl, double x) |
static double | dV (int layer, double R, double dr, double phi0, double z0, double tglam, double x, double V) |
static double | CalSigma2 (double layerid, double flag, double x, double V, double z, StraightLine *cosmic_ray) |
static double | CalLineSAtY (StraightLine &l, double y) |
static void | IncidentAngle (StraightLine *cosmic_ray, HepPoint3D cluster, double theta, double ang[]) |
static vector< double > | Trans (double par0, double par1, double par2, double par3) |
static vector< int > | GetNMaxQ (vector< double > Q_11, vector< int > L_11, int Nmax) |
static double | func (double layer, double R, double dr, double phi0, double z0, double tglam, double V, double x) |
static void | to_0_2pi (double &arg) |
static double | Min_diff (double arg1, double arg2) |
Public Attributes | |
bool | debug |
bool | MC |
int | MAX_COMB |
int | TEST_N |
int | Nmax |
int | Switch_CCmTPC |
int | NXComb |
int | NVComb |
double | MinQ_Clus2D |
Definition at line 49 of file CgemLineFit.h.
CgemLineFit::CgemLineFit | ( | const std::string & | name, |
ISvcLocator * | pSvcLocator ) |
Definition at line 127 of file CgemLineFit.cxx.
CgemLineFit::~CgemLineFit | ( | ) |
Definition at line 144 of file CgemLineFit.cxx.
|
static |
Definition at line 4496 of file CgemLineFit.cxx.
|
static |
Definition at line 4401 of file CgemLineFit.cxx.
bool CgemLineFit::Data_Closest | ( | ) |
Definition at line 1180 of file CgemLineFit.cxx.
Referenced by execute().
bool CgemLineFit::Data_Max | ( | ) |
Definition at line 857 of file CgemLineFit.cxx.
Referenced by execute().
void CgemLineFit::Discard | ( | int | layer | ) |
|
static |
Definition at line 2720 of file CgemLineFit.cxx.
|
static |
Definition at line 2695 of file CgemLineFit.cxx.
void CgemLineFit::Erase | ( | int | _layerid | ) |
void CgemLineFit::erase | ( | int | i | ) |
Definition at line 2955 of file CgemLineFit.cxx.
Referenced by Discard(), Erase_outer(), and FilterClusters().
bool CgemLineFit::Erase_outer | ( | ) |
Definition at line 2934 of file CgemLineFit.cxx.
StatusCode CgemLineFit::execute | ( | ) |
Definition at line 561 of file CgemLineFit.cxx.
|
static |
Definition at line 2623 of file CgemLineFit.cxx.
Referenced by Fit().
|
static |
Definition at line 2644 of file CgemLineFit.cxx.
Referenced by Fit().
|
static |
Definition at line 2668 of file CgemLineFit.cxx.
Referenced by Fit().
void CgemLineFit::Filter | ( | int | layerid, |
StraightLine * | l1 ) |
Definition at line 3008 of file CgemLineFit.cxx.
Referenced by Data_Closest(), and ToyMC().
void CgemLineFit::FilterClusters | ( | ) |
Definition at line 4065 of file CgemLineFit.cxx.
StatusCode CgemLineFit::finalize | ( | ) |
Definition at line 785 of file CgemLineFit.cxx.
void CgemLineFit::fireStripID | ( | ) |
Definition at line 3651 of file CgemLineFit.cxx.
Referenced by execute().
void CgemLineFit::fireStripQ | ( | ) |
Definition at line 3557 of file CgemLineFit.cxx.
Referenced by execute().
void CgemLineFit::fireStripT | ( | ) |
Definition at line 3586 of file CgemLineFit.cxx.
Referenced by execute().
TMinuit * CgemLineFit::Fit | ( | StraightLine * | l_outer, |
int | sheetflag, | ||
int | typ ) |
Definition at line 2738 of file CgemLineFit.cxx.
Referenced by execute(), GetIntersection(), Loop_All(), and Loop_MaxQ().
void CgemLineFit::Fit_Clusters | ( | double | par[] | ) |
Definition at line 3680 of file CgemLineFit.cxx.
Referenced by execute().
|
static |
vector< double > CgemLineFit::Get4Par | ( | HepLorentzVector | p4, |
Hep3Vector | bp ) |
Definition at line 3319 of file CgemLineFit.cxx.
Referenced by MC_truth().
vector< double > CgemLineFit::Get_Clusters | ( | vector< double > | Vec_truth | ) |
Definition at line 3893 of file CgemLineFit.cxx.
Referenced by Fit_Clusters(), and Get_MCInf().
bool CgemLineFit::Get_MCInf | ( | ) |
Definition at line 3103 of file CgemLineFit.cxx.
Referenced by Loop_MaxQ(), and ToyMC().
void CgemLineFit::Get_OtherIniPar | ( | int | clst_0, |
int | clst_1, | ||
int | clst_2 ) |
Definition at line 3367 of file CgemLineFit.cxx.
Referenced by execute().
void CgemLineFit::GetIntersection | ( | StraightLine * | line | ) |
Definition at line 3705 of file CgemLineFit.cxx.
Referenced by execute().
|
static |
Definition at line 4036 of file CgemLineFit.cxx.
Referenced by Loop_MaxQ().
int CgemLineFit::GetVirLay | ( | int | geolay, |
double | phi ) |
Definition at line 4030 of file CgemLineFit.cxx.
Referenced by Data_Closest(), Data_Max(), Loop_All(), Loop_MaxQ(), Min_dis(), Min_dis_down(), Min_dis_up(), and ToyMC().
bool CgemLineFit::HitPos | ( | HepLorentzVector | p4, |
Hep3Vector | bp ) |
Definition at line 3342 of file CgemLineFit.cxx.
Referenced by MC_truth().
void CgemLineFit::InAngle | ( | StraightLine | sl | ) |
|
static |
Definition at line 4149 of file CgemLineFit.cxx.
Referenced by CalSigma2(), and GetIntersection().
StraightLine * CgemLineFit::IniPar | ( | double | phi1, |
double | z1, | ||
int | i, | ||
double | phi2, | ||
double | z2, | ||
int | j ) |
Definition at line 2991 of file CgemLineFit.cxx.
Referenced by Data_Closest(), Data_Max(), Get_OtherIniPar(), Loop_All(), Loop_MaxQ(), and ToyMC().
StatusCode CgemLineFit::initialize | ( | ) |
Definition at line 147 of file CgemLineFit.cxx.
bool CgemLineFit::Layer_cross | ( | int | R_id, |
StraightLine * | l1 ) |
Definition at line 4007 of file CgemLineFit.cxx.
Referenced by Data_Closest(), and Filter().
bool CgemLineFit::Loop_All | ( | ) |
Definition at line 1295 of file CgemLineFit.cxx.
Referenced by execute().
bool CgemLineFit::Loop_MaxQ | ( | ) |
Definition at line 1735 of file CgemLineFit.cxx.
Referenced by execute().
vector< double > CgemLineFit::MC_truth | ( | ) |
Definition at line 3136 of file CgemLineFit.cxx.
Referenced by Get_MCInf().
|
static |
Definition at line 3955 of file CgemLineFit.cxx.
Referenced by dV(), dx(), Min_dis(), Min_dis_down(), and Min_dis_up().
double CgemLineFit::Min_dis | ( | int | R_id, |
double | x, | ||
double | z, | ||
StraightLine * | l1 ) |
Definition at line 3964 of file CgemLineFit.cxx.
Referenced by Filter().
double CgemLineFit::Min_dis_down | ( | int | R_id, |
double | x, | ||
double | z, | ||
StraightLine * | l1 ) |
Definition at line 3993 of file CgemLineFit.cxx.
Referenced by Filter().
double CgemLineFit::Min_dis_up | ( | int | R_id, |
double | x, | ||
double | z, | ||
StraightLine * | l1 ) |
Definition at line 3981 of file CgemLineFit.cxx.
Referenced by Filter().
void CgemLineFit::OrderClusters | ( | ) |
Definition at line 2834 of file CgemLineFit.cxx.
Referenced by Data_Closest(), Data_Max(), Loop_All(), Loop_MaxQ(), and ToyMC().
void CgemLineFit::OrderClusterSizeQ | ( | ) |
Definition at line 2880 of file CgemLineFit.cxx.
Referenced by Loop_MaxQ().
double CgemLineFit::RealPhi | ( | double | SimuPhi | ) |
Definition at line 4394 of file CgemLineFit.cxx.
Referenced by ToyMC().
void CgemLineFit::Rec_ClusterQ | ( | ) |
Definition at line 3528 of file CgemLineFit.cxx.
Referenced by execute().
void CgemLineFit::Rec_Clusters | ( | ) |
Definition at line 3422 of file CgemLineFit.cxx.
Referenced by execute().
void CgemLineFit::Rec_Clusters_mTPC | ( | ) |
Definition at line 3462 of file CgemLineFit.cxx.
Referenced by execute().
void CgemLineFit::Rec_ClusterSize | ( | ) |
Definition at line 3499 of file CgemLineFit.cxx.
Referenced by execute().
StatusCode CgemLineFit::registerTrack | ( | RecMdcTrackCol *& | recMdcTrackCol, |
RecMdcHitCol *& | recMdcHitCol ) |
Definition at line 2574 of file CgemLineFit.cxx.
Referenced by execute().
void CgemLineFit::Store_Trk | ( | TMinuit * | fit, |
int | trkid ) |
Definition at line 4088 of file CgemLineFit.cxx.
Referenced by execute(), and GetIntersection().
void CgemLineFit::Swap | ( | int | i, |
int | j ) |
Definition at line 2863 of file CgemLineFit.cxx.
Referenced by OrderClusters(), and OrderClusterSizeQ().
|
static |
Definition at line 3950 of file CgemLineFit.cxx.
Referenced by Fit(), Get_Clusters(), GetIntersection(), and Min_diff().
bool CgemLineFit::ToyMC | ( | ) |
Definition at line 795 of file CgemLineFit.cxx.
Referenced by execute().
|
static |
Definition at line 4019 of file CgemLineFit.cxx.
Referenced by execute(), Get_MCInf(), and Get_OtherIniPar().
bool CgemLineFit::debug |
Definition at line 63 of file CgemLineFit.h.
Referenced by CgemLineFit(), Data_Max(), execute(), GetIntersection(), Loop_MaxQ(), and ToyMC().
int CgemLineFit::MAX_COMB |
Definition at line 65 of file CgemLineFit.h.
Referenced by CgemLineFit(), and Loop_All().
bool CgemLineFit::MC |
Definition at line 64 of file CgemLineFit.h.
Referenced by CgemLineFit(), and ToyMC().
double CgemLineFit::MinQ_Clus2D |
Definition at line 120 of file CgemLineFit.h.
Referenced by CgemLineFit(), Data_Max(), Loop_All(), and Loop_MaxQ().
int CgemLineFit::Nmax |
Definition at line 67 of file CgemLineFit.h.
Referenced by CgemLineFit(), GetNMaxQ(), and Loop_MaxQ().
int CgemLineFit::NVComb |
Definition at line 119 of file CgemLineFit.h.
Referenced by Data_Max(), execute(), Loop_All(), and Loop_MaxQ().
int CgemLineFit::NXComb |
Definition at line 118 of file CgemLineFit.h.
Referenced by Data_Max(), execute(), Loop_All(), and Loop_MaxQ().
int CgemLineFit::Switch_CCmTPC |
Definition at line 68 of file CgemLineFit.h.
Referenced by CgemLineFit(), Data_Closest(), Data_Max(), execute(), Loop_All(), and Loop_MaxQ().
int CgemLineFit::TEST_N |
Definition at line 66 of file CgemLineFit.h.
Referenced by CgemLineFit(), execute(), Loop_All(), and Loop_MaxQ().