|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include "TCanvas.h"#include "TChain.h"#include "TDirectory.h"#include "TFile.h"#include "TH1.h"#include "TH1F.h"#include "TH1S.h"#include "TH2F.h"#include "TH2S.h"#include "TList.h"#include "TPad.h"#include <TMath.h>#include <fstream>#include <iostream>#include <stdio.h>Go to the source code of this file.
Classes | |
| struct | ToF400Detector |
| struct | T0Detector |
Functions | |
| void | ToF400DigitAnalysis_period5 (TString file="", Int_t nEvForRead=0, Int_t Periud=5) |
| void | CleanTof (ToF400Detector *Det) |
| void | CleanBC2 (T0Detector *Det) |
| Double_t | CalculateDt (ToF400Detector *Det, T0Detector *T0, Int_t Str=-1) |
Variables | |
| const UInt_t | kNST = 48 |
| const Double_t | kTimeBin = 24. / 1024. |
| Double_t | CatTimeBC2Low |
| Double_t | CatTimeBC2High |
| Int_t | CorrPlane7_It1 |
| Int_t | CorrT0_It1 |
| Double_t | CorrPlane7Coeff_It1 [5][4] |
| Double_t | CorrT0Coeff_It1 [4][4] |
| Int_t | HitPlane2T0 = 0 |
| Int_t | HitPlane7T0 = 0 |
| Int_t | EffPlane2 = 0 |
| Int_t | EffPlane7 = 0 |
| Bool_t | FlagDigit [10][kNST] |
| Double_t CalculateDt | ( | ToF400Detector * | Det, |
| T0Detector * | T0, | ||
| Int_t | Str = -1 ) |
Definition at line 637 of file ToF400DigitAnalysis_period5.c.
References kNST, TMath::LocMax(), T0Detector::sTime, and ToF400Detector::sTime.
Referenced by ToF400DigitAnalysis_period5().
| void CleanBC2 | ( | T0Detector * | Det | ) |
Definition at line 630 of file ToF400DigitAnalysis_period5.c.
References T0Detector::sAmp, T0Detector::sNHits, and T0Detector::sTime.
Referenced by ToF400DigitAnalysis_period5().
| void CleanTof | ( | ToF400Detector * | Det | ) |
Definition at line 616 of file ToF400DigitAnalysis_period5.c.
References kNST, ToF400Detector::sAmp, ToF400Detector::sAmpL, ToF400Detector::sAmpR, ToF400Detector::sNHits, ToF400Detector::sStrHit, ToF400Detector::sTime, ToF400Detector::sTimeL, and ToF400Detector::sTimeR.
Referenced by ToF400DigitAnalysis_period5().
Definition at line 60 of file ToF400DigitAnalysis_period5.c.
References TMath::Abs(), TChain::Add(), TList::Add(), TObjArray::At(), bmnloadlibs(), CalculateDt(), TDirectory::cd(), TDirectoryFile::cd(), CleanBC2(), CleanTof(), TFile::Close(), TString::Data(), TPad::Draw(), EffPlane2, EffPlane7, TH1::Fill(), TH2::Fill(), TString::First(), TH1::Fit(), BmnTrigDigit::GetAmp(), BmnTof1Digit::GetAmplitude(), TChain::GetEntries(), TH1::GetEntries(), TObjArray::GetEntriesFast(), TChain::GetEntry(), BmnEventHeader::GetEventId(), TF1::GetParameter(), BmnTof1Digit::GetPlane(), BmnTof1Digit::GetSide(), BmnTof1Digit::GetStrip(), BmnTof1Digit::GetTime(), BmnTrigDigit::GetTime(), TH1::GetXaxis(), TH1::GetYaxis(), HitPlane2T0, HitPlane7T0, i, kNST, TMath::LocMax(), TDirectory::mkdir(), TDirectoryFile::mkdir(), TString::Replace(), TH1F::Reset(), TH2F::Reset(), T0Detector::sAmp, ToF400Detector::sAmp, ToF400Detector::sAmpL, ToF400Detector::sAmpR, TH2::SetBinContent(), TChain::SetBranchAddress(), TPad::SetGridy(), TAttAxis::SetLabelSize(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerStyle(), TF1::SetParameter(), TAxis::SetRangeUser(), TNamed::SetTitle(), T0Detector::sNHits, ToF400Detector::sNHits, ToF400Detector::sStrHit, T0Detector::sTime, ToF400Detector::sTime, ToF400Detector::sTimeL, ToF400Detector::sTimeR, and TCollection::Write().
| Double_t CatTimeBC2High |
Definition at line 27 of file ToF400DigitAnalysis_period5.c.
| Double_t CatTimeBC2Low |
Definition at line 27 of file ToF400DigitAnalysis_period5.c.
| Int_t CorrPlane7_It1 |
Definition at line 28 of file ToF400DigitAnalysis_period5.c.
| Double_t CorrPlane7Coeff_It1[5][4] |
Definition at line 29 of file ToF400DigitAnalysis_period5.c.
| Int_t CorrT0_It1 |
Definition at line 28 of file ToF400DigitAnalysis_period5.c.
| Double_t CorrT0Coeff_It1[4][4] |
Definition at line 34 of file ToF400DigitAnalysis_period5.c.
| Int_t EffPlane2 = 0 |
Definition at line 38 of file ToF400DigitAnalysis_period5.c.
| Int_t EffPlane7 = 0 |
Definition at line 38 of file ToF400DigitAnalysis_period5.c.
Definition at line 39 of file ToF400DigitAnalysis_period5.c.
| Int_t HitPlane2T0 = 0 |
Definition at line 38 of file ToF400DigitAnalysis_period5.c.
| Int_t HitPlane7T0 = 0 |
Definition at line 38 of file ToF400DigitAnalysis_period5.c.
| const UInt_t kNST = 48 |
Definition at line 25 of file ToF400DigitAnalysis_period5.c.
| const Double_t kTimeBin = 24. / 1024. |
Definition at line 26 of file ToF400DigitAnalysis_period5.c.