CGEM BOSS 6.6.5.g
BESIII Offline Software System
|
#include <CgemLineFit.h>
Public Member Functions | |
CgemLineFit (const std::string &name, ISvcLocator *pSvcLocator) | |
StatusCode | initialize () |
StatusCode | execute () |
StatusCode | finalize () |
bool | Data_Max () |
bool | Data_Closest () |
bool | Loop_All () |
bool | Loop_MaxQ () |
bool | ToyMC () |
void | OrderClusters () |
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 | IncidentAngle (StraightLine *cosmic_ray, HepPoint3D cluster, double theta, double ang[]) |
void | GetIntersection () |
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 | 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 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 47 of file CgemLineFit.h.
CgemLineFit::CgemLineFit | ( | const std::string & | name, |
ISvcLocator * | pSvcLocator | ||
) |
Definition at line 111 of file CgemLineFit.cxx.
bool CgemLineFit::Data_Closest | ( | ) |
Definition at line 814 of file CgemLineFit.cxx.
Referenced by execute().
bool CgemLineFit::Data_Max | ( | ) |
Definition at line 656 of file CgemLineFit.cxx.
Referenced by execute().
void CgemLineFit::Discard | ( | int | layer | ) |
|
static |
Definition at line 1951 of file CgemLineFit.cxx.
|
static |
Definition at line 1924 of file CgemLineFit.cxx.
void CgemLineFit::Erase | ( | int | _layerid | ) |
void CgemLineFit::erase | ( | int | i | ) |
Definition at line 2130 of file CgemLineFit.cxx.
Referenced by Discard(), Erase_outer(), Filter(), and FilterClusters().
bool CgemLineFit::Erase_outer | ( | ) |
Definition at line 2105 of file CgemLineFit.cxx.
StatusCode CgemLineFit::execute | ( | ) |
Definition at line 399 of file CgemLineFit.cxx.
|
static |
Definition at line 1859 of file CgemLineFit.cxx.
Referenced by Fit().
|
static |
Definition at line 1877 of file CgemLineFit.cxx.
Referenced by Fit().
|
static |
Definition at line 1898 of file CgemLineFit.cxx.
Referenced by Fit().
void CgemLineFit::Filter | ( | int | layerid, |
StraightLine * | l1 | ||
) |
Definition at line 2189 of file CgemLineFit.cxx.
Referenced by Data_Closest(), and ToyMC().
void CgemLineFit::FilterClusters | ( | ) |
Definition at line 2964 of file CgemLineFit.cxx.
StatusCode CgemLineFit::finalize | ( | ) |
Definition at line 577 of file CgemLineFit.cxx.
TMinuit * CgemLineFit::Fit | ( | StraightLine * | l_outer, |
int | sheetflag, | ||
int | typ | ||
) |
Definition at line 1971 of file CgemLineFit.cxx.
Referenced by execute(), GetIntersection(), Loop_All(), and Loop_MaxQ().
void CgemLineFit::Fit_Clusters | ( | double | par[] | ) |
Definition at line 2610 of file CgemLineFit.cxx.
Referenced by execute().
|
static |
vector< double > CgemLineFit::Get4Par | ( | HepLorentzVector | p4, |
Hep3Vector | bp | ||
) |
Definition at line 2400 of file CgemLineFit.cxx.
Referenced by MC_truth().
vector< double > CgemLineFit::Get_Clusters | ( | vector< double > | Vec_truth | ) |
Definition at line 2759 of file CgemLineFit.cxx.
Referenced by Fit_Clusters(), and Get_MCInf().
bool CgemLineFit::Get_MCInf | ( | ) |
Definition at line 2326 of file CgemLineFit.cxx.
Referenced by ToyMC().
void CgemLineFit::Get_OtherIniPar | ( | int | clst_0, |
int | clst_1, | ||
int | clst_2 | ||
) |
Definition at line 2453 of file CgemLineFit.cxx.
Referenced by execute().
void CgemLineFit::GetIntersection | ( | ) |
Definition at line 2637 of file CgemLineFit.cxx.
Referenced by execute().
|
static |
Definition at line 2924 of file CgemLineFit.cxx.
Referenced by Loop_MaxQ().
int CgemLineFit::GetVirLay | ( | int | geolay, |
double | phi | ||
) |
Definition at line 2917 of file CgemLineFit.cxx.
Referenced by Loop_All(), Loop_MaxQ(), Min_dis(), Min_dis_down(), Min_dis_up(), and ToyMC().
bool CgemLineFit::HitPos | ( | HepLorentzVector | p4, |
Hep3Vector | bp | ||
) |
Definition at line 2425 of file CgemLineFit.cxx.
Referenced by MC_truth().
void CgemLineFit::InAngle | ( | StraightLine | sl | ) |
void CgemLineFit::IncidentAngle | ( | StraightLine * | cosmic_ray, |
HepPoint3D | cluster, | ||
double | theta, | ||
double | ang[] | ||
) |
Definition at line 3039 of file CgemLineFit.cxx.
Referenced by GetIntersection().
StraightLine * CgemLineFit::IniPar | ( | double | phi1, |
double | z1, | ||
int | i, | ||
double | phi2, | ||
double | z2, | ||
int | j | ||
) |
Definition at line 2171 of file CgemLineFit.cxx.
Referenced by Data_Closest(), Data_Max(), Get_OtherIniPar(), GetIntersection(), Loop_All(), Loop_MaxQ(), and ToyMC().
StatusCode CgemLineFit::initialize | ( | ) |
Definition at line 130 of file CgemLineFit.cxx.
bool CgemLineFit::Layer_cross | ( | int | R_id, |
StraightLine * | l1 | ||
) |
Definition at line 2888 of file CgemLineFit.cxx.
Referenced by Data_Closest(), and Filter().
bool CgemLineFit::Loop_All | ( | ) |
Definition at line 925 of file CgemLineFit.cxx.
Referenced by execute().
bool CgemLineFit::Loop_MaxQ | ( | ) |
Definition at line 1351 of file CgemLineFit.cxx.
Referenced by execute().
vector< double > CgemLineFit::MC_truth | ( | ) |
Definition at line 2360 of file CgemLineFit.cxx.
Referenced by Get_MCInf().
|
static |
Definition at line 2821 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 2830 of file CgemLineFit.cxx.
Referenced by Filter().
double CgemLineFit::Min_dis_down | ( | int | R_id, |
double | x, | ||
double | z, | ||
StraightLine * | l1 | ||
) |
Definition at line 2870 of file CgemLineFit.cxx.
Referenced by Filter().
double CgemLineFit::Min_dis_up | ( | int | R_id, |
double | x, | ||
double | z, | ||
StraightLine * | l1 | ||
) |
Definition at line 2853 of file CgemLineFit.cxx.
Referenced by Filter().
void CgemLineFit::OrderClusters | ( | ) |
Definition at line 2061 of file CgemLineFit.cxx.
Referenced by Data_Closest(), Data_Max(), Loop_All(), Loop_MaxQ(), and ToyMC().
double CgemLineFit::RealPhi | ( | double | SimuPhi | ) |
Definition at line 3138 of file CgemLineFit.cxx.
Referenced by ToyMC().
void CgemLineFit::Rec_Clusters | ( | ) |
Definition at line 2507 of file CgemLineFit.cxx.
Referenced by execute().
void CgemLineFit::Rec_Clusters_mTPC | ( | ) |
Definition at line 2559 of file CgemLineFit.cxx.
Referenced by execute().
StatusCode CgemLineFit::registerTrack | ( | RecMdcTrackCol *& | recMdcTrackCol, |
RecMdcHitCol *& | recMdcHitCol | ||
) |
Definition at line 1806 of file CgemLineFit.cxx.
Referenced by execute().
void CgemLineFit::Store_Trk | ( | TMinuit * | fit, |
int | trkid | ||
) |
Definition at line 2987 of file CgemLineFit.cxx.
Referenced by execute(), and GetIntersection().
void CgemLineFit::Swap | ( | int | i, |
int | j | ||
) |
Definition at line 2084 of file CgemLineFit.cxx.
Referenced by OrderClusters().
|
static |
Definition at line 2814 of file CgemLineFit.cxx.
Referenced by Fit(), Get_Clusters(), GetIntersection(), and Min_diff().
bool CgemLineFit::ToyMC | ( | ) |
Definition at line 587 of file CgemLineFit.cxx.
Referenced by execute().
|
static |
Definition at line 2904 of file CgemLineFit.cxx.
Referenced by execute(), Get_MCInf(), and Get_OtherIniPar().
bool CgemLineFit::debug |
Definition at line 60 of file CgemLineFit.h.
Referenced by CgemLineFit(), execute(), GetIntersection(), Loop_MaxQ(), and ToyMC().
int CgemLineFit::MAX_COMB |
Definition at line 62 of file CgemLineFit.h.
Referenced by CgemLineFit(), and Loop_All().
bool CgemLineFit::MC |
Definition at line 61 of file CgemLineFit.h.
Referenced by CgemLineFit(), and ToyMC().
double CgemLineFit::MinQ_Clus2D |
Definition at line 110 of file CgemLineFit.h.
Referenced by CgemLineFit(), Data_Max(), Loop_All(), and Loop_MaxQ().
int CgemLineFit::Nmax |
Definition at line 64 of file CgemLineFit.h.
Referenced by CgemLineFit(), GetNMaxQ(), and Loop_MaxQ().
int CgemLineFit::NVComb |
Definition at line 109 of file CgemLineFit.h.
Referenced by Data_Max(), execute(), Loop_All(), and Loop_MaxQ().
int CgemLineFit::NXComb |
Definition at line 108 of file CgemLineFit.h.
Referenced by Data_Max(), execute(), Loop_All(), and Loop_MaxQ().
int CgemLineFit::Switch_CCmTPC |
Definition at line 65 of file CgemLineFit.h.
Referenced by CgemLineFit(), Data_Closest(), Data_Max(), execute(), Loop_All(), and Loop_MaxQ().
int CgemLineFit::TEST_N |
Definition at line 63 of file CgemLineFit.h.
Referenced by CgemLineFit(), execute(), Loop_All(), and Loop_MaxQ().