|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include "TCanvas.h"#include "TChain.h"#include "TClonesArray.h"#include "TFile.h"#include "TGeoManager.h"#include "TH1F.h"#include "TH2F.h"#include "TMath.h"#include "TVector3.h"#include <vector>#include "TString.h"#include "TArrayS.h"#include "TBenchmark.h"#include "TLine.h"#include "TStyle.h"#include <Riostream.h>#include <algorithm>#include <ctime>#include <fstream>#include <iostream>#include <stdlib.h>#include <TPostScript.h>#include <TProfile.h>Go to the source code of this file.
Functions | |
| void | fit_seg (float *rh_seg, float *rh_sigm_seg, float *par_ab, int skip_first, int skip_second) |
| void | recoRunDCH_VP (Int_t runId=810) |
Variables | |
| const Float_t | z_loc [8] = {9.3, 8.1, 3.5, 2.3, -2.3, -3.5, -8.1, -9.3} |
| const Float_t | z_glob [16] |
| const Float_t | Z_dch1 = 529.65 |
| const Float_t | Z_dch2 = 727.65 |
| const Float_t | Z_dch_mid |
| double | sqrt_2 = sqrt(2.) |
| double | isqrt_2 = 1 / sqrt_2 |
| float | intBL = 2 |
| const Float_t | x1_sh = 15.0 |
| const Float_t | x2_sh = 12.2 |
| const Float_t | y1_sh = 0.2 |
| const Float_t | y2_sh = -0.3 |
| const Float_t | u1_sh = isqrt_2 * (y1_sh - x1_sh) |
| const Float_t | u2_sh = isqrt_2 * (y2_sh - x2_sh) |
| const Float_t | v1_sh = isqrt_2 * (x1_sh + y1_sh) |
| const Float_t | v2_sh = isqrt_2 * (x2_sh + y2_sh) |
| const Float_t | x1_slope_sh = -0.08 |
| const Float_t | y1_slope_sh = 0.051 |
| const Float_t | x2_slope_sh = -0.08 |
| const Float_t | y2_slope_sh = 0.055 |
| const Float_t | u1_slope_sh = isqrt_2 * (y1_slope_sh - x1_slope_sh) |
| const Float_t | u2_slope_sh = isqrt_2 * (y2_slope_sh - x2_slope_sh) |
| const Float_t | v1_slope_sh = isqrt_2 * (y1_slope_sh + x1_slope_sh) |
| const Float_t | v2_slope_sh = isqrt_2 * (y2_slope_sh + x2_slope_sh) |
| void fit_seg | ( | float * | rh_seg, |
| float * | rh_sigm_seg, | ||
| float * | par_ab, | ||
| int | skip_first, | ||
| int | skip_second ) |
Definition at line 126 of file recoRunDCH_VP.C.
References f, fabs(), i, sqrt_2, and z_loc.
Referenced by recoRunDCH_VP().
| void recoRunDCH_VP | ( | Int_t | runId = 810 | ) |
written
foundU
foundV
foundX
foundY
----------—DCH2 hit reco---------------—///
foundU
foundV
foundX
Definition at line 312 of file recoRunDCH_VP.C.
References TChain::Add(), TObjArray::At(), bmnloadlibs(), TTree::Branch(), TDirectoryFile::cd(), TClonesArray::Clear(), TFile::Close(), fabs(), TTree::Fill(), fit_seg(), TString::Format(), TChain::GetEntries(), TObjArray::GetEntriesFast(), TChain::GetEntry(), BmnDchDigit::GetPlane(), BmnDchDigit::GetTime(), BmnDchDigit::GetWireNumber(), i, isqrt_2, m, TChain::SetBranchAddress(), BmnTrack::SetChi2(), BmnTrack::SetNHits(), BmnTrack::SetParamFirst(), TTree::Write(), x1_sh, x1_slope_sh, x2_sh, x2_slope_sh, y1_sh, y1_slope_sh, y2_sh, y2_slope_sh, z0, Z_dch1, Z_dch2, Z_dch_mid, and z_loc.
| float intBL = 2 |
Definition at line 83 of file recoRunDCH_VP.C.
| double isqrt_2 = 1 / sqrt_2 |
Definition at line 81 of file recoRunDCH_VP.C.
Referenced by BmnDchTrackFinder::BuildUVSegments(), BmnDchTrackFinder::BuildXYSegments(), BmnDchTrackFinder::CalculateResidual(), BmnDchTrackFinder::CalculateResidualMatch(), BmnDchTrackFinder::CreateDchTrack(), and recoRunDCH_VP().
| double sqrt_2 = sqrt(2.) |
Definition at line 80 of file recoRunDCH_VP.C.
Referenced by BmnDchTrackFinder::BuildUVSegments(), BmnDchTrackFinder::BuildXYSegments(), BmnDchTrackFinder::CalculateResidual(), BmnDchTrackFinder::CalculateResidualMatch(), BmnDchTrackFinder::CreateDchTrack(), fit_seg(), and fit_seg().
| const Float_t u1_slope_sh = isqrt_2 * (y1_slope_sh - x1_slope_sh) |
Definition at line 121 of file recoRunDCH_VP.C.
| const Float_t u2_slope_sh = isqrt_2 * (y2_slope_sh - x2_slope_sh) |
Definition at line 122 of file recoRunDCH_VP.C.
| const Float_t v1_slope_sh = isqrt_2 * (y1_slope_sh + x1_slope_sh) |
Definition at line 123 of file recoRunDCH_VP.C.
| const Float_t v2_slope_sh = isqrt_2 * (y2_slope_sh + x2_slope_sh) |
Definition at line 124 of file recoRunDCH_VP.C.
| const Float_t x1_sh = 15.0 |
Definition at line 106 of file recoRunDCH_VP.C.
Referenced by read_mwpc1_688(), and recoRunDCH_VP().
| const Float_t x1_slope_sh = -0.08 |
Definition at line 116 of file recoRunDCH_VP.C.
Referenced by read_mwpc1_688(), and recoRunDCH_VP().
| const Float_t x2_sh = 12.2 |
Definition at line 107 of file recoRunDCH_VP.C.
Referenced by read_mwpc1_688(), and recoRunDCH_VP().
| const Float_t x2_slope_sh = -0.08 |
Definition at line 118 of file recoRunDCH_VP.C.
Referenced by read_mwpc1_688(), and recoRunDCH_VP().
| const Float_t y1_sh = 0.2 |
Definition at line 108 of file recoRunDCH_VP.C.
Referenced by read_mwpc1_688(), and recoRunDCH_VP().
| const Float_t y1_slope_sh = 0.051 |
Definition at line 117 of file recoRunDCH_VP.C.
Referenced by read_mwpc1_688(), and recoRunDCH_VP().
| const Float_t y2_sh = -0.3 |
Definition at line 109 of file recoRunDCH_VP.C.
Referenced by read_mwpc1_688(), and recoRunDCH_VP().
| const Float_t y2_slope_sh = 0.055 |
Definition at line 119 of file recoRunDCH_VP.C.
Referenced by read_mwpc1_688(), and recoRunDCH_VP().
| const Float_t Z_dch1 = 529.65 |
Definition at line 75 of file recoRunDCH_VP.C.
Referenced by recoRunDCH_VP().
| const Float_t Z_dch2 = 727.65 |
Definition at line 76 of file recoRunDCH_VP.C.
Referenced by recoRunDCH_VP().
| const Float_t Z_dch_mid |
Definition at line 77 of file recoRunDCH_VP.C.
Referenced by recoRunDCH_VP().
| const Float_t z_glob[16] |
Definition at line 73 of file recoRunDCH_VP.C.
| const Float_t z_loc[8] = {9.3, 8.1, 3.5, 2.3, -2.3, -3.5, -8.1, -9.3} |
Definition at line 72 of file recoRunDCH_VP.C.
Referenced by FillResid(), fit_seg(), fit_seg(), BmnMwpcHitFinder::ProcessSegments(), ProcessSegments(), BmnMwpcHitFinder::ProcessSegments2coord(), and recoRunDCH_VP().